Go to the documentation of this file.
12 void setValue(
const std::map<Base::String, double>& string2doubleMap);
16 const std::map<Base::String, double>&
getValue()
const;
31 std::map<Base::String, double>
_map;
Definition: PropertyString2DoubleMap.h:8
bool setValueFromVariant(const Core::Variant &value) override
void setValue(const std::map< Base::String, double > &string2doubleMap)
bool isEqual(const Property *) const override
compare properties
Definition: Persistence.h:13
void copyValue(Core::Property *p) override
const std::map< Base::String, double > & getValue() const
void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version) override
This method is used to restore properties from an XML document.
Definition: AbstractXMLReader.h:7
std::map< Base::String, double > _map
Definition: PropertyString2DoubleMap.h:31
Core::Property * copy() const override
Returns a new copy of the property (mainly for Undo/Redo and transactions). The copy has no container...
void insert(const Base::String &key, double value)
Core::Variant getVariant() const override
Definition: PropertyString2DoubleMap.h:17
void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
LX_CORE_EXPORT Version & version
Definition: Property.h:72
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:18
DECLARE_OPTIONAL_PROPERTY_HEADER(PropertyColorOpt, Core::PropertyColor)
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
DECLARE_PROPERTY_FACTORY(PropertyAxis1_Factory, Core::PropertyAxis1)
void save(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version) override
This method is used to save properties or very small amounts of data to an XML document.