# HIOUtilityHTML

## Functions

| `HIOUtilityHTML`
| `~HIOUtilityHTML`
void | `RegisterOutputHandlerTypes`
const char * | `GetOutputName`
const char * | `GetOutputTypesString`
`HOutputHandlerStyle` | `GetOutputStyle`
HFileOutputResult | `FileOutputByKey`
HFileOutputResult | `FileOutputByKey`
HFileOutputResult | `FileOutputByKey`

## Detailed Description

class HIOUtilityHTML : public HOutputHandler

  The HIOUtilityHTML class is used for exporting models from the Visualize Database to HTML format. Please note, this feature is only available for 64-bit Windows, and is only available through pre-compiled binaries (i.e., source code isn’t available for HIOUtilityHTML).

  Public Functions

  inline HIOUtilityHTML()

    Constructs an HIOUtility object.

  inline virtual ~HIOUtilityHTML()
  virtual void RegisterOutputHandlerTypes()

    This method registers the appropriate extensions to this handler as an input handler.

  inline virtual const char *GetOutputName()
    Returns

      A character pointer denoting the name of the handler.

  inline virtual const char *GetOutputTypesString()
    Returns

      The output extension type.

  inline virtual HOutputHandlerStyle GetOutputStyle()
    Returns

      The HOutputHandlerStyle that this instance will use. Currently, this will always be HOutputHandlerStyleModel.

  virtual HFileOutputResult FileOutputByKey(const __wchar_t *filename, HC_KEY key, HOutputHandlerOptions *options)

    This method writes model data from a given HOOPS key to a given output file. Note that this must be implemented in a subclassed HOutputHandler instance handling models.

    Parameters

      - filename – The wide character name of the file to output.

      - key – The HOOPS segment key to get output model data from.

      - options – The HOutputHandlerOptions object containing any additional information for the operation.

    Returns

      The HFileOutputResult result of the output operation.

  virtual HFileOutputResult FileOutputByKey(const unsigned short *filename, HC_KEY key, HOutputHandlerOptions *options)

    This method writes model data from a given HOOPS key to a given output file. Note that this must be implemented in a subclassed HOutputHandler instance handling models.

    Parameters

      - filename – The wide character name of the file to output.

      - key – The HOOPS segment key to get output model data from.

      - options – The HOutputHandlerOptions object containing any additional information for the operation.

    Returns

      The HFileOutputResult result of the output operation.

  virtual HFileOutputResult FileOutputByKey(const char *filename, HC_KEY key, HOutputHandlerOptions *options)

    This method writes model data from a given HOOPS key to a given output file. Note that this must be implemented in a subclassed HOutputHandler instance handling models.

    Parameters

      - filename – The name of the file to output.

      - key – The HOOPS segment key to get output model data from.

      - options – The HOutputHandlerOptions object containing any additional information for the operation.

    Returns

      The HFileOutputResult result of the output operation.