Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HIOUtilityDwfImport.h
1 //
2 // Copyright (c) 2005 by Tech Soft 3D, LLC.
3 // The information contained herein is confidential and proprietary to
4 // Tech Soft 3D, LLC., and considered a trade secret as defined under
5 // civil and criminal statutes. Tech Soft 3D shall pursue its civil
6 // and criminal remedies in the event of unauthorized use or misappropriation
7 // of its trade secrets. Use of this information by anyone other than
8 // authorized employees of Tech Soft 3D, LLC. is granted only under a
9 // written non-disclosure agreement, expressly prescribing the scope and
10 // manner of such use.
11 //
12 
13 
14 #ifndef _HW3D_UTILITY_DWFIMPORT_H__RAJESH_B__20060504_1159__
15 #define _HW3D_UTILITY_DWFIMPORT_H__RAJESH_B__20060504_1159__
16 
17 #include "HTools.h"
18 #include "HIOManager.h"
19 #include "HW3DStream.h"
20 
21 #if defined(_MSC_VER) && defined(HIO_DWF_IMPORT)
22 #define HIO_API __declspec (dllexport)
23 #else
24 #define HIO_API
25 #endif
26 
32 class HIO_API HIOUtilityDwfImport : public HInputHandler
33 {
34 public:
36  {
38  };
39 
40  ~HIOUtilityDwfImport() {;};
41 
43  HIORegisterInputType("DWF",this); // DWF (Autodesk's Design Web Format)
44  HIORegisterInputType("dwf",this); // DWF (Autodesk's Design Web Format)
45  HIORegisterInputType("DWFX",this); // DWF (Autodesk's Design Web Format for XPS)
46  HIORegisterInputType("dwfx",this); // DWF (Autodesk's Design Web Format for XPS)
47  };
50  const char * GetOutputName() { return "HIOUtilityDwfImport"; }
51  const char * GetInputName() { return "HIOUtilityDwfImport"; }
52 
54  const char * GetInputTypesString() {return "dwf";};
55 
62  HFileInputResult FileInputByKey(const wchar_t * FileName, HC_KEY key, HInputHandlerOptions * options);
63 
64  HFileInputResult FileInputByKey(const char * FileName, HC_KEY key, HInputHandlerOptions * options){
65  return FileInputByKey(H_WCS(FileName).encodedText(), key, options);
66  };
67 };
68 
69 #endif // _HW3D_UTILITY_DWFIMPORT_H__RAJESH_B__20060504_1159__
70 
71 
72 
73 
74 
Specifies an HInputHandler for model data.
Definition: HIOManager.h:227
Definition: HIOUtilityDwfImport.h:32
virtual HFileInputResult FileInputByKey(const char *filename, HC_KEY key, HInputHandlerOptions *options)
HInputHandler an abstract base class for model and image input.
Definition: HIOManager.h:667
HInputHandlerStyle GetInputStyle()
Definition: HIOUtilityDwfImport.h:53
#define HIORegisterInputType(type, input_object)
Definition: HIOManager.h:87
const char * GetInputName()
Definition: HIOUtilityDwfImport.h:51
const char * GetOutputName()
Definition: HIOUtilityDwfImport.h:50
HInputHandlerStyle
Definition: HIOManager.h:226
void RegisterInputHandlerTypes()
Definition: HIOUtilityDwfImport.h:42
HFileInputResult FileInputByKey(const char *FileName, HC_KEY key, HInputHandlerOptions *options)
Definition: HIOUtilityDwfImport.h:64
#define HInputOpFileInputByKey
This HInputHandler supports input to a segment key.
Definition: HIOManager.h:60
Definition: HIOManager.h:247
void SetInputOps(unsigned long ops)
This sets the HInputOp.
Definition: HIOManager.h:836
const char * GetInputTypesString()
Definition: HIOUtilityDwfImport.h:54
A header file containing the HIO classes for passing to HBaseView::FileInput and HBaseView::FileOutpu...