HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GA_FileFormatH9::PrimTypeXlate Class Referenceabstract

#include <GA_FileFormatH9.h>

Public Member Functions

virtual ~PrimTypeXlate ()
 
virtual unsigned getTypeH9 (const GA_PrimitiveDefinition &) const =0
 
virtual const char * getTokenH9 (const GA_PrimitiveDefinition &) const =0
 
virtual const
GA_PrimitiveDefinition
getFactoryDefinition (unsigned h9_primtype) const =0
 
virtual const
GA_PrimitiveDefinition
getFactoryDefinition (const char *h9_primtype_token) const =0
 

Detailed Description

An abstract class for mapping primitive definitions to an appropriate H9 primitive type or vice versa.

Definition at line 23 of file GA_FileFormatH9.h.

Constructor & Destructor Documentation

virtual GA_FileFormatH9::PrimTypeXlate::~PrimTypeXlate ( )
inlinevirtual

Definition at line 26 of file GA_FileFormatH9.h.

Member Function Documentation

virtual const GA_PrimitiveDefinition* GA_FileFormatH9::PrimTypeXlate::getFactoryDefinition ( unsigned  h9_primtype) const
pure virtual

Get the primitive definition to use when loading the specified H9 primitive type, specified either by type id or type token.

virtual const GA_PrimitiveDefinition* GA_FileFormatH9::PrimTypeXlate::getFactoryDefinition ( const char *  h9_primtype_token) const
pure virtual
virtual const char* GA_FileFormatH9::PrimTypeXlate::getTokenH9 ( const GA_PrimitiveDefinition ) const
pure virtual

Map the given GA_PrimitiveDefinition to the appropriate H9 primitive type token, if any. Returns 0 when no appropriate H9 type exists.

virtual unsigned GA_FileFormatH9::PrimTypeXlate::getTypeH9 ( const GA_PrimitiveDefinition ) const
pure virtual

Map the given GA_PrimitiveDefinition to the appropriate H9 primitive type, if any. Returns 0 when no appropriate H9 type exists.


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