NIREP
|
Stores the widget commands in a vector. The location in the vector corresponds to the location in the display grid. Also will be able to return the widget type and the parameters of the widget command. More...
Public Types | |
typedef Type::iterator | Iterator |
typedef Type * | Pointer |
typedef std::vector< std::string > | Type |
Public Member Functions | |
bool | AnyError () |
Pointer | GetList () |
int | GetLocation (std::string line) |
std::string | GetTitle (int row, int col) |
std::vector< std::string > | GetWidgetParameters (int row, int col) |
std::vector< std::string > | GetWidgetParameters (std::string widgetName) |
std::vector< std::string > | GetWidgetParameters (int location) |
std::string | GetWidgetType (int location) |
std::string | GetWidgetType (std::string widgetName) |
std::string | GetWidgetType (int row, int col) |
bool | Read (const std::string &fileName) |
Reads the text and populate the evaluator list. | |
void | Resize () |
void | SetDisplayAttributes (DisplayAttributes *da) |
void | SetVarList (VariableList *list) |
void | SetWidget (int row, int col, std::string widget) |
void | SetWidgetParameters (int row, int col, std::vector< std::string >) |
does not work right now | |
void | SetWidgetType (int row, int col, std::string type) |
Does not work right now. | |
void | SetWidgetType (std::string widgetName, std::string type) |
WidgetList (const std::string &fileName, VariableList *vList, DisplayAttributes *da) | |
WidgetList (VariableList *vList, DisplayAttributes *da) | |
void | Write (const std::string &fileName) |
Writes the evaluator list out to file. | |
~WidgetList () | |
Protected Member Functions | |
WidgetList () |
Stores the widget commands in a vector. The location in the vector corresponds to the location in the display grid. Also will be able to return the widget type and the parameters of the widget command.
typedef Type::iterator WidgetList::Iterator |
typedef Type* WidgetList::Pointer |
typedef std::vector< std::string> WidgetList::Type |
WidgetList::WidgetList | ( | const std::string & | fileName, |
VariableList * | vList, | ||
DisplayAttributes * | da | ||
) |
WidgetList::WidgetList | ( | VariableList * | vList, |
DisplayAttributes * | da | ||
) |
WidgetList::~WidgetList | ( | ) |
WidgetList::WidgetList | ( | ) | [inline, protected] |
bool WidgetList::AnyError | ( | ) | [inline] |
Pointer WidgetList::GetList | ( | ) | [inline] |
int WidgetList::GetLocation | ( | std::string | line | ) |
std::string WidgetList::GetTitle | ( | int | row, |
int | col | ||
) |
std::vector<std::string> WidgetList::GetWidgetParameters | ( | std::string | widgetName | ) |
std::vector< std::string > WidgetList::GetWidgetParameters | ( | int | row, |
int | col | ||
) |
std::vector<std::string> WidgetList::GetWidgetParameters | ( | int | location | ) |
std::string WidgetList::GetWidgetType | ( | int | row, |
int | col | ||
) |
std::string WidgetList::GetWidgetType | ( | int | location | ) |
std::string WidgetList::GetWidgetType | ( | std::string | widgetName | ) |
bool WidgetList::Read | ( | const std::string & | fileName | ) |
Reads the text and populate the evaluator list.
Reads the text and populate the variable list.
fileName | std::string the path to the file containing the evaluator list |
int | returns an integer indicating success or failure |
fileName | std::string the path to the file containing the variable list |
int | returns an integer indicating success or failure |
void WidgetList::Resize | ( | ) | [inline] |
void WidgetList::SetDisplayAttributes | ( | DisplayAttributes * | da | ) |
WidgetList::SetVarList | ( | VariableList * | list | ) |
void WidgetList::SetWidget | ( | int | row, |
int | col, | ||
std::string | widget | ||
) | [inline] |
void WidgetList::SetWidgetParameters | ( | int | row, |
int | col, | ||
std::vector< std::string > | |||
) |
does not work right now
void WidgetList::SetWidgetType | ( | int | row, |
int | col, | ||
std::string | type | ||
) |
Does not work right now.
void WidgetList::SetWidgetType | ( | std::string | widgetName, |
std::string | type | ||
) |
void WidgetList::Write | ( | const std::string & | fileName | ) |
Writes the evaluator list out to file.
fileName | std::string the path to the file containing the evaluator list |