HIOUtilityDwfImport.h
1 // Copyright (c) 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 _HW3D_UTILITY_DWFIMPORT_H__RAJESH_B__20060504_1159__
11 #define _HW3D_UTILITY_DWFIMPORT_H__RAJESH_B__20060504_1159__
12 
13 #include "HTools.h"
14 #include "HIOManager.h"
15 #include "HW3DStream.h"
16 
17 #if defined(_MSC_VER) && defined(HIO_DWF_IMPORT)
18 #define HIO_API __declspec (dllexport)
19 #else
20 #define HIO_API
21 #endif
22 
28 class HIO_API HIOUtilityDwfImport : public HInputHandler
29 {
30 public:
32  {
34  };
35 
36  ~HIOUtilityDwfImport() {;};
37 
39  HIORegisterInputType("DWF",this); // DWF (Autodesk's Design Web Format)
40  HIORegisterInputType("dwf",this); // DWF (Autodesk's Design Web Format)
41  HIORegisterInputType("DWFX",this); // DWF (Autodesk's Design Web Format for XPS)
42  HIORegisterInputType("dwfx",this); // DWF (Autodesk's Design Web Format for XPS)
43  };
46  const char * GetOutputName() { return "HIOUtilityDwfImport"; }
47  const char * GetInputName() { return "HIOUtilityDwfImport"; }
48 
50  const char * GetInputTypesString() {return "dwf";};
51 
58  HFileInputResult FileInputByKey(const wchar_t * FileName, HC_KEY key, HInputHandlerOptions * options);
59 
60  HFileInputResult FileInputByKey(const char * FileName, HC_KEY key, HInputHandlerOptions * options){
61  return FileInputByKey(H_WCS(FileName).encodedText(), key, options);
62  };
63 };
64 
65 #endif // _HW3D_UTILITY_DWFIMPORT_H__RAJESH_B__20060504_1159__
66 
67 
68 
69 
70 
Specifies an HInputHandler for model data.
Definition: HIOManager.h:226
Definition: HIOUtilityDwfImport.h:28
virtual HFileInputResult FileInputByKey(const char *filename, HC_KEY key, HInputHandlerOptions *options)
HInputHandler an abstract base class for model and image input.
Definition: HIOManager.h:655
HInputHandlerStyle GetInputStyle()
Definition: HIOUtilityDwfImport.h:49
#define HIORegisterInputType(type, input_object)
Definition: HIOManager.h:85
const char * GetInputName()
Definition: HIOUtilityDwfImport.h:47
const char * GetOutputName()
Definition: HIOUtilityDwfImport.h:46
HInputHandlerStyle
Definition: HIOManager.h:225
void RegisterInputHandlerTypes()
Definition: HIOUtilityDwfImport.h:38
#define HInputOpFileInputByKey
This HInputHandler supports input to a segment key.
Definition: HIOManager.h:58
Definition: HIOManager.h:246
void SetInputOps(unsigned long ops)
This sets the HInputOp.
Definition: HIOManager.h:825
const char * GetInputTypesString()
Definition: HIOUtilityDwfImport.h:50
A header file containing the HIO classes for passing to HBaseView::FileInput and HBaseView::FileOutpu...