OpenLexocad
27.1
PropertyLxFormulaDescriptor.h
Go to the documentation of this file.
1
#pragma once
2
#include <
Core/PropertyDescriptor.h
>
3
#include <
Core/PropertyReal.h
>
4
5
6
namespace
Core
7
{
8
/* @brief Saves and restore the characteristics of a LxFormula
9
*/
10
class
LX_CORE_EXPORT
PropertyLxFormulaDescriptor
:
public
Core::PropertyDescriptor
11
{
12
TYPESYSTEM_HEADER
()
13
LX_NODE_HEADER
()
14
public
:
15
friend
class
PropertyLxFormulaDescriptor_Factory;
16
17
Core::PropertyText
formula
;
18
Core::PropertyRealList
numsInFormula
;
19
Core::PropertyBackLinkSet<Core::PropertyDescriptor*>
propsInFormula
;
20
21
PropertyLxFormulaDescriptor
();
22
virtual
~
PropertyLxFormulaDescriptor
();
23
24
Type
getType()
const override
;
25
26
protected
:
27
Core::DocObject
* copy(
Core::CoreDocument
* toDoc,
DocObjectMap
& copyMap)
override
;
28
};
29
30
DECLARE_OBJECT_FACTORY_NOIFC
(PropertyLxFormulaDescriptor_Factory,
PropertyLxFormulaDescriptor
);
31
}
// namespace Core
Core::PropertyLxFormulaDescriptor
Definition:
PropertyLxFormulaDescriptor.h:10
Core::PropertyDescriptor::Type
Type
Definition:
PropertyDescriptor.h:22
Core::PropertyRealList
Definition:
PropertyReal.h:47
Core::PropertyText
Definition:
PropertyText.h:11
PropertyDescriptor.h
Core::CoreDocument
Definition:
CoreDocument.h:210
Core
Definition:
Base.h:12
Core::PropertyLxFormulaDescriptor::numsInFormula
Core::PropertyRealList numsInFormula
Definition:
PropertyLxFormulaDescriptor.h:18
Core::DECLARE_OBJECT_FACTORY_NOIFC
DECLARE_OBJECT_FACTORY_NOIFC(PropertyBoolDescriptor_Factory, PropertyBoolDescriptor)
PropertyReal.h
Core::PropertyDescriptor
Definition:
PropertyDescriptor.h:15
Core::PropertyLxFormulaDescriptor::propsInFormula
Core::PropertyBackLinkSet< Core::PropertyDescriptor * > propsInFormula
Definition:
PropertyLxFormulaDescriptor.h:19
Core::PropertyLxFormulaDescriptor::formula
Core::PropertyText formula
Definition:
PropertyLxFormulaDescriptor.h:17
LX_NODE_HEADER
LX_NODE_HEADER()
DocObjectMap
std::map< Core::DocObject *, Core::DocObject * > DocObjectMap
Definition:
DocObject.h:10
TYPESYSTEM_HEADER
TYPESYSTEM_HEADER()
Core::PropertyBackLinkSet< Core::PropertyDescriptor * >
Core::DocObject
Definition:
DocObject.h:51
lexocad
Core
include
Core
PropertyLxFormulaDescriptor.h
Generated by
1.8.15