#include <gui_object.h>
Definition at line 31 of file gui_object.h.
GUIObjectState::GUIObjectState |
( |
| ) |
|
std::list< string > GUIObjectState::all_ids |
( |
| ) |
const |
XMLNode * GUIObjectState::get_node |
( |
const XMLNode * |
, |
|
|
const std::string & |
|
|
) |
| |
|
static |
XMLNode* GUIObjectState::get_or_add_node |
( |
const std::string & |
| ) |
|
static XMLNode* GUIObjectState::get_or_add_node |
( |
XMLNode * |
, |
|
|
const std::string & |
|
|
) |
| |
|
static |
XMLNode & GUIObjectState::get_state |
( |
void |
| ) |
const |
string GUIObjectState::get_string |
( |
const std::string & |
id, |
|
|
const std::string & |
prop_name, |
|
|
bool * |
empty = 0 |
|
) |
| |
Get a string from our state.
- Parameters
-
id | property of Object node to look for. |
prop_name | name of the Object property to return. |
empty | if non-0, filled in with true if the property is currently non-existant, otherwise false. |
- Returns
- value of property `prop_name', or empty.
Definition at line 92 of file gui_object.cc.
void GUIObjectState::load |
( |
const XMLNode & |
node | ) |
|
void GUIObjectState::remove_node |
( |
const std::string & |
id | ) |
|
Remove node with provided id.
- Parameters
-
id | property of Object node to look for. |
Definition at line 79 of file gui_object.cc.
template<typename T >
void GUIObjectState::set_property |
( |
const std::string & |
id, |
|
|
const std::string & |
prop_name, |
|
|
const T & |
val |
|
) |
| |
|
inline |
int GUIObjectState::set_state |
( |
const XMLNode & |
node | ) |
|
const string GUIObjectState::xml_node_name |
|
static |
The documentation for this class was generated from the following files: