OpenLexocad  28.0
PropertyDefinition.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Base/Type.h>
4 
5 namespace Core
6 {
7 class PropertyContainer;
8 
9 class LX_CORE_EXPORT PropertyDefinition
10 {
11 public:
12  void setName(const std::string& name, Core::PropertyContainer* pc);
14  const std::string& getName() const;
16 
17 private:
18  std::string _name;
19  Base::Type _type;
20 };
21 
22 } // namespace Core
Core::PropertyDefinition::setName
void setName(const std::string &name, Core::PropertyContainer *pc)
Base::Type
Definition: Type.h:51
Core::PropertyDefinition::setType
void setType(Base::Type t)
Core::PropertyDefinition::getType
Base::Type getType() const
Core::PropertyContainer
Definition: PropertyContainer.h:93
Core
Definition: Base.h:5
Type.h
Core::PropertyDefinition
Definition: PropertyDefinition.h:10
Core::PropertyDefinition::getName
const std::string & getName() const