CFx SDK Documentation  2020SP3
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, eConvertFromIcf, eConvertToIcf }
 
enum  Flags { eFNone, eFMultipleViews = 0x1 }
 
using fn_start_t = std::function< void(const OdString &viewName, OdInt64 idView) >
 
using fn_ready_t = std::function< void(CFxBIMDatabaseReferencePtr, OdInt64 idView) >
 
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 &error) >
 

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 = eFNone
 

Detailed Description

Definition at line 61 of file FxBIM.h.

Member Typedef Documentation

◆ fn_abort_t

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

Definition at line 74 of file FxBIM.h.

◆ fn_error_t

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

Definition at line 75 of file FxBIM.h.

◆ fn_finish_t

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

Definition at line 73 of file FxBIM.h.

◆ fn_ready_t

using Conversion::fn_ready_t = std::function< void( CFxBIMDatabaseReferencePtr, OdInt64 idView ) >

Definition at line 72 of file FxBIM.h.

◆ fn_start_t

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

Definition at line 71 of file FxBIM.h.

Member Enumeration Documentation

◆ Flags

Enumerator
eFNone 
eFMultipleViews 

Definition at line 87 of file FxBIM.h.

◆ Type

Enumerator
eNone 
eConvertFromRevit 
eConvertFromIcf 
eConvertToIcf 

Definition at line 63 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 = eFNone

Definition at line 92 of file FxBIM.h.


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