type converter for integer data with write access More...
Public Member Functions | |
this (XMLNode node, char[] attr_name, int def=0) | |
XMLIntRef | opAssign (int value) |
int | opCast () |
void | assign (int value) |
Protected Attributes | |
char *[] | _pref |
type converter for integer data with write access
Definition at line 1373 of file xmlstorage.d.
xmlstorage::XMLIntRef::this | ( | XMLNode | node, |
char[] | attr_name, | ||
int | def = 0 |
||
) | [inline] |
Definition at line 1376 of file xmlstorage.d.
void xmlstorage::XMLIntRef::assign | ( | int | value ) | [inline] |
Definition at line 1396 of file xmlstorage.d.
References xmlstorage::XS_INTFMT.
XMLIntRef xmlstorage::XMLIntRef::opAssign | ( | int | value ) | [inline] |
Definition at line 1384 of file xmlstorage.d.
{ assign(value); return this; }
int xmlstorage::XMLIntRef::opCast | ( | ) | [inline] |
Definition at line 1391 of file xmlstorage.d.
{ return atoi(*_pref); }
char* [] xmlstorage::XMLIntRef::_pref [protected] |
Definition at line 1402 of file xmlstorage.d.