MCPcopy Create free account
hub / github.com/SOUI2/soui / clear

Method clear

tools/src/uiresbuilder/tinyxml/tinystr.h:178–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 }
177
178 void clear ()
179 {
180 //Lee:
181 //The original was just too strange, though correct:
182 // TiXmlString().swap(*this);
183 //Instead use the quit & re-init:
184 quit();
185 init(0,0);
186 }
187
188 /* Function to reserve a big amount of data when we know we'll need it. Be aware that this
189 function DOES NOT clear the content of the TiXmlString if any exists.

Callers 5

destroyMethod · 0.45
ParseUIDefFileFunction · 0.45
_destroyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected