55 #include <QSharedData>
57 #include "../ifc/ifcdef.h"
58 #include "../vmisc/diagnostic.h"
61 QT_WARNING_DISABLE_GCC(
"-Weffc++")
62 QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor")
72 :_id(
NULL_ID), type(type), idObject(idObject), _name(QString()), mode(mode)
76 :QSharedData(obj), _id(obj._id), type(obj.type), idObject(obj.idObject), _name(obj._name), mode(obj.mode)
VGObjectData(const VGObjectData &obj)
VGObjectData & operator=(const VGObjectData &) Q_DECL_EQ_DELETE
quint32 idObject
idObject id of parent object. Only for modeling. All another return 0.
quint32 _id
_id id in container. Ned for arcs, spline and spline paths.
GOType type
type type of graphical object
Draw mode
mode object created in calculation or drawing mode
QString _name
_name object name
VGObjectData(const GOType &type, const quint32 &idObject, const Draw &mode)