PacketParser.hh File Reference

PacketParser public header. More...

#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <boost/optional.hpp>
#include "PacketTypes.hh"
#include "PacketData.hh"
#include "ParseHelpers.hh"
#include "SafeIterator.hh"
#include "PacketParser.cci"
#include "PacketParser.ct"
#include "PacketParser.cti"

Go to the source code of this file.

Classes

class  senf::PacketParserBase
 Parser Base class. More...
 
struct  senf::detail::ParserInitBytes< Parser >
 
struct  senf::detail::ParserIsFixed< Parser >
 
struct  senf::init_bytes< Parser >
 Return number of bytes to allocate to new object of given type. More...
 
struct  senf::is_fixed< Parser >
 Test, whether a parser is a fixed-size parser. More...
 
struct  senf::VoidPacketParser
 Default parser parsing nothing. More...
 
struct  senf::ArrayValueParserBase< Parser, ValueType >
 

Namespaces

 senf
 
 senf::detail
 

Functions

template<class Parser >
PacketParserBase::size_type senf::bytes (Parser const &p)
 Return raw size parsed by the given parser object. More...
 
template<class Parser >
Parser senf::operator<< (Parser const &target, Parser const &source)
 Generic parser copying. More...
 
template<class Parser , class Value >
Parser senf::operator<< (Parser target, Value const &value)
 Generic parser value assignment. More...
 
template<class Parser , class Value >
Parser senf::operator<< (Parser target, boost::optional< Value > const &value)
 Generic parser value assignment. More...
 
template<class Parser , typename ValueType >
bool senf::operator== (ArrayValueParserBase< Parser, ValueType > const &parser, ValueType const &value)
 
template<class Parser , typename ValueType >
bool senf::operator!= (ArrayValueParserBase< Parser, ValueType > const &parser, ValueType const &value)
 
template<class Parser , typename ValueType >
bool senf::operator== (ValueType const &value, ArrayValueParserBase< Parser, ValueType > const &parser)
 
template<class Parser , typename ValueType >
bool senf::operator!= (ValueType const &value, ArrayValueParserBase< Parser, ValueType > const &parser)
 

Detailed Description

PacketParser public header.

Definition in file PacketParser.hh.