#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 1583 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 1598 of file xmlstorage.h.
References XMLStorage::XMLNode::get(), XS_icmp, and XS_TRUE.
01599 { 01600 const XS_String& value = node->get(attr_name); 01601 01602 if (!value.empty()) 01603 _value = !XS_icmp(value.c_str(), XS_TRUE); 01604 else 01605 _value = def; 01606 }
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 1624 of file xmlstorage.h.
IBrowser Source Code Documentation
generated on 18.09.2008 by |