Assimp
v4.1. (December 2018)
|
Factory to extract a #DNA from the DNA1 file block in a BLEND file. More...
Public Member Functions | |
DNAParser (FileDatabase &db) | |
Bind the parser to a empty DNA and an input stream. More... | |
const Blender::DNA & | GetDNA () const |
Obtain a reference to the extracted DNA information. More... | |
void | Parse () |
Locate the DNA in the file and parse it. More... | |
Factory to extract a #DNA from the DNA1 file block in a BLEND file.
|
inline |
Bind the parser to a empty DNA and an input stream.
|
inline |
Obtain a reference to the extracted DNA information.
void DNAParser::Parse | ( | ) |
Locate the DNA in the file and parse it.
The input stream is expected to point to the beginning of the DN1 chunk at the time this method is called and is undefined afterwards.
DeadlyImportError | if the DNA cannot be read. |