CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Conversion Struct Reference

#include <FxBIM.h>

Classes

struct  Data
 

Public Types

enum  Type {
  eNone , eConvertFromRevit , eConvertFromIfc , eConvertToIfc ,
  eConvertFromTrb
}
 
enum  Flags { eFNone = 0x0 , eFFailWithoutServer = 0x1 , eFMaskInternal = 0xFF }
 
using fn_start_t = std::function< void(const OdString &viewName, OdInt64 idView) >
 
using fn_ready_t = std::function< void(const OdString &dwgPath, const OdString &originalPath, const OdString &viewName, OdInt64 idView, int flags) >
 
using fn_finish_t = std::function< void(int exitCode, int exitStatus) >
 
using fn_abort_t = std::function< bool() >
 
using fn_error_t = std::function< void(const OdString &err) >
 

Public Member Functions

 Conversion ()
 
 Conversion (fileType type, Data data, int flags)
 

Static Public Member Functions

static Conversion::Type FromString (const OdString &arg)
 
static OdString ToString (const Conversion &c)
 

Public Attributes

enum Conversion::Type _c
 
struct Conversion::Data _d
 
int _flags = eFFailWithoutServer
 
std::shared_ptr< CFxBIMIPCClient > _ipc
 

Detailed Description

Definition at line 122 of file FxBIM.h.

Member Typedef Documentation

◆ fn_abort_t

using Conversion::fn_abort_t = std::function< bool() >

Definition at line 136 of file FxBIM.h.

◆ fn_error_t

using Conversion::fn_error_t = std::function< void( const OdString& err ) >

Definition at line 137 of file FxBIM.h.

◆ fn_finish_t

using Conversion::fn_finish_t = std::function< void( int exitCode, int exitStatus ) >

Definition at line 135 of file FxBIM.h.

◆ fn_ready_t

using Conversion::fn_ready_t = std::function< void( const OdString& dwgPath, const OdString& originalPath, const OdString& viewName, OdInt64 idView, int flags ) >

Definition at line 134 of file FxBIM.h.

◆ fn_start_t

using Conversion::fn_start_t = std::function< void( const OdString& viewName, OdInt64 idView ) >

Definition at line 133 of file FxBIM.h.

Member Enumeration Documentation

◆ Flags

Enumerator
eFNone 
eFFailWithoutServer 
eFMaskInternal 

Definition at line 149 of file FxBIM.h.

◆ Type

Enumerator
eNone 
eConvertFromRevit 
eConvertFromIfc 
eConvertToIfc 
eConvertFromTrb 

Definition at line 124 of file FxBIM.h.

Constructor & Destructor Documentation

◆ Conversion() [1/2]

Conversion::Conversion ( )

◆ Conversion() [2/2]

Conversion::Conversion ( fileType  type,
Data  data,
int  flags 
)
explicit

Member Function Documentation

◆ FromString()

static Conversion::Type Conversion::FromString ( const OdString arg)
static

◆ ToString()

static OdString Conversion::ToString ( const Conversion c)
static

Member Data Documentation

◆ _c

enum Conversion::Type Conversion::_c

◆ _d

struct Conversion::Data Conversion::_d

◆ _flags

int Conversion::_flags = eFFailWithoutServer

Definition at line 155 of file FxBIM.h.

◆ _ipc

std::shared_ptr< CFxBIMIPCClient > Conversion::_ipc

Definition at line 164 of file FxBIM.h.


The documentation for this struct was generated from the following file: