Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | File Members

dvbcodec Namespace Reference

Namespace for the DVB section grammar. More...


Classes

struct  dvbcodec::Section< Actions >
 DVB Section grammar defined using Boost Spirit. More...

struct  dvbcodec::Section< Actions >::definition< Scanner >
 The section grammar definition. This comprises a collection of parser rules. More...

struct  dvbcodec::Loop
 Functor implementing section loop control action. More...

struct  dvbcodec::LoopStart
 Functor implementing section loop start action. More...

struct  dvbcodec::LoopEnd
 Functor implementing section loop end action. More...

struct  dvbcodec::If
 Functor implementing section if condition action. More...

struct  dvbcodec::Else
 Functor implementing section else condition action. More...

struct  dvbcodec::EnterBlock
 Functor implementing section enter block action. More...

struct  dvbcodec::LeaveBlock
 Functor implementing section leave block action. More...

struct  dvbcodec::Field
 Functor implementing section field action. More...

struct  dvbcodec::SectionName
 Functor implementing section name action. More...

struct  dvbcodec::SectionRef
 Functor implementing section reference action. More...

struct  dvbcodec::CppActions
 Actions structure used when parsing DVB sections. More...


Typedefs

typedef std::set< std::string > FieldNames

Functions

void decodeSection (const char *section_name, std::ostream &cpp)
 Generate the decode function for a named section.


Detailed Description

Namespace for the DVB section grammar.

Typedef Documentation

typedef std::set<std::string> dvbcodec::FieldNames
 


Function Documentation

void decodeSection const char *  section_name,
std::ostream &  cpp
 

Generate the decode function for a named section.

Parameters:
section_name 
cpp The output C++ file
This function wraps a call to boost::spirit::parse(), which accepts the section format and the section grammar. As a result of calling this function, the various semantic actions defined above will be exercised, generating the code to decode the section.


Generated on Fri Nov 26 15:31:03 2004 for DVB Codec by doxygen 1.3.7