Go to the documentation of this file.
4 namespace Base {
class AbstractWriter; }
5 namespace Base {
class AbstractXMLReader; }
6 namespace Core {
class CoreDocument; }
7 namespace Core {
class DbgInfo; }
40 std::shared_ptr<Core::DbgInfo>
getDbgInfo()
const override;
73 std::shared_ptr<Core::DbgInfo>
getDbgInfo()
const override;
86 void setValue(
const std::list<Geom::Ax2>& ax2list);
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
std::shared_ptr< Core::DbgInfo > getDbgInfo() const override
Returns the debug information for this property.
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...
void copyValue(Core::Property *p)
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.
Core::Variant getVariant(void) const
void copyValue(Core::Property *p)
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
Throws Base::FileException.
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
Definition: PropertyAxis2.h:80
void addAx2(const Geom::Ax2 &ax2)
std::list< Geom::Ax2 > _ax2List
Definition: PropertyAxis2.h:105
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...
void setValue(const Geom::Ax2 &ax2)
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
const std::list< Geom::Ax2 > & getValue() const
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
void setValue(const Geom::Ax22d &ax2)
const Geom::Ax2 & getValue() const
Definition: Persistence.h:13
void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
Throws Base::FileException.
const Geom::Ax22d & getValue() const
virtual bool isEqual(const Property *) const
compare properties
Core::Variant getVariant(void) const
Definition: PropertyAxis2.h:96
void setLocation(const Geom::Pnt &loc)
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:44
Definition: PropertyAxis2.h:12
Geom::Ax2 getAxis2() const
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.
bool setValueFromVariant(const Core::Variant &value)
bool setValueFromVariant(const Core::Variant &value)
Definition: AbstractXMLReader.h:7
void setYDirecetion(const Geom::Dir &yDir)
PropertyAxis2List()=default
void setXDirecetion(const Geom::Dir &xDir)
LX_CORE_EXPORT Version & version
Geom::Ax2 _ax2
Definition: PropertyAxis2.h:45
void setValue(const std::list< Geom::Ax2 > &ax2list)
std::shared_ptr< Core::DbgInfo > getDbgInfo() const override
Returns the debug information for this property.
Definition: Property.h:72
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
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.
Definition: PropertyAxis2.h:49
virtual bool isEqual(const Property *) const
compare properties
Geom::Ax22d _ax2
Definition: PropertyAxis2.h:76
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
DECLARE_PROPERTY_FACTORY(PropertyAxis1_Factory, Core::PropertyAxis1)
void setDirection(const Geom::Dir &zDir)
virtual bool setKeyValue(const std::string &name, const Core::Variant &value)
Sets a sub key in this property.
void copyValue(Core::Property *p)
virtual std::map< std::string, Core::Variant > getKeyValueMap() const
Returns all keys and their values of this property.
Definition: AbstractXMLReader.h:5
bool setValueFromVariant(const Core::Variant &value)
virtual bool isEqual(const Property *) const
compare properties