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

PushOperation Struct Reference

Functor to push a COP into the code vector. More...

#include <FormulaGrammar.h>

List of all members.

Public Member Functions

 PushOperation (const string &cop, vector< string > &code)
 Construct the object.
void operator() (char const *Unused, char const *End) const
 Pushes the operation to the code vector.

Public Attributes

string COP
 Code of OPeration.
vector< string > & Code
 Reference to the code version.


Detailed Description

Functor to push a COP into the code vector.

Definition at line 61 of file FormulaGrammar.h.


Constructor & Destructor Documentation

PushOperation::PushOperation const string &  cop,
vector< string > &  code
[inline]
 

Construct the object.

Parameters:
cop Operation code
code Code vector reference

Definition at line 67 of file FormulaGrammar.h.


Member Function Documentation

void PushOperation::operator() char const *  Unused,
char const *  End
const [inline]
 

Pushes the operation to the code vector.

Parameters:
Unused unused parameter
End unused parameter

Definition at line 76 of file FormulaGrammar.h.

References Code, and COP.


The documentation for this struct was generated from the following file:
Generated on Sun Nov 20 21:09:14 2005 for boost:spirit and virtual machines by  doxygen 1.4.4