OpenLexocad  27.1
PropertyContainer.h File Reference
#include <Base/Persistence.h>
#include <Core/PropertyMacros.h>
#include <Core/PropertyValue.h>
#include <Core/DynamicProperty.h>
#include <Core/Variant.h>
#include <Geom/BrepData.h>
#include <list>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>

Go to the source code of this file.

Classes

class  Core::FieldData
 
class  Core::LxFieldData
 
class  Core::PropertyContainer
 
class  Core::PostInitClass
 

Namespaces

 Base
 
 Core
 

Macros

#define USE_PROPERTYMAP
 
#define MUTABLE_CONTAINER(_class_)
 
#define IMMUTABLE_CONTAINER(_class_)
 

Enumerations

enum  Core::PropertyType {
  Core::Prop_None = 0, Core::Prop_ReadOnly = 1, Core::Prop_Transient = 2, Core::Prop_Hidden = 4,
  Core::Prop_Output = 8, Core::Prop_NoRecompute = 16, Core::Prop_NoPersist = 32
}
 

Macro Definition Documentation

◆ IMMUTABLE_CONTAINER

#define IMMUTABLE_CONTAINER (   _class_)
Value:
public: \
friend class Core::PropertyBundle<_class_>; \
\
public: \
static bool isMutableStatic() { return false; } \
\
public: \
virtual bool isMutable() const { return false; } \
\
public: \
Core::PropertyBundle<_class_> getPropertyBundle() const \
{ \
Core::PropertyBundle<_class_> dsBundle; \
dsBundle.setPropertyValues(this); \
return dsBundle; \
}
void setPropertyValues(const PropertyContainer *other)
Copies the property values from 'other' PropertyContainer to this PropertyContainer.
Definition: PropertyBundle.h:16

◆ MUTABLE_CONTAINER

#define MUTABLE_CONTAINER (   _class_)
Value:
public: \
static bool isMutableStatic() { return true; } \
\
public: \
virtual bool isMutable() const { return true; }

◆ USE_PROPERTYMAP

#define USE_PROPERTYMAP