Introduction

Getting Started

Programming Guides

API Reference

Additional Resources

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 #ifndef _WIN32_WCE
19 #include "HTools.h"
20 #include "HIOManager.h"
21 
24 class MVO_API HIOUtilityIV: public HInputHandler
25 {
26 
27 public:
28 
32  };
33  virtual ~HIOUtilityIV() {;};
34 
37  HIORegisterInputType("iv",this);
38  };
39 
42  const char * GetInputName() { return "HIOUtilityIV"; }
43 
45  const char * GetInputTypesString() {return "iv";};
46 
49 
57  HFileInputResult FileInputByKey(const __wchar_t * FileName, HC_KEY key, HInputHandlerOptions * options);
58 
59  HFileInputResult FileInputByKey(const char * FileName, HC_KEY key, HInputHandlerOptions * options){
60  return FileInputByKey(H_WCS(FileName).encodedText(), key, options);
61  };
62 
63  HFileInputResult FileInputByKey(const unsigned short * FileName, HC_KEY key, HInputHandlerOptions * options){
64  H_UTF16 utf16;
65  utf16.encodedText((utf16_char const*) FileName);
66  return FileInputByKey(H_WCS(utf16).encodedText(), key, options);
67  };
68 };
69 
70 #endif
71 
72 #ifdef H_PACK_8
73 #pragma pack(pop)
74 #endif
75 
76 #endif
const char * GetInputName()
Definition: HIOUtilityIV.h:42
HIOUtilityIV()
Definition: HIOUtilityIV.h:30
void RegisterInputHandlerTypes()
Definition: HIOUtilityIV.h:36
Specifies an HInputHandler for model data.
Definition: HIOManager.h:226
virtual HFileInputResult FileInputByKey(const char *filename, HC_KEY key, HInputHandlerOptions *options)
Definition: HIOUtilityIV.h:24
HInputHandler an abstract base class for model and image input.
Definition: HIOManager.h:655
HInputHandlerStyle GetInputStyle()
Definition: HIOUtilityIV.h:48
#define HIORegisterInputType(type, input_object)
Definition: HIOManager.h:85
HFileInputResult FileInputByKey(const unsigned short *FileName, HC_KEY key, HInputHandlerOptions *options)
Definition: HIOUtilityIV.h:63
HFileInputResult FileInputByKey(const char *FileName, HC_KEY key, HInputHandlerOptions *options)
Definition: HIOUtilityIV.h:59
HInputHandlerStyle
Definition: HIOManager.h:225
const char * GetInputTypesString()
Definition: HIOUtilityIV.h:45
#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...