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