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

Function ClearBuffer

3rdparty/tinyxml2/tinyxml2.h:2324–2328  ·  view source on GitHub ↗

If in print to memory mode, reset the buffer to the beginning. */

Source from the content-addressed store, hash-verified

2322 beginning.
2323 */
2324 void ClearBuffer( bool resetToFirstElement = true ) {
2325 _buffer.Clear();
2326 _buffer.Push(0);
2327 _firstElement = resetToFirstElement;
2328 }
2329
2330protected:
2331 virtual bool CompactMode( const XMLElement& ) { return _compactMode; }

Callers

nothing calls this directly

Calls 2

PushMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected