QXRD
0.11.16
|
#include <qcepdataobject.h>
Public Types | |
enum | Overwrite { NoOverwrite, CanOverwrite } |
Public Slots | |
virtual QString | description () const |
QString | metaTypeName (int id) const |
QString | pathName () const |
QcepDataGroupPtr | rootItem () |
virtual QcepDataGroupPtr | parentItem () const |
Public Slots inherited from QcepObject | |
virtual void | printLine (QString line) |
virtual void | printMessage (QString msg, QDateTime dt=QDateTime::currentDateTime()) const |
virtual void | criticalMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
virtual void | statusMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
virtual QString | settingsScript () |
QString | scriptValueLiteral (QVariant v) |
Signals | |
void | dataObjectChanged () |
Public Member Functions | |
QcepDataObject (QcepSettingsSaverWPtr saver, QString name, int byteSize, QcepObject *parent) | |
virtual | ~QcepDataObject () |
QcepSettingsSaverWPtr | saver () |
virtual int | childCount () const |
virtual QcepDataObjectPtr | item (int n) |
virtual QcepDataObjectPtr | item (QString nm) |
virtual void | setParentItem (QcepDataGroupWPtr parent) |
virtual int | indexInParent () const |
virtual int | rowCount () const |
virtual int | columnCount () const |
virtual QVariant | columnData (int col) const |
virtual QString | fileFormatFilterString () |
virtual void | saveData (QString &name, QString filter, Overwrite canOverwrite=NoOverwrite) |
Public Member Functions inherited from QcepObject | |
QcepObject (QString name, QcepObject *parent) | |
virtual | ~QcepObject () |
virtual void | writeSettings (QSettings *set, QString section) |
virtual void | readSettings (QSettings *set, QString section) |
QString | get_Name () const |
void | set_Name (QString name) |
Static Public Member Functions | |
static QcepDataObjectPtr | newDataObject (QcepSettingsSaverWPtr saver, QString name, QcepObject *parent) |
static QScriptValue | toScriptValue (QScriptEngine *engine, const QcepDataObjectPtr &data) |
static void | fromScriptValue (const QScriptValue &obj, QcepDataObjectPtr &data) |
static int | allocatedObjects () |
static int | deletedObjects () |
Static Public Member Functions inherited from QcepObject | |
static int | allocatedObjects () |
static int | deletedObjects () |
static QSet< QcepObject * > | allocatedObjectsSet () |
static QString | addSlashes (QString str) |
Protected Member Functions | |
void | mkPath (QString filePath) |
QString | uniqueFileName (QString name) |
Properties | |
QString | type |
quint64 | byteSize |
QString | creator |
QString | version |
QString | qtVersion |
QString | description |
QString | fileName |
int | objectSaved |
Properties inherited from QcepObject | |
QString | name |
Private Attributes | |
QcepDataGroupWPtr | m_Parent |
QcepSettingsSaverWPtr | m_Saver |
Definition at line 11 of file qcepdataobject.h.
Enumerator | |
---|---|
NoOverwrite | |
CanOverwrite |
Definition at line 38 of file qcepdataobject.h.
QcepDataObject::QcepDataObject | ( | QcepSettingsSaverWPtr | saver, |
QString | name, | ||
int | byteSize, | ||
QcepObject * | parent | ||
) |
Definition at line 13 of file qcepdataobject.cpp.
References g_Application, QcepObject::printMessage(), s_ObjectAllocateCount(), and QcepApplication::setDefaultObjectData().
Referenced by newDataObject().
|
virtual |
Definition at line 41 of file qcepdataobject.cpp.
References s_ObjectDeleteCount().
|
static |
Definition at line 46 of file qcepdataobject.cpp.
References s_ObjectAllocateCount().
Referenced by main().
|
virtual |
Definition at line 156 of file qcepdataobject.cpp.
|
virtual |
Definition at line 166 of file qcepdataobject.cpp.
|
virtual |
Definition at line 224 of file qcepdataobject.cpp.
References description(), and QcepObject::get_Name().
|
signal |
Referenced by QcepDataGroup::append(), QcepDataGroup::clear(), QcepDataGroup::newArray(), QcepDataGroup::newColumn(), QcepDataGroup::newColumnScan(), QcepDataGroup::newGroup(), QcepDataGroup::newImage(), QcepDataGroup::newIntegratedData(), and QcepDataGroup::remove().
|
static |
Definition at line 51 of file qcepdataobject.cpp.
References s_ObjectDeleteCount().
Referenced by main().
|
virtualslot |
|
virtual |
Reimplemented in QcepImageDataBase.
Definition at line 240 of file qcepdataobject.cpp.
Referenced by QcepDatasetBrowserDialog::saveData().
|
static |
Definition at line 137 of file qcepdataobject.cpp.
|
virtual |
Definition at line 204 of file qcepdataobject.cpp.
References QcepDataGroup::childCount(), QcepDataGroup::item(), and m_Parent.
|
virtual |
Definition at line 171 of file qcepdataobject.cpp.
|
virtual |
Definition at line 176 of file qcepdataobject.cpp.
|
slot |
Definition at line 235 of file qcepdataobject.cpp.
|
protected |
Definition at line 76 of file qcepdataobject.cpp.
Referenced by QcepImageData< T >::saveData().
|
static |
Definition at line 120 of file qcepdataobject.cpp.
References QcepDataObject().
|
virtualslot |
Definition at line 181 of file qcepdataobject.cpp.
References m_Parent.
Referenced by QcepDataGroup::containingGroup(), QcepDatasetBrowserDialog::onCustomContextMenuRequested(), and pathName().
|
slot |
Definition at line 61 of file qcepdataobject.cpp.
References QcepObject::get_Name(), and parentItem().
Referenced by QcepDatasetBrowserDialog::onCustomContextMenuRequested(), QcepNewColumnScanDialog::QcepNewColumnScanDialog(), QcepNewDataArrayDialog::QcepNewDataArrayDialog(), QcepNewDataColumnDialog::QcepNewDataColumnDialog(), QcepNewDataGroupDialog::QcepNewDataGroupDialog(), and QcepNewImageDialog::QcepNewImageDialog().
|
slot |
Definition at line 186 of file qcepdataobject.cpp.
References m_Parent.
Referenced by QcepDataGroup::containingGroup(), QcepDataGroup::item(), and QcepDataGroup::referencedObject().
|
virtual |
Definition at line 161 of file qcepdataobject.cpp.
|
virtual |
Reimplemented in QcepImageData< T >, and QcepImageData< short >.
Definition at line 116 of file qcepdataobject.cpp.
QcepSettingsSaverWPtr QcepDataObject::saver | ( | ) |
Definition at line 127 of file qcepdataobject.cpp.
References m_Saver.
Referenced by QcepDataColumnScan::appendColumn(), QcepDataGroup::createGroup(), QcepDataGroup::newArray(), QcepDataGroup::newColumn(), QcepDataGroup::newColumnScan(), QcepDataGroup::newGroup(), QcepDataGroup::newImage(), and QcepDataGroup::newIntegratedData().
|
virtual |
Definition at line 199 of file qcepdataobject.cpp.
References m_Parent.
Referenced by QcepDataGroup::append().
|
static |
Definition at line 132 of file qcepdataobject.cpp.
|
protected |
Definition at line 86 of file qcepdataobject.cpp.
References QcepObject::name.
Referenced by QcepImageData< T >::saveData().
|
private |
Definition at line 67 of file qcepdataobject.h.
Referenced by indexInParent(), parentItem(), rootItem(), and setParentItem().
|
private |
Definition at line 68 of file qcepdataobject.h.
Referenced by saver().
|
readwrite |
Definition at line 74 of file qcepdataobject.h.
|
readwrite |
Definition at line 77 of file qcepdataobject.h.
|
readwrite |
Definition at line 86 of file qcepdataobject.h.
|
readwrite |
Definition at line 89 of file qcepdataobject.h.
Referenced by QcepImageDataBase::setDefaultFileName().
|
readwrite |
Definition at line 92 of file qcepdataobject.h.
|
readwrite |
Definition at line 83 of file qcepdataobject.h.
|
readwrite |
Definition at line 71 of file qcepdataobject.h.
|
readwrite |
Definition at line 80 of file qcepdataobject.h.