CFx SDK Documentation  2022 SP0
FxBIMSpace.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2020-2021 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include "FxBIM.h"
20 
21 #include <sdk/FxBIMFloor.h>
22 #include <DbEntity.h>
23 
24 class CFxBIMSpaceImpl;
25 
26 class CFxBIMSpace;
27 typedef std::shared_ptr< CFxBIMSpace > CFxBIMSpacePtr;
28 
30 {
31  friend class CFxBIMSpaceImpl;
32 public:
33  virtual ~CFxBIMSpace();
34 
35  static CFxBIMSpacePtr Create( const OdString& name );
36 
37  const OdString& Name() const;
39 
41  void SetFloor( CFxBIMFloorPtr pFloor );
42 
44  const std::vector< CFxBIMSpacePtr >& Children() const;
45 
46  std::vector< OdDbEntityPtr > Boundary() const;
47 
48 protected:
50 
51 protected:
52  std::shared_ptr< CFxBIMSpaceImpl > m_pImpl;
53 };
#define FXBIM_API
Definition: FxBIM.h:20
std::shared_ptr< CFxBIMSpace > CFxBIMSpacePtr
Definition: FxBIMEntity.h:40
std::shared_ptr< CFxBIMFloor > CFxBIMFloorPtr
Definition: FxBIMEntity.h:43
std::shared_ptr< CFxBIMSpace > CFxBIMSpacePtr
Definition: FxBIMSpace.h:26
const OdString & Name() const
std::shared_ptr< CFxBIMSpaceImpl > m_pImpl
Definition: FxBIMSpace.h:52
CFxBIMSpacePtr Parent() const
static CFxBIMSpacePtr Create(const OdString &name)
const std::vector< CFxBIMSpacePtr > & Children() const
void SetFloor(CFxBIMFloorPtr pFloor)
CFxBIMFloorPtr Floor() const
std::vector< OdDbEntityPtr > Boundary() const
virtual ~CFxBIMSpace()
bool IsEqual(CFxBIMSpacePtr p)
GLuint const GLchar * name
Definition: gles2_ext.h:265