Go to the documentation of this file.
5 typedef std::shared_ptr<Geom::BrepData>
pBrepData;
45 void setValue(
const std::vector<pBrepData>& dataSet);
51 const std::vector<pBrepData>&
getValue()
const;
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
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...
bool setValueFromVariant(const Core::Variant &value)
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
virtual bool isEqual(const Property *) const
compare properties
Core::Variant getVariant(void) const
Definition: PropertyBrepData.h:54
std::shared_ptr< Geom::BrepData > pBrepData
Definition: PropertyBrepData.h:5
Definition: PropertyBrepData.h:38
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)
virtual bool isEqual(const Property *) const
compare properties
pBrepData _data
Definition: PropertyBrepData.h:32
void copyValue(Core::Property *p)
Definition: Persistence.h:13
Core::Variant getVariant(void) const
Definition: PropertyBrepData.h:23
void addBrepData(pBrepData data)
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...
Definition: AbstractXMLReader.h:7
std::shared_ptr< const Geom::BrepData > pConstBrepData
Definition: BrepData.h:31
LX_CORE_EXPORT Version & version
void setValue(pBrepData data)
void setValue(const std::vector< pBrepData > &dataSet)
Definition: Property.h:72
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 copyValue(Core::Property *p)
Definition: PropertyBrepData.h:10
const std::vector< pBrepData > & getValue() const
DECLARE_OPTIONAL_PROPERTY_HEADER(PropertyColorOpt, Core::PropertyColor)
std::vector< pBrepData > _dataSet
Definition: PropertyBrepData.h:63
pConstBrepData getValue() const
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
DECLARE_PROPERTY_FACTORY(PropertyAxis1_Factory, Core::PropertyAxis1)