fipa_acl  1.4
Public Member Functions | Public Attributes | List of all members
acl::grammar::Index< Iterator > Struct Template Reference

#include <grammar_common.h>

Inherits grammar< Iterator, uint_least16_t()>.

Public Member Functions

 Index ()
 

Public Attributes

qi::rule< Iterator,
uint_least16_t() > 
index_rule
 

Detailed Description

template<typename Iterator>
struct acl::grammar::Index< Iterator >

Definition at line 580 of file grammar_common.h.

Constructor & Destructor Documentation

template<typename Iterator >
acl::grammar::Index< Iterator >::Index ( )
inline

Definition at line 582 of file grammar_common.h.

582  : Index::base_type(index_rule, "Index-bitefficient_grammar")
583  {
584  // Index is a pointer to code table entry and its size (in bits) depends on the code table size.
585  // If the code table size is 256 entries, the size of the index is one byte;
586  // otherwise its size is two bytes (represented in network byte order).
587  index_rule = qi::word [ label::_val = lazy_ntohs(label::_1)]
588  | qi::byte_ [ label::_val = label::_1 ]
589  ;
590 
592  }
phoenix::function< convertToNativeShortImpl > lazy_ntohs
#define FIPA_DEBUG_RULE(X)
qi::rule< Iterator, uint_least16_t() > index_rule

Member Data Documentation

template<typename Iterator >
qi::rule<Iterator, uint_least16_t() > acl::grammar::Index< Iterator >::index_rule

Definition at line 594 of file grammar_common.h.


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