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

Method NewDeclaration

3rdparty/tinyxml2/tinyxml2.cpp:2295–2300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2293
2294
2295XMLDeclaration* XMLDocument::NewDeclaration( const char* str )
2296{
2297 XMLDeclaration* dec = CreateUnlinkedNode<XMLDeclaration>( _commentPool );
2298 dec->SetValue( str ? str : "xml version=\"1.0\" encoding=\"UTF-8\"" );
2299 return dec;
2300}
2301
2302
2303XMLUnknown* XMLDocument::NewUnknown( const char* str )

Callers 3

ShallowCloneMethod · 0.80
InsertNewDeclarationMethod · 0.80
writeTreeXSDFunction · 0.80

Calls 1

SetValueMethod · 0.80

Tested by

no test coverage detected