CFx SDK Documentation  2022 SP0
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 }
 
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 = eFNone
 

Detailed Description

Definition at line 87 of file FxBIM.h.

Member Typedef Documentation

◆ fn_abort_t

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

Definition at line 100 of file FxBIM.h.

◆ fn_error_t

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

Definition at line 101 of file FxBIM.h.

◆ fn_finish_t

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

Definition at line 99 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 98 of file FxBIM.h.

◆ fn_start_t

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

Definition at line 97 of file FxBIM.h.

Member Enumeration Documentation

◆ Flags

Enumerator
eFNone 

Definition at line 113 of file FxBIM.h.

◆ Type

Enumerator
eNone 
eConvertFromRevit 
eConvertFromIcf 
eConvertToIcf 

Definition at line 89 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 117 of file FxBIM.h.


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