#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 1631 of file xmlstorage.h.
XMLStorage::XMLBoolRef::XMLBoolRef | ( | XMLNode * | node, | |
const XS_String & | attr_name, | |||
bool | def = false | |||
) | [inline] |
Definition at line 1633 of file xmlstorage.h.
References XMLStorage::XS_String::assign().
XMLStorage::XMLBoolRef::operator bool | ( | ) | const [inline] |
bool XMLStorage::XMLBoolRef::operator! | ( | ) | const [inline] |
XMLBoolRef& XMLStorage::XMLBoolRef::operator= | ( | bool | value | ) | [inline] |
Definition at line 1650 of file xmlstorage.h.
References XMLStorage::XS_String::assign().
01651 { 01652 assign(value); 01653 01654 return *this; 01655 }
void XMLStorage::XMLBoolRef::assign | ( | bool | value | ) | [inline] |
void XMLStorage::XMLBoolRef::toggle | ( | ) | [inline] |
Definition at line 1662 of file xmlstorage.h.
References XMLStorage::XS_String::assign().
01663 { 01664 assign(!operator bool()); 01665 }
XS_String& XMLStorage::XMLBoolRef::_ref [protected] |
Definition at line 1668 of file xmlstorage.h.
IBrowser Source Code Documentation
generated on 18.09.2008 by |