#include <sequence.hpp>
Public Member Functions | |
Sequence () | |
Constructor. | |
Sequence (const char *fname) | |
Constructor. | |
~Sequence () | |
Destructor. | |
void | loadFromFile (const char *fname) |
Loads a sequence from a file. | |
void | setTaskId (int i, int value) |
Sets a task id at the given position in a sequence. | |
int | getTaskId (int i) |
Gets a task id at the given position in a sequence. | |
int & | operator[] (int) |
Gets a task id at the given position in a sequence. | |
int | size () |
Gets the size/length of the sequence. | |
Protected Attributes | |
vector< int > | idList |
Definition at line 31 of file sequence.hpp.
|
Constructor. Definition at line 29 of file sequence.cpp. |
|
Constructor.
References loadFromFile(). Here is the call graph for this function: ![]() |
|
Destructor. Definition at line 44 of file sequence.cpp. |
|
Gets a task id at the given position in a sequence.
References idList. |
|
Loads a sequence from a file.
References PtfCore::getMessageLog(), Singleton< PtfCore >::getSingleton(), and idList. Referenced by Sequence(). Here is the call graph for this function: ![]() |
|
Gets a task id at the given position in a sequence.
References idList. |
|
Sets a task id at the given position in a sequence.
References idList. |
|
Gets the size/length of the sequence.
References idList. |
|
Definition at line 42 of file sequence.hpp. Referenced by getTaskId(), loadFromFile(), operator[](), setTaskId(), and size(). |