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

SaveID Struct Reference

Functor which saves found ID in a vector. More...

#include <MachineGrammar.h>

List of all members.

Public Member Functions

 SaveID (vector< string > &states)
 Construct the object and memorise the ID list reference.
void operator() (const char *const &Start, const char *const &End) const
 Called when the ID is found.


Detailed Description

Functor which saves found ID in a vector.

Definition at line 176 of file MachineGrammar.h.


Constructor & Destructor Documentation

SaveID::SaveID vector< string > &  states  )  [inline]
 

Construct the object and memorise the ID list reference.

Parameters:
states Reference to the IDs' list

Definition at line 181 of file MachineGrammar.h.


Member Function Documentation

void SaveID::operator() const char *const &  Start,
const char *const &  End
const [inline]
 

Called when the ID is found.

Parameters:
Start Start iterator
End End iterator

Definition at line 188 of file MachineGrammar.h.


The documentation for this struct was generated from the following file:
Generated on Mon Aug 22 04:58:11 2005 for Example of an FSM which reads description from a file by  doxygen 1.4.4