#include <xmlstorage.h>

Public Member Functions | |
| XMLBoolRef (XMLNode *node, const XS_String &attr_name, bool def=false) | |
| operator bool () const | |
| bool | operator! () const |
| XMLBoolRef & | operator= (bool value) |
| void | assign (bool value) |
| void | toggle () |
Protected Attributes | |
| XS_String & | _ref |
Definition at line 1971 of file xmlstorage.h.
| XMLStorage::XMLBoolRef::XMLBoolRef | ( | XMLNode * | node, | |
| const XS_String & | attr_name, | |||
| bool | def = false | |||
| ) | [inline] |
Definition at line 1973 of file xmlstorage.h.
References XMLStorage::XS_String::assign().
01973 { 01974 XMLBoolRef(XMLNode* node, const XS_String& attr_name, bool def=false) 01975 : _ref((*node)[attr_name]) 01976 { 01977 if (_ref.empty()) 01978 assign(def);

| XMLStorage::XMLBoolRef::operator bool | ( | ) | const [inline] |
| bool XMLStorage::XMLBoolRef::operator! | ( | ) | const [inline] |
| XMLBoolRef& XMLStorage::XMLBoolRef::operator= | ( | bool | value | ) | [inline] |
Definition at line 1990 of file xmlstorage.h.
References XMLStorage::XS_String::assign().
01992 { 01993 assign(value); 01994 01995 return *this;

| void XMLStorage::XMLBoolRef::assign | ( | bool | value | ) | [inline] |
| void XMLStorage::XMLBoolRef::toggle | ( | ) | [inline] |
Definition at line 2002 of file xmlstorage.h.
References XMLStorage::XS_String::assign().
02004 { 02005 assign(!operator bool());

XS_String& XMLStorage::XMLBoolRef::_ref [protected] |
Definition at line 2008 of file xmlstorage.h.
1.5.4