StaticVar Class Reference
Inside a Static Variable declaration. More...
#include <state.h>
Inheritance diagram for StaticVar:
Public Member Functions | |
~StaticVar () | |
Do nothing Dtor. | |
State_t | execute (AddTraceString &ats, CxxScanner &scanner, Token *t) |
See Class description. | |
Static Public Member Functions | |
static State * | Instance () |
Return the singleton, uses lazy evaluation. | |
Protected Member Functions | |
StaticVar () | |
Set the name for this class. | |
Static Private Attributes | |
static State * | msp_instance = 0 |
Singleton data pointer. |
Detailed Description
Inside a Static Variable declaration.
- Description
- We look at each token waiting for the semicolon so we can go back to the neutral state.
There is almost no data assocated with this class, the state context class (in this case AddTraceString) has the data.
The documentation for this class was generated from the following files:
- state.h
- state.C