OpenLexocad  28.0
MaterialConstituent.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <OpenLxApp/Material.h>
6 
7 FORWARD_DECL(App, MaterialConstituent)
8 
9 namespace OpenLxApp
10 {
26 class LX_OPENLXAPP_EXPORT MaterialConstituent : public MaterialDefinition, public MaterialSelect
27 {
28  PROXY_HEADER(MaterialConstituent, App::MaterialConstituent, IFCMATERIALCONSTITUENT)
29 
31  DECL_PROPERTY(MaterialConstituent, Description, Base::String)
34 
35 public:
37 
38  void setMaterial(std::shared_ptr<Material> aMaterial);
39  std::shared_ptr<Material> getMaterial() const;
40 
41 private:
43 };
44 
45 } // namespace OpenLxApp
OpenLxApp
Definition: ActiveScript.h:10
MaterialSelect.h
OpenLxApp::MaterialConstituent
IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a numb...
Definition: MaterialConstituent.h:27
FORWARD_DECL
#define FORWARD_DECL(x, y)
Definition: Globals.h:93
OpenLxApp::MaterialDefinition
Super-class of all Materials.
Definition: MaterialDefinition.h:26
Material.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
std
Definition: GlobalId.h:64
PROXY_HEADER
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146
Base
Definition: AbstractXMLReader.h:5