OpenLexocad  27.1
Site.h
Go to the documentation of this file.
1 #pragma once
2 #include <OpenLxApp/Building.h>
4 
5 #include <memory>
6 
7 FORWARD_DECL(App, Site)
8 
9 
14 namespace OpenLxApp
15 {
24 class LX_OPENLXAPP_EXPORT Site : public SpatialStructureElement
25 {
26  PROXY_HEADER(Site, App::Site, IFCSITE)
27 
28 public:
29  virtual ~Site(void);
30 
31  void addBuilding(std::shared_ptr<Building> aBuilding);
32  std::vector<std::shared_ptr<Building>> getBuildings() const;
33 
34 protected:
35  Site() {}
36 };
37 } // namespace OpenLxApp
38 
39 
40 
41 // IfcRoot -----------------------------------------------------------
42 // attributes:
43 // std::shared_ptr<IfcGloballyUniqueId> m_GlobalId;
44 // std::shared_ptr<IfcOwnerHistory> m_OwnerHistory; //optional
45 // std::shared_ptr<IfcLabel> m_Name; //optional
46 // std::shared_ptr<IfcText> m_Description; //optional
47 
48 // IfcObjectDefinition -----------------------------------------------------------
49 // inverse attributes:
50 // std::vector<std::weak_ptr<IfcRelAssigns> > m_HasAssignments_inverse;
51 // std::vector<std::weak_ptr<IfcRelNests> > m_Nests_inverse;
52 // std::vector<std::weak_ptr<IfcRelNests> > m_IsNestedBy_inverse;
53 // std::vector<std::weak_ptr<IfcRelDeclares> > m_HasContext_inverse;
54 // std::vector<std::weak_ptr<IfcRelAggregates> > m_IsDecomposedBy_inverse;
55 // std::vector<std::weak_ptr<IfcRelAggregates> > m_Decomposes_inverse;
56 // std::vector<std::weak_ptr<IfcRelAssociates> > m_HasAssociations_inverse;
57 
58 // IfcObject -----------------------------------------------------------
59 // attributes:
60 // std::shared_ptr<IfcLabel> m_ObjectType; //optional
61 // inverse attributes:
62 // std::vector<std::weak_ptr<IfcRelDefinesByObject> > m_IsDeclaredBy_inverse;
63 // std::vector<std::weak_ptr<IfcRelDefinesByObject> > m_Declares_inverse;
64 // std::vector<std::weak_ptr<IfcRelDefinesByType> > m_IsTypedBy_inverse;
65 // std::vector<std::weak_ptr<IfcRelDefinesByProperties> > m_IsDefinedBy_inverse;
66 
67 // IfcProduct -----------------------------------------------------------
68 // attributes:
69 // std::shared_ptr<IfcObjectPlacement> m_ObjectPlacement; //optional
70 // std::shared_ptr<IfcProductRepresentation> m_Representation; //optional
71 // inverse attributes:
72 // std::vector<std::weak_ptr<IfcRelAssignsToProduct> > m_ReferencedBy_inverse;
73 
74 // IfcSpatialElement -----------------------------------------------------------
75 // attributes:
76 // std::shared_ptr<IfcLabel> m_LongName; //optional
77 // inverse attributes:
78 // std::vector<std::weak_ptr<IfcRelContainedInSpatialStructure> > m_ContainsElements_inverse;
79 // std::vector<std::weak_ptr<IfcRelServicesBuildings> > m_ServicedBySystems_inverse;
80 // std::vector<std::weak_ptr<IfcRelReferencedInSpatialStructure> > m_ReferencesElements_inverse;
81 
82 // IfcSpatialStructureElement -----------------------------------------------------------
83 // attributes:
84 // std::shared_ptr<IfcElementCompositionEnum> m_CompositionType; //optional
85 
86 // IfcSite -----------------------------------------------------------
87 // attributes:
88 // std::shared_ptr<IfcCompoundPlaneAngleMeasure> m_RefLatitude; //optional
89 // std::shared_ptr<IfcCompoundPlaneAngleMeasure> m_RefLongitude; //optional
90 // std::shared_ptr<IfcLengthMeasure> m_RefElevation; //optional
91 // std::shared_ptr<IfcLabel> m_LandTitleNumber; //optional
92 // std::shared_ptr<IfcPostalAddress> m_SiteAddress; //optional
Site()
Definition: Site.h:35
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146
Definition: ActiveScript.h:7
A spatial structure element is the generalization of all spatial elements that might be used to defin...
Definition: SpatialStructureElement.h:24
A site is a defined area of land, possibly covered with water, on which the project construction is t...
Definition: Site.h:24
#define FORWARD_DECL(x, y)
Definition: Globals.h:93