Assimp v3.1.1 (June 2014)
Assimp::Blender::SectionParser Class Reference

Utility to read all master file blocks in turn. More...

#include <BlenderDNA.h>

Public Member Functions

const FileBlockHeadGetCurrent () const
 
void Next ()
 Advance to the next section. More...
 
 SectionParser (StreamReaderAny &stream, bool ptr64)
 

Public Attributes

FileBlockHead current
 
bool ptr64
 
StreamReaderAnystream
 

Detailed Description

Utility to read all master file blocks in turn.

Constructor & Destructor Documentation

◆ SectionParser()

Assimp::Blender::SectionParser::SectionParser ( StreamReaderAny stream,
bool  ptr64 
)
inline
Parameters
streamInout stream, must point to the first section in the file. Call Next() once to have it read.
ptr64Pointer size in file is 64 bits?

Member Function Documentation

◆ GetCurrent()

const FileBlockHead & Assimp::Blender::SectionParser::GetCurrent ( ) const
inline

◆ Next()

void SectionParser::Next ( )

Advance to the next section.

Exceptions
DeadlyImportErrorif the last chunk was passed.

Member Data Documentation

◆ current

FileBlockHead Assimp::Blender::SectionParser::current

◆ ptr64

bool Assimp::Blender::SectionParser::ptr64

◆ stream

StreamReaderAny& Assimp::Blender::SectionParser::stream

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