senf::UInt16LSBParser Struct Reference
[Integer parsers]

Parse 16bit unsigned byte aligned integer LSB. More...

#include <senf/Packets/IntParser.hh>

Inheritance diagram for senf::UInt16LSBParser:
Inheritance graph
[legend]

List of all members.


Detailed Description

Parse 16bit unsigned byte aligned integer LSB.
See also:
Integer parsers

Definition at line 210 of file IntParser.hh.


Public Types

typedef boost::uint16_t  value_type

Public Member Functions

  UInt16LSBParser (data_iterator i, state_type s)
value_type  value () const
void  value (value_type v)
UInt16LSBParser const &  operator= (value_type other)

Static Public Attributes

static size_type const  fixed_bytes = 2
static value_type const  min_value = 0u
static value_type const  max_value = 65535u

Related Functions

(Note that these are not member functions.)

std::ostream &  operator<< (std::ostream &os, UInt16LSBParser const &i)
  Write parsed value to stream.

Member Typedef Documentation

typedef boost::uint16_t senf::UInt16LSBParser::
value_type

Constructor & Destructor Documentation

senf::UInt16LSBParser::
UInt16LSBParser ( data_iterator  i,
state_type  s )

Definition at line 214 of file IntParser.hh.


Member Function Documentation

UInt16LSBParser const& senf::UInt16LSBParser::
operator= ( value_type  other )

Definition at line 225 of file IntParser.hh.

void senf::UInt16LSBParser::
value ( value_type  v )

Definition at line 224 of file IntParser.hh.

value_type senf::UInt16LSBParser::
value ()

Definition at line 223 of file IntParser.hh.


Friends And Related Function Documentation

std::ostream &
operator<< ( std::ostream &  os,
UInt16LSBParser const &  i )

Write parsed value to stream.

Definition at line 230 of file IntParser.hh.


Member Data Documentation

Definition at line 219 of file IntParser.hh.

Definition at line 221 of file IntParser.hh.

Definition at line 220 of file IntParser.hh.


The documentation for this struct was generated from the following file: