xoreos  0.0.5
Public Member Functions | Public Attributes | List of all members
Graphics::Aurora::Model_NWN::ParserContext Struct Reference
Collaboration diagram for Graphics::Aurora::Model_NWN::ParserContext:
Collaboration graph
[legend]

Public Member Functions

 ParserContext (const Common::UString &name, const Common::UString &t)
 
 ~ParserContext ()
 
bool findNode (const Common::UString &name, ModelNode *&node) const
 
void clear ()
 

Public Attributes

Common::SeekableReadStreammdl
 
Common::UString mdlName
 
State * state
 
bool isASCII
 
std::list< ModelNode * > nodes
 
Common::UString texture
 
uint32 offModelData
 
uint32 offRawData
 
bool hasPosition
 
bool hasOrientation
 
Common::StreamTokenizertokenize
 
std::vector< uint32anims
 

Detailed Description

Definition at line 51 of file model_nwn.h.

Constructor & Destructor Documentation

◆ ParserContext()

Graphics::Aurora::Model_NWN::ParserContext::ParserContext ( const Common::UString name,
const Common::UString t 
)

◆ ~ParserContext()

Graphics::Aurora::Model_NWN::ParserContext::~ParserContext ( )

Definition at line 147 of file model_nwn.cpp.

Member Function Documentation

◆ clear()

void Graphics::Aurora::Model_NWN::ParserContext::clear ( )

Definition at line 154 of file model_nwn.cpp.

Referenced by Graphics::Aurora::Model_NWN::addState(), and Graphics::Aurora::Model_NWN::newState().

Here is the caller graph for this function:

◆ findNode()

bool Graphics::Aurora::Model_NWN::ParserContext::findNode ( const Common::UString name,
ModelNode *&  node 
) const

Definition at line 163 of file model_nwn.cpp.

References Common::UString::empty().

Referenced by Graphics::Aurora::ModelNode_NWN_ASCII::load().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ anims

std::vector<uint32> Graphics::Aurora::Model_NWN::ParserContext::anims

Definition at line 71 of file model_nwn.h.

Referenced by Graphics::Aurora::Model_NWN::loadASCII().

◆ hasOrientation

bool Graphics::Aurora::Model_NWN::ParserContext::hasOrientation

◆ hasPosition

bool Graphics::Aurora::Model_NWN::ParserContext::hasPosition

◆ isASCII

bool Graphics::Aurora::Model_NWN::ParserContext::isASCII

Definition at line 58 of file model_nwn.h.

Referenced by Graphics::Aurora::Model_NWN::Model_NWN(), and ParserContext().

◆ mdl

Common::SeekableReadStream* Graphics::Aurora::Model_NWN::ParserContext::mdl

◆ mdlName

Common::UString Graphics::Aurora::Model_NWN::ParserContext::mdlName

◆ nodes

std::list<ModelNode *> Graphics::Aurora::Model_NWN::ParserContext::nodes

◆ offModelData

uint32 Graphics::Aurora::Model_NWN::ParserContext::offModelData

◆ offRawData

uint32 Graphics::Aurora::Model_NWN::ParserContext::offRawData

◆ state

State* Graphics::Aurora::Model_NWN::ParserContext::state

◆ texture

Common::UString Graphics::Aurora::Model_NWN::ParserContext::texture

◆ tokenize

Common::StreamTokenizer* Graphics::Aurora::Model_NWN::ParserContext::tokenize

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