OpenLexocad  28.0
Material.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Core/PropertyAxis2.h>
6 
7 
8 FORWARD_DECL(App, BimMaterial)
9 
10 namespace OpenLxApp
11 {
32 class LX_OPENLXAPP_EXPORT Material : public MaterialDefinition, public MaterialSelect
33 {
34  PROXY_HEADER(Material, App::BimMaterial, IFCMATERIAL)
35 
36  DECL_PROPERTY(Material, Name, Base::String)
37  DECL_PROPERTY(Material, Description, Base::String)
38  DECL_PROPERTY(Material, Category, Base::String)
39 
40 
41 public:
43 
44 private:
45  Material() {}
46 };
47 
48 } // namespace OpenLxApp
OpenLxApp
Definition: ActiveScript.h:10
MaterialSelect.h
FORWARD_DECL
#define FORWARD_DECL(x, y)
Definition: Globals.h:93
OpenLxApp::MaterialDefinition
Super-class of all Materials.
Definition: MaterialDefinition.h:26
PropertyAxis2.h
DECL_PROPERTY
#define DECL_PROPERTY(_class_, _name_, _type_)
DECL_PROPERTY and DEFINE_PROPERTY are macros used for mapping between the properties of Lexocad objec...
Definition: Globals.h:242
OpenLxApp::MaterialSelect
MaterialSelect provides selection of either a material definition or a material usage definition that...
Definition: MaterialSelect.h:31
MaterialDefinition.h
OpenLxApp::Material
Material is a homogeneous or inhomogeneous substance that can be used to form elements (physical prod...
Definition: Material.h:33
PROXY_HEADER
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146
Base
Definition: AbstractXMLReader.h:5