Public Member Functions

IParserLoader Class Reference

Search for all occurrences

Detailed Description

A core interface used to store parser DLLs found in the system.

#include <RTMax.h>

Inheritance diagram for IParserLoader:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual int  GetNumberOfParsers ()=0
  The total number of parsers found at startup.
virtual IEffectParser GetParser (ULONG parserID)=0
  Get a parser based on parser ID.
virtual void  LoadDLLs ()=0
  used by the system to load the parser DLLs from disk
virtual void  UnloadDLLs ()=0
  Used by the system to unload the DLLs.
virtual const MCHAR *  GetParserFilter (int index)=0
  Get the filter name. THis will be used in the open dialog boxes.
virtual const MCHAR *  GetParserExtension (int index)=0
  Get the file extension for the parser. THis will be used in the open dialog boxes.

Member Function Documentation

virtual int GetNumberOfParsers ( ) [pure virtual]

The total number of parsers found at startup.

Returns:
The number of parsers
virtual IEffectParser* GetParser ( ULONG  parserID ) [pure virtual]

Get a parser based on parser ID.

Parameters:
parserID The ID of the parser you are requesting
Returns:
An instance of the parser
virtual void LoadDLLs ( ) [pure virtual]

used by the system to load the parser DLLs from disk

virtual void UnloadDLLs ( ) [pure virtual]

Used by the system to unload the DLLs.

virtual const MCHAR* GetParserFilter ( int  index ) [pure virtual]

Get the filter name. THis will be used in the open dialog boxes.

Parameters:
index The index to the parser. Use GetNumberOfParsers to find the total number in the system
Returns:
A string with the extension. It will be in the form "Microsoft Direct3D Effects"
virtual const MCHAR* GetParserExtension ( int  index ) [pure virtual]

Get the file extension for the parser. THis will be used in the open dialog boxes.

Parameters:
index The index to the parser. Use GetNumberOfParsers to find the total number in the system
Returns:
A string with the extension. It will be in the form *.fx

IParserLoader IParserLoader IParserLoader IParserLoader IParserLoader IParserLoader IParserLoader IParserLoader IParserLoader IParserLoader
IParserLoader IParserLoader IParserLoader IParserLoader IParserLoader IParserLoader IParserLoader IParserLoader IParserLoader IParserLoader