Go to the documentation of this file.
14 virtual void setValue(
const std::list<Core::DocObject*>& ) {};
17 const std::list<Core::DocObject*>&
getValue()
const;
34 bool isLink()
const override {
return true; }
35 std::shared_ptr<Core::DbgInfo>
getDbgInfo()
const override;
38 std::vector<Core::DocObject*>
getLinks()
override;
bool addLink(Core::DocObject *o) override
const std::list< Core::DocObject * > & getValue() const
std::vector< Core::DocObject * > getLinks() override
Definition: CoreDocument.h:269
PropertyKind
Definition: Property.h:42
Definition: PropertyLinkBaseBase.h:8
std::map< Core::DocObject *, Core::DocObject * > DocObjectMap
Definition: DocObject.h:50
bool isLink() const override
Check if Property is of type PropertyLink, LinkSet etc. For better performance.
Definition: PropertyLinkListBase.h:34
const Core::PropertyKind getPropertyKind(void) const override
Definition: PropertyLinkListBase.h:10
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.
virtual void setValue(const std::list< Core::DocObject * > &)
Definition: PropertyLinkListBase.h:14
std::shared_ptr< Core::DbgInfo > getDbgInfo() const override
Returns the debug information for this property.
Definition: DocObject.h:54
Definition: Persistence.h:13
virtual bool hasLink(Core::DocObject *o) const
virtual bool setValueFromVariant(const Core::Variant &)
Definition: PropertyLinkListBase.h:15
Definition: AbstractXMLReader.h:7
Core::Variant getVariant(void) const override
Definition: PropertyLinkListBase.h:18
virtual void setEmpty()
Definition: PropertyLinkListBase.h:26
void deepCopy(Core::Property *p, Core::CoreDocument *dest_doc, DocObjectMap ©Map) override
bool removeLink(Core::DocObject *o) override
LX_CORE_EXPORT Version & version
void copyValue(Core::Property *) override
Definition: PropertyLinkListBase.h:20
void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version) override
This method is used to restore properties from an XML document.
bool isEqual(const Property *) const override
compare properties
Definition: Property.h:72
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
std::list< Core::DocObject * > _linkList
Definition: PropertyLinkListBase.h:41
void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
Core::Property * copy(void) const override
Returns a new copy of the property (mainly for Undo/Redo and transactions). The copy has no container...