Go to the documentation of this file.
47 virtual void setValue(
const std::vector<double>& value);
51 const std::vector<double>&
getValue()
const {
return _listOfReal; }
Definition: PropertyReal.h:222
Definition: PropertyReal.h:367
Definition: PropertyReal.h:297
Core::Variant getVariant(void) 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.
Definition: PropertyReal.h:435
virtual void copyValue(Core::Property *p)
Definition: PropertyReal.h:409
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
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 bool setValueFromVariant(const Core::Variant &value)
virtual bool createSQL(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version, bool data) override
This method is used to save properties or very small amounts of data to an XML document.
Definition: PropertyReal.h:107
Definition: PropertyReal.h:282
Definition: PropertyReal.h:77
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
Definition: PropertyReal.h:311
Definition: PropertyReal.h:196
Definition: PropertyReal.h:153
virtual bool setValueFromVariant(const Core::Variant &value)
Definition: Persistence.h:13
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: PropertyReal.h:52
Definition: PropertyReal.h:236
Definition: PropertyReal.h:463
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.
virtual void copyValue(Core::Property *p)
Definition: PropertyReal.h:448
Definition: AbstractXMLReader.h:7
Definition: PropertyReal.h:325
bool isOptional() const
Checks if this is an optional property.
Definition: PropertyReal.h:113
bool maybeSetValue(double d)
Definition: PropertyReal.h:453
Definition: PropertyReal.h:252
Definition: PropertyReal.h:90
Definition: PropertyReal.h:266
Definition: PropertyReal.h:125
virtual void setValue(const std::vector< double > &value)
void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
virtual bool isEqual(const Property *) const
compare properties
LX_CORE_EXPORT Version & version
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: PropertyReal.h:43
Definition: PropertyReal.h:422
Definition: Property.h:72
Definition: PropertyReal.h:168
Definition: PropertyReal.h:183
std::vector< double > _listOfReal
Definition: PropertyReal.h:65
Definition: PropertyReal.h:209
Definition: PropertyReal.h:381
DECLARE_OPTIONAL_PROPERTY_HEADER(PropertyColorOpt, Core::PropertyColor)
double getValueAt(size_t index) const
virtual void setValue(double d)
Definition: PropertyReal.h:395
Definition: PropertyReal.h:8
Definition: PropertyReal.h:458
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
DECLARE_PROPERTY_FACTORY(PropertyAxis1_Factory, Core::PropertyAxis1)
const std::vector< double > & getValue() const
Definition: PropertyReal.h:51
virtual bool isEqual(const Property *) const
compare properties
Definition: PropertyReal.h:140
Definition: PropertyReal.h:353
Definition: PropertyReal.h:339