RigsofRods
Soft-body Physics Simulation
Data Structures | Public Member Functions | Private Member Functions | Private Attributes
RoR::ODefParser Class Reference

#include <ODefFileFormat.h>

+ Collaboration diagram for RoR::ODefParser:

Data Structures

struct  ODefParserContext
 

Public Member Functions

void Prepare ()
 
bool ProcessLine (const char *line)
 
void ProcessOgreStream (Ogre::DataStream *stream)
 
std::shared_ptr< ODefFileFinalize ()
 Passes ownership. More...
 

Private Member Functions

bool ProcessCurrentLine ()
 
void ResetCBoxContext ()
 

Private Attributes

struct RoR::ODefParser::ODefParserContext m_ctx
 Parser context. More...
 
std::shared_ptr< ODefFilem_def
 
int m_line_number
 
const char * m_cur_line
 

Detailed Description

Definition at line 143 of file ODefFileFormat.h.

Member Function Documentation

◆ Finalize()

std::shared_ptr< ODefFile > ODefParser::Finalize ( )

Passes ownership.

Definition at line 61 of file ODefFileFormat.cpp.

+ Here is the caller graph for this function:

◆ Prepare()

void ODefParser::Prepare ( )

Definition at line 53 of file ODefFileFormat.cpp.

+ Here is the caller graph for this function:

◆ ProcessCurrentLine()

bool ODefParser::ProcessCurrentLine ( )
private

Definition at line 74 of file ODefFileFormat.cpp.

+ Here is the call graph for this function:

◆ ProcessLine()

bool ODefParser::ProcessLine ( const char *  line)

Definition at line 41 of file ODefFileFormat.cpp.

◆ ProcessOgreStream()

void ODefParser::ProcessOgreStream ( Ogre::DataStream *  stream)

Definition at line 30 of file ODefFileFormat.cpp.

+ Here is the caller graph for this function:

◆ ResetCBoxContext()

void ODefParser::ResetCBoxContext ( )
private

Definition at line 303 of file ODefFileFormat.cpp.

Field Documentation

◆ m_ctx

struct RoR::ODefParser::ODefParserContext RoR::ODefParser::m_ctx
private

Parser context.

◆ m_cur_line

const char* RoR::ODefParser::m_cur_line
private

Definition at line 177 of file ODefFileFormat.h.

◆ m_def

std::shared_ptr<ODefFile> RoR::ODefParser::m_def
private

Definition at line 175 of file ODefFileFormat.h.

◆ m_line_number

int RoR::ODefParser::m_line_number
private

Definition at line 176 of file ODefFileFormat.h.


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