mirror of https://github.com/AxioDL/tinyxml2.git
Merge pull request #537 from Dmitry-Me/clearerMemberName
Clearer variable name
This commit is contained in:
commit
71e2c08a7e
|
@ -1956,12 +1956,12 @@ const char* XMLDocument::_errorNames[XML_ERROR_COUNT] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
XMLDocument::XMLDocument( bool processEntities, Whitespace whitespace ) :
|
XMLDocument::XMLDocument( bool processEntities, Whitespace whitespaceMode ) :
|
||||||
XMLNode( 0 ),
|
XMLNode( 0 ),
|
||||||
_writeBOM( false ),
|
_writeBOM( false ),
|
||||||
_processEntities( processEntities ),
|
_processEntities( processEntities ),
|
||||||
_errorID(XML_SUCCESS),
|
_errorID(XML_SUCCESS),
|
||||||
_whitespace( whitespace ),
|
_whitespaceMode( whitespaceMode ),
|
||||||
_errorLineNum( 0 ),
|
_errorLineNum( 0 ),
|
||||||
_charBuffer( 0 ),
|
_charBuffer( 0 ),
|
||||||
_parseCurLineNum( 0 )
|
_parseCurLineNum( 0 )
|
||||||
|
|
|
@ -1613,7 +1613,7 @@ class TINYXML2_LIB XMLDocument : public XMLNode
|
||||||
friend class XMLElement;
|
friend class XMLElement;
|
||||||
public:
|
public:
|
||||||
/// constructor
|
/// constructor
|
||||||
XMLDocument( bool processEntities = true, Whitespace = PRESERVE_WHITESPACE );
|
XMLDocument( bool processEntities = true, Whitespace whitespaceMode = PRESERVE_WHITESPACE );
|
||||||
~XMLDocument();
|
~XMLDocument();
|
||||||
|
|
||||||
virtual XMLDocument* ToDocument() {
|
virtual XMLDocument* ToDocument() {
|
||||||
|
@ -1677,7 +1677,7 @@ public:
|
||||||
return _processEntities;
|
return _processEntities;
|
||||||
}
|
}
|
||||||
Whitespace WhitespaceMode() const {
|
Whitespace WhitespaceMode() const {
|
||||||
return _whitespace;
|
return _whitespaceMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1815,7 +1815,7 @@ private:
|
||||||
bool _writeBOM;
|
bool _writeBOM;
|
||||||
bool _processEntities;
|
bool _processEntities;
|
||||||
XMLError _errorID;
|
XMLError _errorID;
|
||||||
Whitespace _whitespace;
|
Whitespace _whitespaceMode;
|
||||||
mutable StrPair _errorStr1;
|
mutable StrPair _errorStr1;
|
||||||
mutable StrPair _errorStr2;
|
mutable StrPair _errorStr2;
|
||||||
int _errorLineNum;
|
int _errorLineNum;
|
||||||
|
|
Loading…
Reference in New Issue