MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / XMLDocument

Method XMLDocument

3rdparty/tinyxml2/tinyxml2.cpp:2183–2202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2181
2182
2183XMLDocument::XMLDocument( bool processEntities, Whitespace whitespaceMode ) :
2184 XMLNode( 0 ),
2185 _writeBOM( false ),
2186 _processEntities( processEntities ),
2187 _errorID(XML_SUCCESS),
2188 _whitespaceMode( whitespaceMode ),
2189 _errorStr(),
2190 _errorLineNum( 0 ),
2191 _charBuffer( 0 ),
2192 _parseCurLineNum( 0 ),
2193 _parsingDepth(0),
2194 _unlinked(),
2195 _elementPool(),
2196 _attributePool(),
2197 _textPool(),
2198 _commentPool()
2199{
2200 // avoid VC++ C4355 warning about 'this' in initializer list (C4355 is off by default in VS2012+)
2201 _document = this;
2202}
2203
2204
2205XMLDocument::~XMLDocument()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected