31 : _state (
X_(
"GUIObjectState"))
40 for (XMLNodeList::const_iterator i = children.begin(); i != children.end(); ++i) {
42 if ((*i)->name() !=
X_(
"Object")) {
47 if (p && p->
value() == id) {
144 std::list<string> ids;
146 for (XMLNodeList::const_iterator i = children.begin(); i != children.end(); ++i) {
147 if ((*i)->name() !=
X_(
"Object")) {
153 ids.push_back (p->
value ());
std::string get_string(const std::string &id, const std::string &prop_name, bool *empty=0)
const std::string & value() const
const std::string & name() const
const XMLNodeList & children(const std::string &str=std::string()) const
static XMLNode * get_node(const XMLNode *, const std::string &)
std::list< XMLNode * > XMLNodeList
static const std::string xml_node_name
XMLProperty * property(const char *)
XMLNode * get_or_add_node(const std::string &)
void remove_node(const std::string &id)
XMLProperty * add_property(const char *name, const std::string &value)
void add_child_nocopy(XMLNode &)
void load(const XMLNode &)
std::list< std::string > all_ids() const
void remove_nodes_and_delete(const std::string &)
int set_state(const XMLNode &)
XMLNode & get_state() const