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.
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
void setValue(const Geom::Dir &dir)
bool setValueFromVariant(const Core::Variant &value)
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...
Definition: PropertyDirection.h:33
const Geom::Dir & getValue() const
Definition: Persistence.h:13
Core::Variant getVariant(void) const
Geom::Dir _dir
Definition: PropertyDirection.h:29
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
Throws Base::FileException.
virtual bool isEqual(const Property *) const
compare properties
Definition: AbstractXMLReader.h:7
const Geom::Dir2d & getValue() const
Geom::Dir2d _dir
Definition: PropertyDirection.h:53
Definition: PropertyDirection.h:9
Core::Variant getVariant(void) const
LX_CORE_EXPORT Version & version
virtual bool isEqual(const Property *) const
compare properties
Definition: Property.h:72
void setValue(const Geom::Dir2d &dir)
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...
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.
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
DECLARE_PROPERTY_FACTORY(PropertyAxis1_Factory, Core::PropertyAxis1)
bool setValueFromVariant(const Core::Variant &value)
void copyValue(Core::Property *p)
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
void copyValue(Core::Property *p)
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
Throws Base::FileException.