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

Method PrepareForNewNode

3rdparty/tinyxml2/tinyxml2.cpp:2730–2746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2728}
2729
2730void XMLPrinter::PrepareForNewNode( bool compactMode )
2731{
2732 SealElementIfJustOpened();
2733
2734 if ( compactMode ) {
2735 return;
2736 }
2737
2738 if ( _firstElement ) {
2739 PrintSpace (_depth);
2740 } else if ( _textDepth < 0) {
2741 Putc( '\n' );
2742 PrintSpace( _depth );
2743 }
2744
2745 _firstElement = false;
2746}
2747
2748void XMLPrinter::OpenElement( const char* name, bool compactMode )
2749{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected