type converter for boolean data with write access More...
#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 |
type converter for boolean data with write access
Definition at line 3465 of file xmlstorage.h.
| void XMLStorage::XMLBoolRef::assign | ( | bool | value ) | [inline] |
Definition at line 3491 of file xmlstorage.h.
References _ref, XMLStorage::XS_String::assign(), XS_FALSE, and XS_TRUE.
Referenced by operator=(), toggle(), and XMLBoolRef().


| XMLStorage::XMLBoolRef::operator bool | ( | ) | const [inline] |
| bool XMLStorage::XMLBoolRef::operator! | ( | ) | const [inline] |
| XMLBoolRef& XMLStorage::XMLBoolRef::operator= | ( | bool | value ) | [inline] |
Definition at line 3484 of file xmlstorage.h.
References assign().
{
assign(value);
return *this;
}

| void XMLStorage::XMLBoolRef::toggle | ( | ) | [inline] |
Definition at line 3496 of file xmlstorage.h.
References assign().
Referenced by TaskbarSettingsDlg::Command().
{
assign(!operator bool());
}


XS_String& XMLStorage::XMLBoolRef::_ref [protected] |
Definition at line 3502 of file xmlstorage.h.
Referenced by assign(), operator bool(), operator!(), and XMLBoolRef().
|
ROS Explorer Source Code Documentation
generated on 02.01.2013 by
|