Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HIOUtilityPrc Class Reference

#include <HIOUtilityPrc.h>

Inheritance diagram for HIOUtilityPrc:

HInputHandler

List of all members.

Public Member Functions

HFileInputResult FileInputByKey (const unsigned short *FileName, HC_KEY key, HInputHandlerOptions *options)
HFileInputResult FileInputByKey (const char *FileName, HC_KEY key, HInputHandlerOptions *options)
HFileInputResult FileInputByKey (const __wchar_t *FileName, HC_KEY key, HInputHandlerOptions *options)
const char * GetInputName ()
HInputHandlerStyle GetInputStyle ()
const char * GetInputTypesString ()
const char * GetOutputName ()
 HIOUtilityPrc ()
void RegisterInputHandlerTypes ()

Classes

struct  include_list
struct  prc_info


Detailed Description

The HIOUtilityPrc allows you to read PRC files.

Constructor & Destructor Documentation

HIOUtilityPrc::HIOUtilityPrc (  )  [inline]

Constructs an HIOUtilityPrc object.

References HInputOpFileInputByKey, and HInputHandler::SetInputOps().


Member Function Documentation

HFileInputResult HIOUtilityPrc::FileInputByKey ( const unsigned short *  filename,
HC_KEY  key,
HInputHandlerOptions options 
) [inline, virtual]

This method loads model data from a given file to a given HOOPS segment key. Note that this must be implemented in a subclassed HInputHandler instance handling models.

Parameters:
filename The UNICODE name of the file to load.
key The HOOPS segment key to load model data into.
options An options class containing any needed extra information for the operation.
Returns:
The HFileInputResult result of the input operation.

Reimplemented from HInputHandler.

References HInputHandler::FileInputByKey().

HFileInputResult HIOUtilityPrc::FileInputByKey ( const char *  filename,
HC_KEY  key,
HInputHandlerOptions options 
) [inline, virtual]

This method loads model data from a given file to a given HOOPS segment key. Note that this must be implemented in a subclassed HInputHandler instance handling models.

Parameters:
filename The name of the file to load.
key The HOOPS segment key to load model data into.
options An options class containing any needed extra information for the operation.
Returns:
The HFileInputResult result of the input operation.

Reimplemented from HInputHandler.

References HInputHandler::FileInputByKey().

HFileInputResult HIOUtilityPrc::FileInputByKey ( const __wchar_t *  FileName,
HC_KEY  key,
HInputHandlerOptions options 
) [virtual]

This method reads a PRC file.

Parameters:
filename The name of the file to load.
key The HOOPS segment key to load model data into.
options This parameter is currently not being used.
Returns:
The HFileInputResult result of the input operation.

Reimplemented from HInputHandler.

const char* HIOUtilityPrc::GetInputName (  )  [inline, virtual]

Returns:
A character pointer denoting the name of the input handler.

Implements HInputHandler.

HInputHandlerStyle HIOUtilityPrc::GetInputStyle (  )  [inline, virtual]

Returns:
The type of input style which is HInputHandlerStyleModel.

Implements HInputHandler.

References HInputHandlerStyleModel.

const char* HIOUtilityPrc::GetInputTypesString (  )  [inline, virtual]

Returns:
The input extension type that is handled by HIOUtilityPrc which is "prc".

Implements HInputHandler.

const char* HIOUtilityPrc::GetOutputName (  )  [inline]

Returns:
A character pointer denoting the name of the handler.

void HIOUtilityPrc::RegisterInputHandlerTypes (  )  [inline, virtual]

This method registers the "prc" extension to this handler as an input handler.

Implements HInputHandler.

References HIORegisterInputType.


The documentation for this class was generated from the following file: