senf::Int16LSBParser Struct Reference
[Integer parsers]

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

#include <senf/Packets/IntParser.hh>

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

List of all members.


Detailed Description

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

Definition at line 155 of file IntParser.hh.


Public Types

typedef boost::int16_t  value_type

Public Member Functions

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

Static Public Attributes

static size_type const  fixed_bytes = 2
static value_type const  min_value = -32768
static value_type const  max_value = 32767

Related Functions

(Note that these are not member functions.)

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

Member Typedef Documentation

typedef boost::int16_t senf::Int16LSBParser::
value_type

Constructor & Destructor Documentation

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

Definition at line 159 of file IntParser.hh.


Member Function Documentation

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

Definition at line 171 of file IntParser.hh.

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

Definition at line 170 of file IntParser.hh.

value_type senf::Int16LSBParser::
value ()

Definition at line 169 of file IntParser.hh.


Friends And Related Function Documentation

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

Write parsed value to stream.

Definition at line 176 of file IntParser.hh.


Member Data Documentation

Definition at line 164 of file IntParser.hh.

Definition at line 166 of file IntParser.hh.

Definition at line 165 of file IntParser.hh.


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