MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / clearFileData

Method clearFileData

Engine/source/console/persistenceManager.cpp:136–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void PersistenceManager::clearFileData()
137{
138 // Clear the active file name
139 if (mCurrentFile)
140 {
141 dFree( mCurrentFile );
142 mCurrentFile = NULL;
143 }
144
145 // Clear the file objects
146 clearObjects();
147
148 // Clear the line buffer
149 clearLineBuffer();
150
151 // Clear the tokenizer data
152 mParser.clear();
153}
154
155void PersistenceManager::clearAll()
156{

Callers

nothing calls this directly

Calls 2

dFreeFunction · 0.50
clearMethod · 0.45

Tested by

no test coverage detected