#include <xmlstorage.h>
Public Member Functions | |
XMLIntRef (XMLNode *node, const XS_String &attr_name, int def=0) | |
XMLIntRef & | operator= (int value) |
operator int () const | |
void | assign (int value) |
Protected Attributes | |
XS_String & | _ref |
Definition at line 1718 of file xmlstorage.h.
XMLStorage::XMLIntRef::XMLIntRef | ( | XMLNode * | node, | |
const XS_String & | attr_name, | |||
int | def = 0 | |||
) | [inline] |
Definition at line 1720 of file xmlstorage.h.
References XMLStorage::XS_String::assign().
XMLIntRef& XMLStorage::XMLIntRef::operator= | ( | int | value | ) | [inline] |
Definition at line 1727 of file xmlstorage.h.
References XMLStorage::XS_String::assign().
01728 { 01729 assign(value); 01730 01731 return *this; 01732 }
XMLStorage::XMLIntRef::operator int | ( | ) | const [inline] |
void XMLStorage::XMLIntRef::assign | ( | int | value | ) | [inline] |
Definition at line 1739 of file xmlstorage.h.
References COUNTOF, XS_CHAR, XS_INTFMT, and XS_snprintf.
01740 { 01741 XS_CHAR buffer[32]; 01742 XS_snprintf(buffer, COUNTOF(buffer), XS_INTFMT, value); 01743 _ref.assign(buffer); 01744 }
XS_String& XMLStorage::XMLIntRef::_ref [protected] |
Definition at line 1747 of file xmlstorage.h.
IBrowser Source Code Documentation
generated on 18.09.2008 by |