Go to the documentation of this file.
4 namespace Base {
class AbstractWriter; }
5 namespace Base {
class AbstractXMLReader; }
6 namespace Core {
class CoreDocument; }
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
bool setValueFromVariant(const Core::Variant &value)
void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
Throws Base::FileException.
Geom::Ax2d _ax
Definition: PropertyAxis1.h:63
Definition: PropertyAxis1.h:41
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
virtual Core::Property * copy(void) const override
Returns a new copy of the property (mainly for Undo/Redo and transactions). The copy has no container...
Core::Variant getVariant(void) const
Definition: PropertyAxis1.h:11
void save(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version)
This method is used to save properties or very small amounts of data to an XML document.
void setValue(const Geom::Ax1 &ax1)
Definition: Persistence.h:13
bool setValueFromVariant(const Core::Variant &value)
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:44
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
Throws Base::FileException.
virtual void save(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version)
This method is used to save properties or very small amounts of data to an XML document.
void setDirection(const Geom::Dir &dir)
Definition: AbstractXMLReader.h:7
void setValue(const Geom::Ax2d &ax)
void copyValue(Core::Property *p)
virtual bool isEqual(const Property *) const
compare properties
virtual bool isEqual(const Property *) const
compare properties
const Geom::Ax2d & getValue() const
LX_CORE_EXPORT Version & version
Definition: Property.h:72
void setLocation(const Geom::Pnt &loc)
virtual Core::Property * copy(void) const override
Returns a new copy of the property (mainly for Undo/Redo and transactions). The copy has no container...
Geom::Ax1 _ax1
Definition: PropertyAxis1.h:37
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
DECLARE_PROPERTY_FACTORY(PropertyAxis1_Factory, Core::PropertyAxis1)
Core::Variant getVariant(void) const
void copyValue(Core::Property *p)
const Geom::Ax1 & getValue() const
Definition: AbstractXMLReader.h:5