Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
steam::control::test::anonymous_namespace{command-argument-test.cpp} Namespace Reference

Classes

struct  Sint5
 Dummy custom memento datatype. More...
 
struct  Tracker
 watching the instance creation of some parameter values More...
 

Functions

void doIt (Tracker< TimeVar > time, Tracker< string > str, int rand)
 
Tracker< string > captureState (Tracker< TimeVar >, Tracker< string > xstr, int)
 
void undoIt (Tracker< TimeVar > time, Tracker< string >, int, Tracker< string > memento)
 
void dummyU (int, int, int)
 another dummy-UNDO function
 
int dummyC (int u, int o)
 
void showIt (CmdClosure &clo)
 
void checkSerialisation (CmdClosure &clo)
 
int twoRandomDigits ()
 

Variables

ostringstream protocol
 used to verify the test function calls
 

Function Documentation

◆ doIt()

void doIt ( Tracker< TimeVar time,
Tracker< string >  str,
int  rand 
)

Definition at line 118 of file command-argument-test.cpp.

References doIt(), and protocol.

Referenced by doIt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ captureState()

Tracker< string > captureState ( Tracker< TimeVar ,
Tracker< string >  xstr,
int   
)

Definition at line 126 of file command-argument-test.cpp.

References captureState(), and protocol.

Referenced by captureState().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ undoIt()

void undoIt ( Tracker< TimeVar time,
Tracker< string >  ,
int  ,
Tracker< string >  memento 
)

Definition at line 133 of file command-argument-test.cpp.

References protocol, and undoIt().

Referenced by undoIt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dummyU()

void dummyU ( int  ,
int  ,
int   
)

another dummy-UNDO function

Definition at line 141 of file command-argument-test.cpp.

References dummyU().

Referenced by dummyU().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dummyC()

int dummyC ( int  u,
int  o 
)

Definition at line 142 of file command-argument-test.cpp.

References dummyC().

Referenced by dummyC().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showIt()

void showIt ( CmdClosure clo)

Definition at line 147 of file command-argument-test.cpp.

References showIt().

Referenced by showIt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkSerialisation()

void checkSerialisation ( CmdClosure clo)

Definition at line 153 of file command-argument-test.cpp.

References checkSerialisation().

Referenced by checkSerialisation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ twoRandomDigits()

int twoRandomDigits ( )

Definition at line 163 of file command-argument-test.cpp.

References twoRandomDigits().

Referenced by twoRandomDigits().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ protocol

ostringstream protocol

used to verify the test function calls

Definition at line 60 of file command-argument-test.cpp.

Referenced by captureState(), doIt(), and undoIt().