Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HIOUtilityDGN.h
1 // Copyright (c) 1998-2014 by Tech Soft 3D, Inc.
2 //
3 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
4 // and considered a trade secret as defined under civil and criminal statutes.
5 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
6 // unauthorized use or misappropriation of its trade secrets. Use of this information
7 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
8 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
9 
10 #ifndef _HIO_UTILITY_DGN_2__02052008_1230_
11 #define _HIO_UTILITY_DGN_2__02052008_1230_
12 
13 #ifdef H_PACK_8
14 #pragma pack(push)
15 #pragma pack(8)
16 #endif
17 
18 #include "HTools.h"
19 #include "HIOManager.h"
20 
21 
22 #ifdef HIO_DGN
23 #define HIO_API __declspec (dllexport)
24 #else
25 #define HIO_API
26 #endif
27 
34 class HIO_API HIOUtilityDGN : public HInputHandler
35 {
36 
37 
38 public:
39 
42  {
44  };
45 
46  ~HIOUtilityDGN() {;};
47 
50  HIORegisterInputType("DGN",this); // DGN (Bentley's CAD format)
51  HIORegisterInputType("dgn",this); // DGN (Bentley's CAD format)
52  };
53 
56  const char * GetOutputName() { return "HIOUtilityDGN"; }
57  const char * GetInputName() { return "HIOUtilityDGN"; }
58 
61 
63  const char * GetInputTypesString() {return "dgn";};
64 
71  HFileInputResult FileInputByKey(const char * FileName, HC_KEY key, HInputHandlerOptions * options);
72 
73  HFileInputResult FileInputByKey(const wchar_t * FileName, HC_KEY key, HInputHandlerOptions * options);
74 
81  HFileInputResult FileInputByKey(const unsigned short * FileName, HC_KEY key, HInputHandlerOptions * options);
82 
83 
85  void InitDGNDirect();
86 
88  void ShutdownDGNDirect();
89 
90 };
91 
92 #ifdef HIO_DGN
93 extern "C" {
94  HIO_API void * CreateInput(HIOManager *manager);
95  HIO_API void * CreateOutput(HIOManager *manager);
96  HIO_API void * CreateConnector(void *unused);
97  HIO_API void Free(HIOUtilityDGN *);
98  HIO_API void FreeConnector(HIOConnector *connector);
99 }
100 #endif
101 
102 
103 
104 #ifdef H_PACK_8
105 #pragma pack(pop)
106 #endif
107 
108 #endif //_HIO_UTILITY_DGN_2__02052008_1230_
109 
110 
111 
112 
113 
114 
Definition: HIOManager.h:1412
Specifies an HInputHandler for model data.
Definition: HIOManager.h:225
virtual HFileInputResult FileInputByKey(const char *filename, HC_KEY key, HInputHandlerOptions *options)
Definition: HIOManager.h:147
HInputHandler an abstract base class for model and image input.
Definition: HIOManager.h:671
const char * GetInputTypesString()
Definition: HIOUtilityDGN.h:63
HIOUtilityDGN()
Definition: HIOUtilityDGN.h:41
#define HIORegisterInputType(type, input_object)
Definition: HIOManager.h:84
HInputHandlerStyle GetInputStyle()
Definition: HIOUtilityDGN.h:60
Definition: HIOUtilityDGN.h:34
HInputHandlerStyle
Definition: HIOManager.h:224
const char * GetOutputName()
Definition: HIOUtilityDGN.h:56
#define HInputOpFileInputByKey
This HInputHandler supports input to a segment key.
Definition: HIOManager.h:57
void RegisterInputHandlerTypes()
Definition: HIOUtilityDGN.h:49
Definition: HIOManager.h:245
void SetInputOps(unsigned long ops)
This sets the HInputOp.
Definition: HIOManager.h:840
A header file containing the HIO classes for passing to HBaseView::FileInput and HBaseView::FileOutpu...
const char * GetInputName()
Definition: HIOUtilityDGN.h:57