Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
PersistentStoreMock () | |
~PersistentStoreMock () | |
void | clear () |
virtual PersistentStore * | clone () const override |
virtual QString | currentNodeType () const override |
const QString & | getSaved () const |
virtual bool | isLoadingPartially () const override |
virtual QList< LoadedNode > | loadAllSubNodes (Node *parent, const QSet< QString > &loadPartially) override |
virtual double | loadDoubleValue () override |
virtual int | loadIntValue () override |
virtual QString | loadReferenceValue (Reference *r) override |
Returns a null string if the reference is resolved and a symbolic name if the reference is unresolved. More... | |
virtual QString | loadStringValue () override |
virtual Node * | loadSubNode (Node *parent, const QString &name, bool loadPartially) override |
virtual void | saveDoubleValue (double value) override |
virtual void | saveIntValue (int value) override |
virtual void | saveNode (const Node *node, const QString &name) override |
virtual void | saveReferenceValue (const QString &name, const Node *target) override |
virtual void | saveStringValue (const QString &value) override |
Public Member Functions inherited from Model::PersistentStore | |
virtual | ~PersistentStore () |
Protected Member Functions | |
virtual Node * | loadTree (TreeManager *manager, const QString &name, bool loadPartially) override |
virtual void | saveTree (TreeManager *manager, const QString &name) override |
Protected Member Functions inherited from Model::PersistentStore | |
void | setReferenceTargetr (Reference *r, Node *target) |
Private Attributes | |
QString | savedData |
Model::PersistentStoreMock::PersistentStoreMock | ( | ) |
Model::PersistentStoreMock::~PersistentStoreMock | ( | ) |
void Model::PersistentStoreMock::clear | ( | ) |
|
overridevirtual |
Implements Model::PersistentStore.
|
overridevirtual |
Implements Model::PersistentStore.
const QString & Model::PersistentStoreMock::getSaved | ( | ) | const |
|
overridevirtual |
Implements Model::PersistentStore.
|
overridevirtual |
Implements Model::PersistentStore.
|
overridevirtual |
Implements Model::PersistentStore.
|
overridevirtual |
Implements Model::PersistentStore.
|
overridevirtual |
Returns a null string if the reference is resolved and a symbolic name if the reference is unresolved.
After the target of the reference exists in memory, the reference will be updated to point to the correct target.
Implements Model::PersistentStore.
|
overridevirtual |
Implements Model::PersistentStore.
|
overridevirtual |
Implements Model::PersistentStore.
|
overrideprotectedvirtual |
Implements Model::PersistentStore.
|
overridevirtual |
Implements Model::PersistentStore.
|
overridevirtual |
Implements Model::PersistentStore.
|
overridevirtual |
Implements Model::PersistentStore.
|
overridevirtual |
Implements Model::PersistentStore.
|
overridevirtual |
Implements Model::PersistentStore.
|
overrideprotectedvirtual |
Implements Model::PersistentStore.
|
private |