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: PropertyUser.h:41
Core::PropertyUser is a class that can hold properties defined by the user. Its value member is a Cor...
Definition: PropertyUser.h:15
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
Definition: Persistence.h:13
virtual bool isEqual(const Property *) const
compare properties
void copyValue(Core::Property *p) override
Definition: AbstractXMLReader.h:7
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.
Core::Variant getVariant(void) const override
LX_CORE_EXPORT Version & version
Definition: Property.h:72
void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:18
bool setTextValue(const Base::String &text)
Core::Variant _value
Definition: PropertyUser.h:35
bool setValueFromVariant(const Core::Variant &value)
Definition: PropertyUser.h:20
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
bool setValue(const Core::Variant &value)
DECLARE_PROPERTY_FACTORY(PropertyAxis1_Factory, Core::PropertyAxis1)
Base::String getTextValue(bool *ok=0)
const Core::Variant & getValue() const