Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HIOUtilityIV.h
1 //
2 // Copyright (c) 2000 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 // $Id: 25a64989ee713289226d060a0871bbdd2d859144 $
13 //
14 
15 
16 #ifndef _HIOUTILITYIV_H
17 #define _HIOUTILITYIV_H
18 
19 #ifdef H_PACK_8
20 #pragma pack(push)
21 #pragma pack(8)
22 #endif
23 
24 #ifndef _WIN32_WCE
25 #include "HTools.h"
26 #include "HIOManager.h"
27 
30 class MVO_API HIOUtilityIV: public HInputHandler
31 {
32 
33 public:
34 
38  };
39  virtual ~HIOUtilityIV() {;};
40 
43  HIORegisterInputType("iv",this);
44  };
45 
48  const char * GetInputName() { return "HIOUtilityIV"; }
49 
51  const char * GetInputTypesString() {return "iv";};
52 
55 
63  HFileInputResult FileInputByKey(const __wchar_t * FileName, HC_KEY key, HInputHandlerOptions * options);
64 
65  HFileInputResult FileInputByKey(const char * FileName, HC_KEY key, HInputHandlerOptions * options){
66  return FileInputByKey(H_WCS(FileName).encodedText(), key, options);
67  };
68 
69  HFileInputResult FileInputByKey(const unsigned short * FileName, HC_KEY key, HInputHandlerOptions * options){
70  H_UTF16 utf16;
71  utf16.encodedText((utf16_char const*) FileName);
72  return FileInputByKey(H_WCS(utf16).encodedText(), key, options);
73  };
74 };
75 
76 #endif
77 
78 #ifdef H_PACK_8
79 #pragma pack(pop)
80 #endif
81 
82 #endif
const char * GetInputName()
Definition: HIOUtilityIV.h:48
HIOUtilityIV()
Definition: HIOUtilityIV.h:36
void RegisterInputHandlerTypes()
Definition: HIOUtilityIV.h:42
Specifies an HInputHandler for model data.
Definition: HIOManager.h:227
virtual HFileInputResult FileInputByKey(const char *filename, HC_KEY key, HInputHandlerOptions *options)
Definition: HIOUtilityIV.h:30
HInputHandler an abstract base class for model and image input.
Definition: HIOManager.h:667
HInputHandlerStyle GetInputStyle()
Definition: HIOUtilityIV.h:54
#define HIORegisterInputType(type, input_object)
Definition: HIOManager.h:87
HFileInputResult FileInputByKey(const unsigned short *FileName, HC_KEY key, HInputHandlerOptions *options)
Definition: HIOUtilityIV.h:69
HFileInputResult FileInputByKey(const char *FileName, HC_KEY key, HInputHandlerOptions *options)
Definition: HIOUtilityIV.h:65
HInputHandlerStyle
Definition: HIOManager.h:226
const char * GetInputTypesString()
Definition: HIOUtilityIV.h:51
#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
A header file containing the HIO classes for passing to HBaseView::FileInput and HBaseView::FileOutpu...