CFx SDK Documentation  2020SP3
FxBIMStorage.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "FxBIM.h"
4 
5 #include <DbObject.h>
6 
7 class CFxBIMStorage;
9 
12 
14 {
15 public:
16  static CFxBIMStoragePtr GetStorage( OdDbDatabase* pDatabase, OdDb::OpenMode eMode = OdDb::kForRead, bool bCreateIfNotExist = false );
17 
18 public:
20 
21  virtual ~CFxBIMStorage();
22 
25 
26  virtual CFxBIMDbIteratorRAPtr DatabaseRefs(); //CFxBIMDatabaseReference
27 
28  virtual Error AddSection( OdDbObjectId idSection );
29  virtual Error RemoveSection( OdDbObjectId idSection );
30  virtual OdDbObjectId FindSection( const OdString& name ) const;
31 
32  virtual CFxBIMDbIteratorRAPtr Sections(); //CFxBIMSection
33 
35  virtual CFxBIMIteratorPtr Zones( OdDb::OpenMode openMode );
39  virtual CFxBIMIteratorPtr Types( OdDb::OpenMode openMode );
40 
43 
44  virtual Error AddReactor( CFxBIMObjectPtr p ); //CFxBIMDatabaseReferenceReactor
46 
48 
49 public:
50  virtual OdResult dwgInFields( OdDbDwgFiler* pFiler ) override;
51  virtual void dwgOutFields( OdDbDwgFiler* pFiler ) const override;
52 
53  virtual OdResult dxfInFields( OdDbDxfFiler* pFiler ) override;
54  virtual void dxfOutFields( OdDbDxfFiler* pFiler ) const override;
55 
56 protected:
58 };
CFxBIMStorage::AddDatabaseRef
virtual Error AddDatabaseRef(CFxBIMDatabaseReferencePtr pBimDbRef)
OdResult
OdResult
Definition: OdResult.h:29
CFxBIMStorage::AddReactor
virtual Error AddReactor(CFxBIMObjectPtr p)
CFxBIMDatabaseReferencePtr
OdSmartPtr< CFxBIMDatabaseReference > CFxBIMDatabaseReferencePtr
Definition: FxBIMStorage.h:10
OdString
Definition: OdString.h:95
OdDbDatabase
Definition: DbDatabase.h:421
CFxBIMStorage::RemoveDatabaseRef
virtual Error RemoveDatabaseRef(CFxBIMDatabaseReferencePtr pBimDbRef)
Error
Error
Definition: FxBIM.h:18
CFxBIMStorage::Floors
virtual CFxBIMIteratorPtr Floors(OdDb::OpenMode openMode)
CFxBIMStorage::FindSection
virtual OdDbObjectId FindSection(const OdString &name) const
CFxBIMStorage::CFxBIMStorage
CFxBIMStorage()
name
GLuint const GLchar * name
Definition: gles2_ext.h:265
CFxBIMDbIteratorPtr
std::shared_ptr< CFxBIMDbIterator > CFxBIMDbIteratorPtr
Definition: FxBIM.h:160
DbObject.h
CFxBIMStorage::Materials
virtual CFxBIMDbIteratorPtr Materials(OdDb::OpenMode openMode)
OdDbObjectId
Definition: DbObjectId.h:99
CFxBIMStorage::GetStorage
static CFxBIMStoragePtr GetStorage(OdDbDatabase *pDatabase, OdDb::OpenMode eMode=OdDb::kForRead, bool bCreateIfNotExist=false)
CFxBIMStorage::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler) override
CFxBIMStorage::DatabaseRefs
virtual CFxBIMDbIteratorRAPtr DatabaseRefs()
FXBIM_API
#define FXBIM_API
Definition: FxBIM.h:4
CFxBIMStorage::Disciplines
virtual CFxBIMIteratorPtr Disciplines(OdDb::OpenMode openMode)
CFxBIMStoragePtr
OdSmartPtr< CFxBIMStorage > CFxBIMStoragePtr
Definition: FxBIMStorage.h:7
OdDb::kForRead
@ kForRead
Definition: DbObjectId.h:56
CFxBIMStorage::AddSection
virtual Error AddSection(OdDbObjectId idSection)
CFxBIMStorage::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(CFxBIMStorage)
OdSmartPtr
Definition: SmartPtr.h:58
CFxBIMStorage::EntityRefs
virtual CFxBIMDbIteratorPtr EntityRefs(OdDb::OpenMode openMode)
CFxBIMStorage::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const override
CFxBIMIteratorPtr
std::shared_ptr< CFxBIMIterator > CFxBIMIteratorPtr
Definition: FxBIM.h:156
CFxBIMObjectPtr
std::shared_ptr< CFxBIMObject > CFxBIMObjectPtr
Definition: FxBIM.h:127
OdDbDxfFiler
Definition: DbFiler.h:194
CFxBIMStorage::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler) override
CFxBIMStorage::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const override
CFxBIMStorage::Entities
virtual CFxBIMDbIteratorPtr Entities(OdDb::OpenMode openMode)
CFxBIMStorage::Zones
virtual CFxBIMIteratorPtr Zones(OdDb::OpenMode openMode)
CFxBIMDatabaseReference
Definition: FxBIMDatabaseReference.h:17
OdDb::OpenMode
OpenMode
Definition: DbObjectId.h:54
CFxBIMStorage::Spaces
virtual CFxBIMIteratorPtr Spaces(OdDb::OpenMode openMode)
FxBIM.h
CFxBIMStorage::RemoveSection
virtual Error RemoveSection(OdDbObjectId idSection)
CFxBIMStorage
Definition: FxBIMStorage.h:14
CFxBIMStorage::~CFxBIMStorage
virtual ~CFxBIMStorage()
CFxBIMStorage::Sections
virtual CFxBIMDbIteratorRAPtr Sections()
CFxBIMStorage::RemoveReactor
virtual Error RemoveReactor(CFxBIMObjectPtr p)
CFxBIMStorage::Types
virtual CFxBIMIteratorPtr Types(OdDb::OpenMode openMode)
CFxBIMStorage::Categories
virtual CFxBIMIteratorPtr Categories(OdDb::OpenMode openMode)
OdDbObject
Definition: DbObject.h:211
OdDbDwgFiler
Definition: DbFiler.h:1031
CFxBIMDbIteratorRAPtr
std::shared_ptr< CFxBIMDbIteratorRA > CFxBIMDbIteratorRAPtr
Definition: FxBIM.h:162