Go to the documentation of this file.
36 bool isLink()
const override {
return true; }
37 std::shared_ptr<Core::DbgInfo>
getDbgInfo()
const override;
47 std::vector<Core::DocObject*>
getLinks()
override;
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.
bool setKeyValue(const std::string &key, const Core::Variant &value) override
Sets a sub key in this property.
Definition: CoreDocument.h:269
void copyValue(Core::Property *p) override
Copies the value from 'p' into this property.
PropertyKind
Definition: Property.h:42
Definition: PropertyLinkBaseBase.h:8
std::map< Core::DocObject *, Core::DocObject * > DocObjectMap
Definition: DocObject.h:50
Core::Variant getVariant(void) const override
const Core::PropertyKind getPropertyKind(void) const override
Definition: PropertyLinkBase.h:15
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.
Core::DocObject * getValue() const
Definition: DocObject.h:54
std::map< std::string, Core::Variant > getKeyValueMap() const override
Returns all keys and their values of this property.
Definition: Persistence.h:13
Core::Object_Hnd hObject
Definition: PropertyLinkBase.h:50
void deepCopy(Core::Property *p, Core::CoreDocument *dest_doc, DocObjectMap ©Map) override
bool removeLink(DocObject *) override
Definition: PropertyLinkBase.h:44
bool isLink() const override
Check if Property is of type PropertyLink, LinkSet etc. For better performance.
Definition: PropertyLinkBase.h:36
bool isEqual(const Property *) const override
compare properties
Definition: AbstractXMLReader.h:7
void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version) override
This method is used to restore properties from an XML document.
bool addLink(DocObject *) override
Definition: PropertyLinkBase.h:45
std::vector< Core::DocObject * > getLinks() override
LX_CORE_EXPORT Version & version
bool setValueFromVariant(const Core::Variant &value) override
Definition: Property.h:72
void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
Definition: Object_Hnd.h:9
virtual void setValue(Core::DocObject *o)
std::shared_ptr< Core::DbgInfo > getDbgInfo() const override
Returns the debug information for this property.
Core::Property * copy(void) const override
Returns a new copy of the property (mainly for Undo/Redo and transactions). The copy has no container...