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

SCalculator Class Reference

Virtual machine wrapper. More...

List of all members.

Public Member Functions

 SCalculator (const vector< string > &code)
 Construct the object.
double Calculate (const double &Value)
 A virtual machine implementation.


Detailed Description

Virtual machine wrapper.

Definition at line 71 of file vm.cpp.


Constructor & Destructor Documentation

SCalculator::SCalculator const vector< string > &  code  )  [inline]
 

Construct the object.

Parameters:
code A reference to the code vector

Definition at line 77 of file vm.cpp.


Member Function Documentation

double SCalculator::Calculate const double &  Value  )  [inline]
 

A virtual machine implementation.

Parameters:
Value Calculation input parameter

Definition at line 87 of file vm.cpp.

Referenced by main().


The documentation for this class 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