Assimp  v3.1.1 (June 2014)
Assimp::MD5::MD5Parser Class Reference

Parses the block structure of MD5MESH and MD5ANIM files (but does no further processing) More...

Public Member Functions

 MD5Parser (char *buffer, unsigned int fileSize)
 Constructs a new MD5Parser instance from an existing buffer. More...
 
void ReportError (const char *error)
 
void ReportWarning (const char *warn)
 

Static Public Member Functions

static AI_WONT_RETURN void ReportError (const char *error, unsigned int line) AI_WONT_RETURN_SUFFIX
 Report a specific error message and throw an exception. More...
 
static void ReportWarning (const char *warn, unsigned int line)
 Report a specific warning. More...
 

Public Attributes

SectionList mSections
 List of all sections which have been read. More...
 

Detailed Description

Parses the block structure of MD5MESH and MD5ANIM files (but does no further processing)

Constructor & Destructor Documentation

MD5Parser::MD5Parser ( char *  buffer,
unsigned int  fileSize 
)

Constructs a new MD5Parser instance from an existing buffer.

Parameters
bufferFile buffer
fileSizeLength of the file in bytes (excluding a terminal 0)

Member Function Documentation

AI_WONT_RETURN void MD5Parser::ReportError ( const char *  error,
unsigned int  line 
)
static

Report a specific error message and throw an exception.

Parameters
errorError message to be reported
lineIndex of the line where the error occurred
void Assimp::MD5::MD5Parser::ReportError ( const char *  error)
inline
void MD5Parser::ReportWarning ( const char *  warn,
unsigned int  line 
)
static

Report a specific warning.

Parameters
warnWarn message to be reported
lineIndex of the line where the error occurred
void Assimp::MD5::MD5Parser::ReportWarning ( const char *  warn)
inline

Member Data Documentation

SectionList Assimp::MD5::MD5Parser::mSections

List of all sections which have been read.


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