21 #define FXBIM_COMMON_CODE_API
23 #if defined( FX_BIM_CONVERTERS )
24 #ifdef FXBIM_COMMON_CODE_EXPORTS
26 #define FXBIM_COMMON_CODE_API __declspec(dllexport)
29 #define FXBIM_COMMON_CODE_API __declspec(dllimport)
31 #elif defined( FXBIM_SC )
32 #if defined( FXBIM_SCEXE )
34 #define FXBIM_COMMON_CODE_API
36 #define FXBIM_API __declspec(dllimport)
37 #define FXBIM_COMMON_CODE_API __declspec(dllimport)
41 #define FXBIM_API __declspec(dllexport)
42 #define FXBIM_COMMON_CODE_API __declspec(dllexport)
44 #define FXBIM_API __declspec(dllimport)
45 #define FXBIM_COMMON_CODE_API __declspec(dllimport)
50#if defined( QT_VERSION )
51#include <QtCore/QString>
119 class CFxBIMIPCClient;
152 eFFailWithoutServer = 0x1,
153 eFMaskInternal = 0xFF,
155 int _flags = eFFailWithoutServer;
164 std::shared_ptr< CFxBIMIPCClient >
_ipc;
194#if defined( QT_VERSION )
213 template <
typename T>
216 std::shared_ptr<T> p = std::dynamic_pointer_cast< T, CFxBIMObject >( pBase );
220 template <
typename T>
223 OdSmartPtr<T> p = T::cast(
id.openObject( mode, openErased ) );
433#if defined( QT_VERSION )
438#if !defined( FX_BIM_CONVERTERS )
std::shared_ptr< CFxBIMDbIterator > CFxBIMDbIteratorPtr
std::shared_ptr< CFxBIMDbIteratorRA > CFxBIMDbIteratorRAPtr
@ eUnsupportedTRBGeometryDefinition
@ eCVTInvalidConversionType
@ eCVTUnsupportedPlatform
@ eWrongTRBGeometryDefinition
@ eCVTInvalidDestinationFolder
@ eCVTInvalidDestinationExists
std::shared_ptr< CFxBIMIteratorRA > CFxBIMIteratorRAPtr
OdSmartPtr< CFxBIMDatabaseReference > CFxBIMDatabaseReferencePtr
#define FXBIM_COMMON_CODE_API
std::shared_ptr< CFxBIMObject > CFxBIMObjectPtr
std::shared_ptr< CFxBIMIterator > CFxBIMIteratorPtr
bool operator<(const OdString &s1, const OdString &s2)
virtual ~CFxBIMDbIterator()
virtual void SetPredicate(std::function< bool(OdDbObjectId) > p)=0
virtual OdDbObjectId Object()=0
virtual ~CFxBIMDbIteratorRA()
virtual OdDbObjectId Object(size_t index)=0
virtual ~CFxBIMIterator()
virtual void SetPredicate(std::function< bool(CFxBIMObjectPtr) > p)=0
virtual CFxBIMObjectPtr Object()=0
virtual ~CFxBIMIteratorRA()
virtual CFxBIMObjectPtr Object(size_t index)=0
Standard(const OdString &name)
static OdString ToString(BimStandards standard)
static BimStandards FromString(const OdString &standard)
const BimStandards & Type() const
const OdString & Name() const
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
GLuint const GLchar * name
GLuint GLsizei GLsizei GLint GLenum * type
GLsizei const GLfloat * value
FXBIM_API OdInt64 currentVersion()
FXBIM_API void SetBIMCURRENTDIMSTYLE(OdDbDatabase *pDb, const OdString &value)
FXBIM_API OdString BIMCALLOUTBLOCKELEVATION(const OdDbDatabase *pDb)
FXBIM_API void SetBIMCALLOUTSFILE(OdDbDatabase *pDb, const OdString &value)
FXBIM_API void SetBIMCALLOUTBLOCKSECTIONALT(OdDbDatabase *pDb, const OdString &value)
FXBIM_API OdString BIMCALLOUTSFILE(const OdDbDatabase *pDb)
FXBIM_API OdString BIMAUTOFILTER(const OdDbDatabase *pDb)
FXBIM_API void SetBIMAUTOFILTER(OdDbDatabase *pDb, const OdString &value)
FXBIM_API void SetBIMUNITSSTYLE(OdDbDatabase *pDb, const int &value)
constexpr OdInt16 kCurrenVersionMinor
FXBIM_API bool BIMCALLOUTSONOFF(const OdDbDatabase *pDb)
FXBIM_API Error resolvePath(const OdDbDatabase *pDb, OdString &path, EFileType eFileType)
FXBIM_API void SetBIMVPSCALE(OdDbDatabase *pDb, const OdString &value)
FXBIM_API OdString BIMCALLOUTBLOCKSECTION(const OdDbDatabase *pDb)
FXBIM_API void SetBIMCALLOUTBLOCKSECTION(OdDbDatabase *pDb, const OdString &value)
FXBIM_API void SetBIMCALLOUTBLOCKELEVATION(OdDbDatabase *pDb, const OdString &value)
FXBIM_API OdString GetAbsoluteFilePath(const OdString &sPath, OdDbDatabase *pCurrentDb)
constexpr OdInt16 kCurrenVersionRevision
FXBIM_API OdInt64 bimVersion(OdInt16 major, OdInt16 minor, OdInt16 revision)
FXBIM_API OdString BIMCALLOUTBLOCKPLAN(const OdDbDatabase *pDb)
FXBIM_API OdString BIMPROJECTPATH(const OdDbDatabase *pDb)
FXBIM_API Error setRotation(OdDbBlockReferencePtr pBlkRef, double angle)
const OdString kBIMModuleName
FXBIM_API int BIMUNITSSTYLE(const OdDbDatabase *pDb)
FXBIM_API void SetBIMAUTOTEMPLATE(OdDbDatabase *pDb, const OdString &value)
FXBIM_COMMON_CODE_API int BIMUNITSLENGTH(const OdDbDatabase *pDb)
FXBIM_API void SetBIMCALLOUTSONOFF(OdDbDatabase *pDb, const bool &value)
FXBIM_API OdString BIMCURRENTDIMSTYLE(const OdDbDatabase *pDb)
FXBIM_API void SetBIMHPSCALE(OdDbDatabase *pDb, const double &value)
FXBIM_API void SetBIMPROJECTPATH(OdDbDatabase *pDb, const OdString &value)
FXBIM_API void SetBIMCALLOUTBLOCKPLAN(OdDbDatabase *pDb, const OdString &value)
FXBIM_COMMON_CODE_API void SetBIMUNITSLENGTH(OdDbDatabase *pDb, const int &value)
FXBIM_COMMON_CODE_API OdString ToString(const Error &e)
FXBIM_API OdString BIMVPSCALE(const OdDbDatabase *pDb)
FXBIM_API void SetBIMSTANDARD(OdDbDatabase *pDb, const OdString &value)
FXBIM_API Error getRotation(OdDbBlockReferencePtr pBlkRef, double &angle)
FXBIM_API void SetBIMCLIPPINGBOXONOFF(OdDbDatabase *pDb, const bool &value)
FXBIM_API void SetBIMVIEWTITLEBLOCK(OdDbDatabase *pDb, const OdString &value)
FXBIM_API bool BIMCLIPPINGBOXONOFF(const OdDbDatabase *pDb)
FXBIM_API OdString BIMAUTOTEMPLATE(const OdDbDatabase *pDb)
FXBIM_API OdString BIMCALLOUTBLOCKSECTIONALT(const OdDbDatabase *pDb)
constexpr OdInt16 kCurrenVersionMajor
FXBIM_API OdString BIMSTANDARD(const OdDbDatabase *pDb)
FXBIM_API double getImportScaleLabel(OdDbDatabasePtr database)
FXBIM_API OdString BIMVIEWTITLEBLOCK(const OdDbDatabase *pDb)
FXBIM_API double BIMHPSCALE(const OdDbDatabase *pDb)
std::shared_ptr< T > cast(CFxBIMObjectPtr pBase)
std::function< void(const OdString &viewName, OdInt64 idView) > fn_start_t
std::shared_ptr< CFxBIMIPCClient > _ipc
std::function< void(int exitCode, int exitStatus) > fn_finish_t
static Conversion::Type FromString(const OdString &arg)
std::function< void(const OdString &dwgPath, const OdString &originalPath, const OdString &viewName, OdInt64 idView, int flags) > fn_ready_t
std::function< bool() > fn_abort_t
static OdString ToString(const Conversion &c)
Conversion(fileType type, Data data, int flags)
std::function< void(const OdString &err) > fn_error_t