type converter for boolean data More...
Public Member Functions | |
this (bool value=false) | |
this (in char[] value, bool def=false) | |
this (XMLNode node, char[] attr_name, bool def=false) | |
bool | opCast () |
bool | opNot () |
char[] | str () |
Protected Attributes | |
bool | _value |
Private Member Functions | |
void | opAssign (XMLBool) |
type converter for boolean data
Definition at line 1235 of file xmlstorage.d.
xmlstorage::XMLBool::this | ( | bool | value = false ) |
[inline] |
Definition at line 1238 of file xmlstorage.d.
{ _value = value; }
xmlstorage::XMLBool::this | ( | in char[] | value, |
bool | def = false |
||
) | [inline] |
Definition at line 1243 of file xmlstorage.d.
References xmlstorage::XS_TRUE.
xmlstorage::XMLBool::this | ( | XMLNode | node, |
char[] | attr_name, | ||
bool | def = false |
||
) | [inline] |
Definition at line 1251 of file xmlstorage.d.
References xmlstorage::XS_TRUE.
void xmlstorage::XMLBool::opAssign | ( | XMLBool | ) | [private] |
bool xmlstorage::XMLBool::opCast | ( | ) | [inline] |
Definition at line 1261 of file xmlstorage.d.
{ return _value; }
bool xmlstorage::XMLBool::opNot | ( | ) | [inline] |
Definition at line 1266 of file xmlstorage.d.
{ return !_value; }
char [] xmlstorage::XMLBool::str | ( | ) | [inline] |
Definition at line 1271 of file xmlstorage.d.
References xmlstorage::XS_FALSE, and xmlstorage::XS_TRUE.
bool xmlstorage::XMLBool::_value [protected] |
Definition at line 1278 of file xmlstorage.d.