MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / clear

Method clear

app/src/DataModel/DataTable.cpp:146–158  ·  view source on GitHub ↗

* @brief Releases storage and resets the store to its uninitialized state. */

Source from the content-addressed store, hash-verified

144 * @brief Releases storage and resets the store to its uninitialized state.
145 */
146void DataModel::DataTableStore::clear()
147{
148 m_storage.clear();
149 m_index.clear();
150 m_datasetIndex.clear();
151 m_isComputed.clear();
152 m_version.clear();
153 m_tableRegNames.clear();
154 m_warnedMissing.clear();
155 m_warnedMissingDatasets.clear();
156 clearLookupCache();
157 m_initialized = false;
158}
159
160/**
161 * @brief Invalidates the (table_ptr, reg_ptr) cache before any Lua state populating it closes.

Callers 15

clearAllMethod · 0.45
unlockProjectMethod · 0.45
askSaveMethod · 0.45
newJsonFileMethod · 0.45
clearJsonFilePathMethod · 0.45
loadFromJsonDocumentMethod · 0.45
importProjectFromJsonMethod · 0.45
loadProjectArraysMethod · 0.45
duplicateCurrentGroupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected