OpenLexocad
27.0
PropertyDefinition.h
Go to the documentation of this file.
1
2
#pragma once
3
4
#include <
Base/Base.h
>
5
6
#include <string>
7
8
#include "
Core/Variant.h
"
9
10
namespace
Core
11
{
12
class
PropertyContainer;
13
14
class
CORE_EXPORT
PropertyDefinition
15
{
16
public
:
17
PropertyDefinition
();
18
~
PropertyDefinition
();
19
20
void
setName(
const
std::string&
name
,
Core::PropertyContainer
* pc);
21
void
setType(
Base::Type
t);
22
const
std::string& getName()
const
;
23
Base::Type
getType()
const
;
24
const
Core::Variant
& getDefaultValue()
const
;
25
26
private
:
27
std::string _name;
28
Base::Type
_type;
29
};
30
31
}
// namespace Core
CORE_EXPORT
#define CORE_EXPORT
Definition:
core_defines2.h:10
Core::PropertyContainer
Definition:
PropertyContainer.h:101
name
Core::PropertyText name
Definition:
CoreDocument.h:143
Core::PropertyDefinition
Definition:
PropertyDefinition.h:14
Base::Type
Definition:
Type.h:56
Core::Variant
Definition:
Variant.h:90
Base.h
Core
Definition:
Base.h:19
Variant.h
lexocad
Core
include
Core
PropertyDefinition.h
Generated by
1.8.15