XMLInt is a type converter for integer data. More...

Public Member Functions | |
| XMLInt (int value) | |
| XMLInt (string value) | |
| XMLInt (string value, int def) | |
| XMLInt (AbstractXMLNode node, string attrName) | |
| XMLInt (XMLPos pos, string attrName) | |
| XMLInt (XMLPos pos, string attrName, int def) | |
| XMLInt (XMLStreamReader reader, string attrName) | |
| XMLInt (XMLStreamReader reader, string attrName, int def) | |
| XMLInt (AbstractXMLNode node, string attrName, int def) | |
| int | intValue () |
| override string | ToString () |
Protected Attributes | |
| int | _value |
Private Member Functions | |
| void | init (AbstractXMLNode node, string attrName, int def) |
| void | init (string value, int def) |
XMLInt is a type converter for integer data.
Definition at line 46 of file XMLInt.cs.
| XMLStorage::XMLInt::XMLInt | ( | int | value ) | [inline] |
| XMLStorage::XMLInt::XMLInt | ( | string | value ) | [inline] |
| XMLStorage::XMLInt::XMLInt | ( | string | value, |
| int | def | ||
| ) | [inline] |
| XMLStorage::XMLInt::XMLInt | ( | AbstractXMLNode | node, |
| string | attrName | ||
| ) | [inline] |
| XMLStorage::XMLInt::XMLInt | ( | XMLPos | pos, |
| string | attrName | ||
| ) | [inline] |
Definition at line 68 of file XMLInt.cs.
References XMLStorage::XMLPos::cur(), and init().
{
init(pos.cur(), attrName, 0);
}

| XMLStorage::XMLInt::XMLInt | ( | XMLPos | pos, |
| string | attrName, | ||
| int | def | ||
| ) | [inline] |
Definition at line 73 of file XMLInt.cs.
References XMLStorage::XMLPos::cur(), and init().
{
init(pos.cur(), attrName, def);
}

| XMLStorage::XMLInt::XMLInt | ( | XMLStreamReader | reader, |
| string | attrName | ||
| ) | [inline] |
Definition at line 78 of file XMLInt.cs.
References XMLStorage::XMLStreamReader::getNode(), and init().
{
init(reader.getNode(), attrName, 0);
}

| XMLStorage::XMLInt::XMLInt | ( | XMLStreamReader | reader, |
| string | attrName, | ||
| int | def | ||
| ) | [inline] |
Definition at line 83 of file XMLInt.cs.
References XMLStorage::XMLStreamReader::getNode(), and init().
{
init(reader.getNode(), attrName, def);
}

| XMLStorage::XMLInt::XMLInt | ( | AbstractXMLNode | node, |
| string | attrName, | ||
| int | def | ||
| ) | [inline] |
| void XMLStorage::XMLInt::init | ( | AbstractXMLNode | node, |
| string | attrName, | ||
| int | def | ||
| ) | [inline, private] |
Definition at line 94 of file XMLInt.cs.
References XMLStorage::AbstractXMLNode::get().
Referenced by XMLInt().
{
init(node.get(attrName), def);
}

| void XMLStorage::XMLInt::init | ( | string | value, |
| int | def | ||
| ) | [inline, private] |
| int XMLStorage::XMLInt::intValue | ( | ) | [inline] |
Definition at line 106 of file XMLInt.cs.
References _value.
Referenced by Example3::testRead().
{
return _value;
}
| override string XMLStorage::XMLInt::ToString | ( | ) | [inline] |
int XMLStorage::XMLInt::_value [protected] |
Definition at line 116 of file XMLInt.cs.
Referenced by init(), intValue(), ToString(), and XMLInt().
1.7.2