Assimp  v3.1.1 (June 2014)
Assimp::IFF Namespace Reference

Classes

struct  ChunkHeader
 Describes an IFF chunk header. More...
 
struct  SubChunkHeader
 Describes an IFF sub chunk header. More...
 

Functions

ChunkHeader LoadChunk (uint8_t *&outFile)
 Load a chunk header. More...
 
SubChunkHeader LoadSubChunk (uint8_t *&outFile)
 Load a sub chunk header. More...
 
const char * ReadHeader (uint8_t *outFile, uint32_t &fileType)
 Read the file header and return the type of the file and its size. More...
 

Function Documentation

§ LoadChunk()

ChunkHeader Assimp::IFF::LoadChunk ( uint8_t *&  outFile)
inline

Load a chunk header.

Parameters
outFilePointer to the file data - points to the chunk data afterwards
Returns
Copy of the chunk header

§ LoadSubChunk()

SubChunkHeader Assimp::IFF::LoadSubChunk ( uint8_t *&  outFile)
inline

Load a sub chunk header.

Parameters
outFilePointer to the file data - points to the chunk data afterwards
Returns
Copy of the sub chunk header

§ ReadHeader()

const char* Assimp::IFF::ReadHeader ( uint8_t outFile,
uint32_t fileType 
)
inline

Read the file header and return the type of the file and its size.

Parameters
outFilePointer to the file data. The buffer must at least be 12 bytes large.
fileTypeReceives the type of the file
Returns
0 if everything was OK, otherwise an error message