FsmLabel::FsmLabel |
( |
const int |
input, |
|
|
const int |
output, |
|
|
const std::shared_ptr< FsmPresentationLayer > |
presentationLayer |
|
) |
| |
Create a FsmLabel
- Parameters
-
input | The input of this label |
output | The ouput of this label |
maxInput | The number of input |
presentationLayer | The presentation layer used by this label |
int FsmLabel::getInput |
( |
| ) |
const |
Getter for the input
- Returns
- The input of this label
int FsmLabel::getOutput |
( |
| ) |
const |
Getter for the output
- Returns
- The output of this label
Check wheter or not, label1 is "smaller" than label2. this operator is needed
- Parameters
-
label1 | The first label |
label2 | The second label |
- Returns
- True if label1 is "smaller" than label2, false otherwise
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const FsmLabel & |
label |
|
) |
| |
|
friend |
Output the FsmLabel to a standard output stream
- Parameters
-
out | The standard output stream to use |
label | The FsmLabel to print |
- Returns
- The standard output stream used, to allow user to cascade <<
Check wheter or not, the 2 label are the same
- Parameters
-
label1 | The first label |
label2 | The second label |
- Returns
- True if they are the same, false otherwise
The documentation for this class was generated from the following files:
- /Users/janpeleska/SharedFoldersWin/fsmlib-cpp/src/fsm/FsmLabel.h
- /Users/janpeleska/SharedFoldersWin/fsmlib-cpp/src/fsm/FsmLabel.cpp