#include <xmlstorage.h>

Public Member Functions | |
| XMLBool (bool value=false) | |
| XMLBool (LPCXSSTR value, bool def=false) | |
| XMLBool (const XMLNode *node, const XS_String &attr_name, bool def=false) | |
| operator bool () const | |
| bool | operator! () const |
| operator LPCXSSTR () const | |
Protected Attributes | |
| bool | _value |
Private Member Functions | |
| void | operator= (const XMLBool &) |
Definition at line 1920 of file xmlstorage.h.
| XMLStorage::XMLBool::XMLBool | ( | bool | value = false |
) | [inline] |
| XMLStorage::XMLBool::XMLBool | ( | LPCXSSTR | value, | |
| bool | def = false | |||
| ) | [inline] |
| XMLStorage::XMLBool::XMLBool | ( | const XMLNode * | node, | |
| const XS_String & | attr_name, | |||
| bool | def = false | |||
| ) | [inline] |
Definition at line 1935 of file xmlstorage.h.
References XMLStorage::XMLNode::get(), XS_icmp, and XS_TRUE.
01937 { 01938 const XS_String& value = node->get(attr_name); 01939 01940 if (!value.empty()) 01941 _value = !XS_icmp(value.c_str(), XS_TRUE); 01942 else 01943 _value = def;

| XMLStorage::XMLBool::operator bool | ( | ) | const [inline] |
| bool XMLStorage::XMLBool::operator! | ( | ) | const [inline] |
| XMLStorage::XMLBool::operator LPCXSSTR | ( | ) | const [inline] |
| void XMLStorage::XMLBool::operator= | ( | const XMLBool & | ) | [private] |
bool XMLStorage::XMLBool::_value [protected] |
Definition at line 1961 of file xmlstorage.h.
1.5.4