Create an empty trace, with only one presentation layer
- Parameters
-
presentationLayer | The presentation layer used by the trace |
Trace::Trace |
( |
const std::vector< int > & |
trace, |
|
|
const std::shared_ptr< FsmPresentationLayer > |
presentationLayer |
|
) |
| |
Create a trace
- Parameters
-
trace | The trace itself, represented by a list of int |
presentationLayer | The presentation layer used by the trace |
void Trace::add |
( |
const int |
e | ) |
|
Add an element, at the end of the trace
std::vector< int >::const_iterator Trace::cbegin |
( |
| ) |
const |
Getter for an iterator of the trace, pointing at the beginning
- Returns
- The iterator
std::vector< int >::const_iterator Trace::cend |
( |
| ) |
const |
Getter for an iterator of the trace, pointing at the end
- Returns
- The iterator
std::vector< int > Trace::get |
( |
| ) |
const |
Getter for the trace itself
- Returns
- The trace itself, represented by a list of int
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Trace & |
trace |
|
) |
| |
|
friend |
Output the Trace to a standard output stream
- Parameters
-
out | The standard output stream to use |
trace | The Trace to print |
- Returns
- The standard output stream used, to allow user to cascade <<
bool operator== |
( |
Trace const & |
trace1, |
|
|
Trace const & |
trace2 |
|
) |
| |
|
friend |
Check wheter or not, the 2 trace are the same
- Parameters
-
trace1 | The first trace |
trace2 | The second trace |
- Returns
- True if they are the same, false otherwise
The presentation layer used by the trace
std::vector<int> Trace::trace |
|
protected |
The trace itself, represented by a list of int
The documentation for this class was generated from the following files:
- /Users/janpeleska/SharedFoldersWin/fsmlib-cpp/src/fsm/Trace.h
- /Users/janpeleska/SharedFoldersWin/fsmlib-cpp/src/fsm/Trace.cpp