LoaderFileTypeRegistry

Inheritance:

Methods of LoaderFileTypeRegistry:

getGlobalPtr
static LoaderFileTypeRegistry *LoaderFileTypeRegistry::get_global_ptr(void);

Description: Returns a pointer to the global LoaderFileTypeRegistry object.

getNumTypes
int LoaderFileTypeRegistry::get_num_types(void) const;

Description: Returns the total number of types registered.

getType
LoaderFileType *LoaderFileTypeRegistry::get_type(int n) const;

Description: Returns the nth type registered.

getTypeFromExtension
LoaderFileType *LoaderFileTypeRegistry::get_type_from_extension(string const &extension);

Description: Determines the type of the file based on the indicated extension (without a leading dot). Returns NULL if the extension matches no known file types.

write
void LoaderFileTypeRegistry::write(ostream &out, int indent_level = (0)) const;

Description: Writes a list of supported file types to the indicated output stream, one per line.