Public Member Functions | |
const char * | Name () const |
The name of the attribute. More... | |
const char * | Value () const |
The value of the attribute. More... | |
int | GetLineNum () const |
Gets the line number the attribute is in, if the document was parsed from a file. More... | |
const XMLAttribute * | Next () const |
The next attribute in the list. More... | |
int | IntValue () const |
int64_t | Int64Value () const |
unsigned | UnsignedValue () const |
Query as an unsigned integer. See IntValue() More... | |
bool | BoolValue () const |
Query as a boolean. See IntValue() More... | |
double | DoubleValue () const |
Query as a double. See IntValue() More... | |
float | FloatValue () const |
Query as a float. See IntValue() More... | |
XMLError | QueryIntValue (int *value) const |
XMLError | QueryUnsignedValue (unsigned int *value) const |
See QueryIntValue. More... | |
XMLError | QueryInt64Value (int64_t *value) const |
See QueryIntValue. More... | |
XMLError | QueryBoolValue (bool *value) const |
See QueryIntValue. More... | |
XMLError | QueryDoubleValue (double *value) const |
See QueryIntValue. More... | |
XMLError | QueryFloatValue (float *value) const |
See QueryIntValue. More... | |
void | SetAttribute (const char *value) |
Set the attribute to a string value. More... | |
void | SetAttribute (int value) |
Set the attribute to value. More... | |
void | SetAttribute (unsigned value) |
Set the attribute to value. More... | |
void | SetAttribute (int64_t value) |
Set the attribute to value. More... | |
void | SetAttribute (bool value) |
Set the attribute to value. More... | |
void | SetAttribute (double value) |
Set the attribute to value. More... | |
void | SetAttribute (float value) |
Set the attribute to value. More... | |
Private Types | |
enum | { BUF_SIZE = 200 } |
Private Member Functions | |
XMLAttribute (const XMLAttribute &) | |
void | operator= (const XMLAttribute &) |
void | SetName (const char *name) |
char * | ParseDeep (char *p, bool processEntities, int *curLineNumPtr) |
Private Attributes | |
StrPair | _name |
StrPair | _value |
int | _parseLineNum |
XMLAttribute * | _next |
MemPool * | _memPool |
Friends | |
class | XMLElement |
Definition at line 1128 of file tinyxml2.h.
|
private |
Definition at line 1219 of file tinyxml2.h.
|
inlineprivate |
Definition at line 1221 of file tinyxml2.h.
|
inlineprivatevirtual |
Definition at line 1222 of file tinyxml2.h.
|
inline |
Query as a boolean. See IntValue()
Definition at line 1169 of file tinyxml2.h.
|
inline |
Query as a double. See IntValue()
Definition at line 1175 of file tinyxml2.h.
|
inline |
Query as a float. See IntValue()
Definition at line 1181 of file tinyxml2.h.
|
inline |
Gets the line number the attribute is in, if the document was parsed from a file.
Definition at line 1139 of file tinyxml2.h.
|
inline |
Definition at line 1156 of file tinyxml2.h.
|
inline |
Definition at line 1150 of file tinyxml2.h.
const char * Name | ( | ) | const |
The name of the attribute.
Definition at line 1469 of file tinyxml2.cpp.
|
inline |
The next attribute in the list.
Definition at line 1142 of file tinyxml2.h.
|
private |
Definition at line 1479 of file tinyxml2.cpp.
XMLError QueryBoolValue | ( | bool * | value | ) | const |
See QueryIntValue.
Definition at line 1546 of file tinyxml2.cpp.
XMLError QueryDoubleValue | ( | double * | value | ) | const |
See QueryIntValue.
Definition at line 1566 of file tinyxml2.cpp.
XMLError QueryFloatValue | ( | float * | value | ) | const |
See QueryIntValue.
Definition at line 1556 of file tinyxml2.cpp.
XMLError QueryInt64Value | ( | int64_t * | value | ) | const |
See QueryIntValue.
Definition at line 1536 of file tinyxml2.cpp.
XMLError QueryIntValue | ( | int * | value | ) | const |
Definition at line 1516 of file tinyxml2.cpp.
XMLError QueryUnsignedValue | ( | unsigned int * | value | ) | const |
See QueryIntValue.
Definition at line 1526 of file tinyxml2.cpp.
void SetAttribute | ( | bool | value | ) |
Set the attribute to value.
Definition at line 1607 of file tinyxml2.cpp.
void SetAttribute | ( | const char * | value | ) |
Set the attribute to a string value.
Definition at line 1576 of file tinyxml2.cpp.
void SetAttribute | ( | double | value | ) |
Set the attribute to value.
Definition at line 1614 of file tinyxml2.cpp.
void SetAttribute | ( | float | value | ) |
Set the attribute to value.
Definition at line 1621 of file tinyxml2.cpp.
void SetAttribute | ( | int | value | ) |
Set the attribute to value.
Definition at line 1582 of file tinyxml2.cpp.
void SetAttribute | ( | int64_t | value | ) |
Set the attribute to value.
Definition at line 1598 of file tinyxml2.cpp.
void SetAttribute | ( | unsigned | value | ) |
Set the attribute to value.
Definition at line 1590 of file tinyxml2.cpp.
|
private |
Definition at line 1510 of file tinyxml2.cpp.
|
inline |
Query as an unsigned integer. See IntValue()
Definition at line 1163 of file tinyxml2.h.
const char * Value | ( | ) | const |
The value of the attribute.
Definition at line 1474 of file tinyxml2.cpp.
|
friend |
Definition at line 1130 of file tinyxml2.h.
|
private |
Definition at line 1234 of file tinyxml2.h.
|
mutableprivate |
Definition at line 1230 of file tinyxml2.h.
|
private |
Definition at line 1233 of file tinyxml2.h.
|
private |
Definition at line 1232 of file tinyxml2.h.
|
mutableprivate |
Definition at line 1231 of file tinyxml2.h.