|
@@ -1559,12 +1559,12 @@ public:
|
|
|
float FloatText(float defaultValue = 0) const;
|
|
float FloatText(float defaultValue = 0) const;
|
|
|
|
|
|
|
|
// internal:
|
|
// internal:
|
|
|
- enum {
|
|
|
|
|
|
|
+ enum ElementClosingType {
|
|
|
OPEN, // <foo>
|
|
OPEN, // <foo>
|
|
|
CLOSED, // <foo/>
|
|
CLOSED, // <foo/>
|
|
|
CLOSING // </foo>
|
|
CLOSING // </foo>
|
|
|
};
|
|
};
|
|
|
- int ClosingType() const {
|
|
|
|
|
|
|
+ ElementClosingType ClosingType() const {
|
|
|
return _closingType;
|
|
return _closingType;
|
|
|
}
|
|
}
|
|
|
virtual XMLNode* ShallowClone( XMLDocument* document ) const;
|
|
virtual XMLNode* ShallowClone( XMLDocument* document ) const;
|
|
@@ -1589,7 +1589,7 @@ private:
|
|
|
XMLAttribute* CreateAttribute();
|
|
XMLAttribute* CreateAttribute();
|
|
|
|
|
|
|
|
enum { BUF_SIZE = 200 };
|
|
enum { BUF_SIZE = 200 };
|
|
|
- int _closingType;
|
|
|
|
|
|
|
+ ElementClosingType _closingType;
|
|
|
// The attribute list is ordered; there is no 'lastAttribute'
|
|
// The attribute list is ordered; there is no 'lastAttribute'
|
|
|
// because the list needs to be scanned for dupes before adding
|
|
// because the list needs to be scanned for dupes before adding
|
|
|
// a new attribute.
|
|
// a new attribute.
|