senf::UInt8Parser Struct Reference
[Integer parsers]

Parse 8bit unsigned byte aligned integer. More...

#include <senf/Packets/IntParser.hh>

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

List of all members.


Detailed Description

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

Definition at line 100 of file IntParser.hh.


Public Types

typedef boost::uint8_t  value_type

Public Member Functions

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

Static Public Attributes

static size_type const  fixed_bytes = 1
static value_type const  min_value = 0u
static value_type const  max_value = 255u

Related Functions

(Note that these are not member functions.)

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

Member Typedef Documentation

typedef boost::uint8_t senf::UInt8Parser::
value_type

Constructor & Destructor Documentation

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

Definition at line 104 of file IntParser.hh.


Member Function Documentation

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

Definition at line 115 of file IntParser.hh.

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

Definition at line 114 of file IntParser.hh.

value_type senf::UInt8Parser::
value ()

Definition at line 113 of file IntParser.hh.


Friends And Related Function Documentation

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

Write parsed value to stream.

Definition at line 120 of file IntParser.hh.


Member Data Documentation

Definition at line 109 of file IntParser.hh.

Definition at line 111 of file IntParser.hh.

Definition at line 110 of file IntParser.hh.


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