MCPcopy Create free account
hub / github.com/aldelaro5/dolphin-memory-engine / setFields

Method setFields

Source/Structs/StructDef.cpp:147–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147void StructDef::setFields(QVector<FieldDef*> fields)
148{
149 if (!isValidFieldLayout(m_length, fields))
150 {
151 qDebug("Attempted to set invalid vector of fields to a StructDef");
152 return;
153 }
154 qDeleteAll(m_fields);
155 m_fields = fields;
156}
157
158void StructDef::updateStructTypeLabel(const QString& oldLabel, QString newLabel)
159{

Callers 1

saveStructMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected