HIOUtilityIV.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 _HIOUTILITYIV_H
11 #define _HIOUTILITYIV_H
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 
23 class MVO_API HIOUtilityIV: public HInputHandler
24 {
25 
26 public:
27 
31  };
32  virtual ~HIOUtilityIV() {;};
33 
36  HIORegisterInputType("iv",this);
37  };
38 
41  const char * GetInputName() { return "HIOUtilityIV"; }
42 
44  const char * GetInputTypesString() {return "iv";};
45 
48 
56  HFileInputResult FileInputByKey(const __wchar_t * FileName, HC_KEY key, HInputHandlerOptions * options);
57 
58  HFileInputResult FileInputByKey(const char * FileName, HC_KEY key, HInputHandlerOptions * options){
59  return FileInputByKey(H_WCS(FileName).encodedText(), key, options);
60  };
61 
62  HFileInputResult FileInputByKey(const unsigned short * FileName, HC_KEY key, HInputHandlerOptions * options){
63  H_UTF16 utf16;
64  utf16.encodedText((utf16_char const*) FileName);
65  return FileInputByKey(H_WCS(utf16).encodedText(), key, options);
66  };
67 };
68 
69 #ifdef H_PACK_8
70 #pragma pack(pop)
71 #endif
72 
73 #endif
const char * GetInputName()
Definition: HIOUtilityIV.h:41
HIOUtilityIV()
Definition: HIOUtilityIV.h:29
void RegisterInputHandlerTypes()
Definition: HIOUtilityIV.h:35
Specifies an HInputHandler for model data.
Definition: HIOManager.h:226
virtual HFileInputResult FileInputByKey(const char *filename, HC_KEY key, HInputHandlerOptions *options)
Definition: HIOUtilityIV.h:23
HInputHandler an abstract base class for model and image input.
Definition: HIOManager.h:655
HInputHandlerStyle GetInputStyle()
Definition: HIOUtilityIV.h:47
#define HIORegisterInputType(type, input_object)
Definition: HIOManager.h:85
HInputHandlerStyle
Definition: HIOManager.h:225
const char * GetInputTypesString()
Definition: HIOUtilityIV.h:44
#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
A header file containing the HIO classes for passing to HBaseView::FileInput and HBaseView::FileOutpu...