All Frameworks  Class Hierarchy  This Framework  Next  Indexes

ENOVReportSolutionServer Class ENOVReportConverter

ENOVReportConverter
 

Usage: you can derive this class.


public class ENOVReportConverter

Abstract class to be derived to create a Report converter.
Role: This abstract class need to be derived to deliver a new Report Converter. The Online reporting solution will load dynamiclaly this class to enable to tranform a stream of data in a formatted stream that could be display in a html Viewer.


Constructor and Destructor Index


o ENOVReportConverter()
Constructs a ENOVReportConverter.
o ENOVReportConverter(ENOVReportConverter&)
Copy constructor.
o ~ENOVReportConverter()

Method Index


o ApplyLayout(char* const,char* const,char* const,char* const,int,char*&,char*&,int&,int&,char**&)
Applies a specific layout to a data stream.
o Create(char*)
Static method used to load dynamicaly a converter by name.
o operator=(ENOVReportConverter&)
Assignment operator from another object node.

Constructor and Destructor


o ENOVReportConverter
public ENOVReportConverter()
Constructs a ENOVReportConverter.
o ENOVReportConverter
public ENOVReportConverter( const ENOVReportConverter& ixConverter)
Copy constructor.
Parameters:
ixConverter
Object to be duplicated.
o ~ENOVReportConverter
public virtual ~ENOVReportConverter()

Methods


o ApplyLayout
public virtual HRESULT ApplyLayout( const char* const icLayoutName,
const char* const icParameters,
const char* const icIntStream,
const char* const icInMimeType,
int inInStreamLength,
char*& ocOutStream,
char*& ocOutMimeType,
int& onOutStreamLength,
int& onbOutFile,
char**& onOutFiles)= 0
Applies a specific layout to a data stream.
Role: Transforms a input data stream in one stream that could be displayed with a specific layout in an html viewer.
Returns:
Error codes
Legal values: as a HRESULT.
Main returns code used:
  • S_OK If operation runs well
  • S_FALSE In case of errors
  • E_FAILED In case of errors
      Parameters:
      icLayoutName
      Name of the layout to be applied on the input stream.
      icParameters
      Converter parameter (Converter dependant).
      icIntStream
      Input stream.
      icInMimeType
      Mime-type of the input stream.
      inInStreamLength
      Input stream length in bytes.
      ocOutStream
      Output stream (Allocated by the.
      ocOutMimeType
      Mime-type of the input stream.
      onOutStreamLength
      Input stream length in bytes.
      onbOutFile
      Number of the files referenced in the output stream.
      onOutFiles
      Name of the files referencedin the output stream (Local files).
o Create
public static ENOVReportConverter * Create( const char* icConverterName)
Static method used to load dynamicaly a converter by name.
Role: Gets a pointer on one instance of a converter by the name of module that containt this class.
Returns:
Reference an ENOVReportConverter.
Legal values:
Return NULL if converter class not found in this library.
Parameters:
icConverterName
Name of library where to find the Report converter class.
o operator=
public const ENOVReportConverter & operator=( const ENOVReportConverter& ixConverter)
Assignment operator from another object node.
Parameters:
ixConverter
Object used as reference for the assignment.

This object is included in the file: ENOVReportConverter.h
If needed, your Imakefile.mk should include the module: ENO0RPT

Copyright © 2003, Dassault Systèmes. All rights reserved.