#include <CompositeParser.hpp>
Inheritance diagram for se_core::CompositeParser:
Public Types | |
enum | ModuleCode { AREA = 'A', AREA_THINGS = 'B', RANDOM_AREA_THINGS = 'C', DICTIONARY = 'D', EMBEDDED = 'E', CONFIG = 'F', AREA_GRID = 'G', HEIGHTMAP_AREA = 'H', LANGUAGE = 'L', MENU = 'M', THING = 'O', SPEECH_POSITION = 'P', RANDOM_AREA = 'R', CUTSCENE = 'S', TERRAIN = 'T', PLAYER = 'X', PLUGIN = 'Z', SETTINGS = 'S' } |
enum | ModuleGroup { ENGINE = 'E', BASIC = 'B', CLIENT = 'C', SDL = 'S', GBA = 'G', OGRE = 'O', LOGIC = 'L', UI = 'U', GAME = 'X', FMOD = 'F', PHYSX = 'P' } |
Public Member Functions | |
CompositeParser (ParseManager &parser) | |
Constructor. | |
void | parse (InputStream &in) |
Parse a composite, calling component parsers as needed. | |
int | headerCode () |
const char * | headerCodeString () |
|
Definition at line 31 of file Parser.hpp. |
|
Definition at line 52 of file Parser.hpp. |
|
Constructor.
Definition at line 42 of file CompositeParser.cpp. |
|
Definition at line 38 of file Parser.cpp. Referenced by se_core::ParseManager::add(). |
|
Definition at line 45 of file Parser.cpp. Referenced by se_core::ParseManager::add(). |
|
Parse a composite, calling component parsers as needed. File format: EO01 L(evel)|A(rea)|T(hing)|E(existing thing) name [Z component_type] (component parser formatted data) [Z component_type] (component parser formatted data) [...] [Q} component_type must be registered in the dictionary DE_COMPONENT_TYPE. A parser for the component type must be registered in IoSchema::parsers(). Implements se_core::Parser. Definition at line 48 of file CompositeParser.cpp. References se_core::CompositeFactory::addComponent(), se_core::SpawnManager::addFactory(), AssertFatal, se_core::DE_COMPONENT_TYPE, se_core::InputStream::eof(), se_core::String::get(), LogFatal, se_core::InputStream::name(), se_core::ParseManager::parseComponent(), se_core::IoSchema::parser(), se_core::InputStream::readDictionaryWord(), se_core::InputStream::readInfoCode(), se_core::InputStream::readString(), se_core::SimSchema::spawnManager(), se_core::st_ACTOR, se_core::st_AREA, and se_core::st_LEVEL. |
Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:24 2007 by Doxygen version 1.3.9.1.