OpenLexocad  27.1
SpatialStructureElement.h
Go to the documentation of this file.
1 #pragma once
2 #include <OpenLxApp/Element.h>
4 
5 #include <memory>
6 
7 FORWARD_DECL(App, SpatialStructureElement)
8 
9 
14 namespace OpenLxApp
15 {
24 class LX_OPENLXAPP_EXPORT SpatialStructureElement : public SpatialElement
25 {
26  PROXY_HEADER_ABSTRACT(SpatialStructureElement, App::SpatialStructureElement, IFCSPATIALSTRUCTUREELEMENT)
27 
28 public:
29  virtual ~SpatialStructureElement(void);
30 
31  bool addElement(std::shared_ptr<Element> aElement);
32 
33 protected:
35 };
36 } // namespace OpenLxApp
37 
38 
39 
40 // IfcRoot -----------------------------------------------------------
41 // attributes:
42 // std::shared_ptr<IfcGloballyUniqueId> m_GlobalId;
43 // std::shared_ptr<IfcOwnerHistory> m_OwnerHistory; //optional
44 // std::shared_ptr<IfcLabel> m_Name; //optional
45 // std::shared_ptr<IfcText> m_Description; //optional
46 
47 // IfcObjectDefinition -----------------------------------------------------------
48 // inverse attributes:
49 // std::vector<std::weak_ptr<IfcRelAssigns> > m_HasAssignments_inverse;
50 // std::vector<std::weak_ptr<IfcRelNests> > m_Nests_inverse;
51 // std::vector<std::weak_ptr<IfcRelNests> > m_IsNestedBy_inverse;
52 // std::vector<std::weak_ptr<IfcRelDeclares> > m_HasContext_inverse;
53 // std::vector<std::weak_ptr<IfcRelAggregates> > m_IsDecomposedBy_inverse;
54 // std::vector<std::weak_ptr<IfcRelAggregates> > m_Decomposes_inverse;
55 // std::vector<std::weak_ptr<IfcRelAssociates> > m_HasAssociations_inverse;
56 
57 // IfcObject -----------------------------------------------------------
58 // attributes:
59 // std::shared_ptr<IfcLabel> m_ObjectType; //optional
60 // inverse attributes:
61 // std::vector<std::weak_ptr<IfcRelDefinesByObject> > m_IsDeclaredBy_inverse;
62 // std::vector<std::weak_ptr<IfcRelDefinesByObject> > m_Declares_inverse;
63 // std::vector<std::weak_ptr<IfcRelDefinesByType> > m_IsTypedBy_inverse;
64 // std::vector<std::weak_ptr<IfcRelDefinesByProperties> > m_IsDefinedBy_inverse;
65 
66 // IfcProduct -----------------------------------------------------------
67 // attributes:
68 // std::shared_ptr<IfcObjectPlacement> m_ObjectPlacement; //optional
69 // std::shared_ptr<IfcProductRepresentation> m_Representation; //optional
70 // inverse attributes:
71 // std::vector<std::weak_ptr<IfcRelAssignsToProduct> > m_ReferencedBy_inverse;
72 
73 // IfcSpatialElement -----------------------------------------------------------
74 // attributes:
75 // std::shared_ptr<IfcLabel> m_LongName; //optional
76 // inverse attributes:
77 // std::vector<std::weak_ptr<IfcRelContainedInSpatialStructure> > m_ContainsElements_inverse;
78 // std::vector<std::weak_ptr<IfcRelServicesBuildings> > m_ServicedBySystems_inverse;
79 // std::vector<std::weak_ptr<IfcRelReferencedInSpatialStructure> > m_ReferencesElements_inverse;
80 
81 // IfcSpatialStructureElement -----------------------------------------------------------
82 // attributes:
83 // std::shared_ptr<IfcElementCompositionEnum> m_CompositionType; //optional
#define PROXY_HEADER_ABSTRACT(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:137
Definition: ActiveScript.h:7
A spatial element is the generalization of all spatial elements that might be used to define a spatia...
Definition: SpatialElement.h:22
A spatial structure element is the generalization of all spatial elements that might be used to defin...
Definition: SpatialStructureElement.h:24
SpatialStructureElement()
Definition: SpatialStructureElement.h:34
#define FORWARD_DECL(x, y)
Definition: Globals.h:93