OpenLexocad  27.1
PropertyGroupDescriptor.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <Core/PropertyLink.h>
5 
6 namespace Core
7 {
8 /* @brief Saves and restore the characteristics of a group of properties
9  */
11 {
14 public:
15  friend class PropertyGroupDescriptor_Factory;
17 
19  virtual ~PropertyGroupDescriptor();
20 
21  virtual Type getType() const override;
22 
23  bool isRoot() const;
24 
25 protected:
26  Core::DocObject* copy(Core::CoreDocument* toDoc, DocObjectMap& copyMap = DocObjectMap()) override;
27 };
28 
30 DECLARE_OBJECT_FACTORY_NOIFC(PropertyGroupDescriptor_Factory, PropertyGroupDescriptor);
31 } // namespace Core
Definition: PropertyGroupDescriptor.h:10
Core::PropertyLinkList children
Definition: PropertyGroupDescriptor.h:16
DECLARE_PROPERTY_TEMPLATES(Core::PropertyDescriptor, LX_CORE_EXPORT)
Type
Definition: PropertyDescriptor.h:22
Definition: CoreDocument.h:210
Definition: Base.h:12
DECLARE_OBJECT_FACTORY_NOIFC(PropertyBoolDescriptor_Factory, PropertyBoolDescriptor)
Definition: PropertyDescriptor.h:15
LX_NODE_HEADER()
std::map< Core::DocObject *, Core::DocObject * > DocObjectMap
Definition: DocObject.h:10
TYPESYSTEM_HEADER()
Definition: DocObject.h:51