Go to the documentation of this file.
14 virtual void setValue(
const std::unordered_set<Core::DocObject*>& set);
21 const std::unordered_set<Core::DocObject*>&
getValue()
const;
28 virtual void addLinks(
const std::unordered_set<Core::DocObject*>& linkset);
41 bool isLink()
const override {
return true; }
42 std::shared_ptr<Core::DbgInfo>
getDbgInfo()
const override;
45 virtual std::vector<Core::DocObject*>
getLinks()
override;
void copyValue(Core::Property *p) override
Definition: CoreDocument.h:269
PropertyKind
Definition: Property.h:42
Definition: PropertyLinkBaseBase.h:8
virtual bool addLink(Core::DocObject *link) override
const std::unordered_set< Core::DocObject * > & getValue() const
std::map< std::string, Core::Variant > getKeyValueMap() const override
Returns all keys and their values of this property.
Definition: PropertyLinkSetBase.h:10
std::map< Core::DocObject *, Core::DocObject * > DocObjectMap
Definition: DocObject.h:50
virtual std::vector< Core::DocObject * > getLinks() override
virtual void addLinks(const std::unordered_set< Core::DocObject * > &linkset)
Core::Variant getVariant() const override
virtual bool removeLink(Core::DocObject *link) override
void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version) override
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...
Definition: DocObject.h:54
Definition: Persistence.h:13
bool isEqual(const Property *p) const override
compare properties
bool setKeyValue(const std::string &key, const Core::Variant &value) override
Sets a sub key in this property.
std::shared_ptr< Core::DbgInfo > getDbgInfo() const override
Returns the debug information for this property.
Definition: AbstractXMLReader.h:7
bool isLink() const override
Check if Property is of type PropertyLink, LinkSet etc. For better performance.
Definition: PropertyLinkSetBase.h:41
bool setValueFromVariant(const Core::Variant &value) override
LX_CORE_EXPORT Version & version
Definition: Property.h:72
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
void deepCopy(Core::Property *p, Core::CoreDocument *dest_doc, DocObjectMap ©Map) override
const Core::PropertyKind getPropertyKind(void) const override
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.
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
bool hasLink(const Core::DocObject *o) const
virtual void setValue(const std::unordered_set< Core::DocObject * > &set)
std::unordered_set< Core::DocObject * > _linkSet
Definition: PropertyLinkSetBase.h:48