se_core::TextInputStream Class Reference

#include <TextInputStream.hpp>

Inheritance diagram for se_core::TextInputStream:

se_core::InputStream List of all members.

Public Member Functions

unsigned short readShort ()
unsigned short readDictionaryWord (short dictionaryId)
virtual unsigned int readHeaderCode ()=0
virtual unsigned short readLanguageCode ()=0
virtual int readInt ()=0
virtual float readFloat ()=0
virtual void readLine (char *dest, short maxLen)=0
virtual void readLine (String &dest)=0
virtual void readString (char *dest, short maxLen)=0
virtual void readString (String &dest)=0
virtual int readInfoCode ()=0
virtual int readPhraseType ()=0
virtual int readThingType ()=0
virtual void readShortArray (ShortArray &dest, int size)=0
virtual void readByteArray (ByteArray &dest, int size)=0
virtual void readCharArray (String &dest, int size)=0
virtual bool eof ()
virtual const char * name () const =0
int nameLen () const
int last (char ch, int start=-1) const
int basenameLen () const
const char * basename () const
const char * oneDirAndBasename () const
int extLen () const
const char * ext () const

Member Function Documentation

const char* se_core::InputStream::basename  )  const [inline, inherited]
 

Definition at line 100 of file InputStream.hpp.

Referenced by se_basic::WangAreaGridParser::parse().

int se_core::InputStream::basenameLen  )  const [inline, inherited]
 

Definition at line 89 of file InputStream.hpp.

Referenced by se_basic::SimpleAreaThingParser::parse().

virtual bool se_core::InputStream::eof  )  [inline, virtual, inherited]
 

Definition at line 58 of file InputStream.hpp.

Referenced by se_core::EmbeddedParser::parse(), se_core::CompositeParser::parse(), se_client::PlayerParser::parse(), se_basic::WangAreaGridParser::parse(), and se_basic::SimpleAreaThingParser::parse().

const char* se_core::InputStream::ext  )  const [inline, inherited]
 

Definition at line 139 of file InputStream.hpp.

int se_core::InputStream::extLen  )  const [inline, inherited]
 

Definition at line 125 of file InputStream.hpp.

Referenced by se_basic::WangAreaGridParser::parse().

int se_core::InputStream::last char  ch,
int  start = -1
const [inline, inherited]
 

Definition at line 71 of file InputStream.hpp.

virtual const char* se_core::InputStream::name  )  const [pure virtual, inherited]
 

Referenced by se_core::ParseManager::parse(), se_core::DictionaryParser::parse(), se_core::CompositeParser::parse(), se_core::ZoneComponentParser::parse(), se_core::ZoneAreaComponentParser::parse(), se_core::StatComponentParser::parse(), se_core::SpawnComponentParser::parse(), se_core::ScriptComponentParser::parse(), se_core::PhysicsComponentParser::parse(), se_core::CollisionComponentParser::parse(), se_ogre::O3dThingParser::parse(), se_ogre::O3dConfigParser::parse(), se_ogre::O3dAreaParser::parse(), se_client::LanguageParser::parse(), se_basic::WangAreaGridParser::parse(), se_basic::SimpleAreaParser::parse(), se_basic::SimpleActorParser::parse(), se_core::ParseManager::parseComponent(), se_ogre::O3dThingParser::parseThingInfo(), se_core::SpawnComponentParser::readSpawnPoint(), and se_basic::SimpleActorParser::readSpawnPoint().

int se_core::InputStream::nameLen  )  const [inline, inherited]
 

Definition at line 62 of file InputStream.hpp.

const char* se_core::InputStream::oneDirAndBasename  )  const [inline, inherited]
 

Definition at line 107 of file InputStream.hpp.

Referenced by se_basic::SimpleAreaThingParser::parse().

virtual void se_core::InputStream::readByteArray ByteArray dest,
int  size
[pure virtual, inherited]
 

Referenced by se_basic::NavMeshAreaParser::parse().

virtual void se_core::InputStream::readCharArray String dest,
int  size
[pure virtual, inherited]
 

unsigned short se_core::TextInputStream::readDictionaryWord short  dictionaryId  )  [virtual]
 

Implements se_core::InputStream.

Definition at line 30 of file TextInputStream.cpp.

References se_core::SimSchema::dictionary(), se_core::String::get(), and se_core::Dictionary::id().

virtual float se_core::InputStream::readFloat  )  [pure virtual, inherited]
 

Referenced by se_core::StatComponentParser::parse(), se_core::PhysicsComponentParser::parse(), se_ogre::O3dConfigParser::parse(), se_basic::SimpleActorParser::parse(), se_basic::SimpleActorParser::parsePos(), se_ogre::O3dThingParser::parseThingInfo(), se_core::SpawnComponentParser::readSpawnPoint(), and se_basic::SimpleActorParser::readSpawnPoint().

virtual unsigned int se_core::InputStream::readHeaderCode  )  [pure virtual, inherited]
 

Referenced by se_core::ParseManager::parse().

virtual int se_core::InputStream::readInfoCode  )  [pure virtual, inherited]
 

Referenced by se_core::DictionaryParser::parse(), se_core::CutsceneParser::parse(), se_core::CompositeParser::parse(), se_core::ZoneComponentParser::parse(), se_core::ZoneAreaComponentParser::parse(), se_core::StatComponentParser::parse(), se_core::SpawnComponentParser::parse(), se_core::ScriptComponentParser::parse(), se_core::PhysicsComponentParser::parse(), se_core::CollisionComponentParser::parse(), se_ogre::O3dThingParser::parse(), se_ogre::O3dConfigParser::parse(), se_ogre::O3dAreaParser::parse(), se_client::PlayerParser::parse(), se_client::LanguageParser::parse(), se_basic::WangAreaGridParser::parse(), se_basic::SimpleAreaThingParser::parse(), se_basic::SimpleAreaParser::parse(), se_basic::SignalComponentParser::parse(), se_basic::SimpleActorParser::parse(), se_basic::SimpleActorParser::parsePos(), se_ogre::O3dThingParser::parseThingInfo(), se_core::CutsceneParser::readScript(), se_core::SpawnComponentParser::readSpawnPoint(), and se_basic::SimpleActorParser::readSpawnPoint().

virtual int se_core::InputStream::readInt  )  [pure virtual, inherited]
 

Referenced by se_core::StatComponentParser::parse(), se_basic::SignalComponentParser::parse(), and readShort().

virtual unsigned short se_core::InputStream::readLanguageCode  )  [pure virtual, inherited]
 

Referenced by se_client::LanguageParser::parse().

virtual void se_core::InputStream::readLine String dest  )  [pure virtual, inherited]
 

virtual void se_core::InputStream::readLine char *  dest,
short  maxLen
[pure virtual, inherited]
 

Referenced by se_core::FileManager::loadBatch().

virtual int se_core::InputStream::readPhraseType  )  [pure virtual, inherited]
 

Referenced by se_client::LanguageParser::parse().

unsigned short se_core::TextInputStream::readShort  )  [inline, virtual]
 

Implements se_core::InputStream.

Definition at line 32 of file TextInputStream.hpp.

References se_core::InputStream::readInt().

virtual void se_core::InputStream::readShortArray ShortArray dest,
int  size
[pure virtual, inherited]
 

virtual void se_core::InputStream::readString String dest  )  [pure virtual, inherited]
 

virtual void se_core::InputStream::readString char *  dest,
short  maxLen
[pure virtual, inherited]
 

Referenced by se_core::DictionaryParser::parse(), se_core::CutsceneParser::parse(), se_core::CompositeParser::parse(), se_core::ZoneAreaComponentParser::parse(), se_core::StatComponentParser::parse(), se_core::ScriptComponentParser::parse(), se_core::PhysicsComponentParser::parse(), se_ogre::O3dThingParser::parse(), se_ogre::O3dConfigParser::parse(), se_ogre::O3dAreaParser::parse(), se_client::PlayerParser::parse(), se_client::LanguageParser::parse(), se_basic::WangAreaGridParser::parse(), se_basic::SimpleAreaThingParser::parse(), se_basic::SimpleAreaParser::parse(), se_basic::SignalComponentParser::parse(), se_basic::SimpleActorParser::parse(), se_basic::NavMeshAreaParser::parse(), se_ogre::O3dThingParser::parseThingInfo(), se_core::CutsceneParser::readMultiArea(), se_core::CutsceneParser::readMultiMember(), se_core::CutsceneParser::readMultiOwner(), se_core::CutsceneParser::readMultiQuest(), and se_core::CutsceneParser::readScript().

virtual int se_core::InputStream::readThingType  )  [pure virtual, inherited]
 

Implemented in se_core::BinaryInputStream.


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

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:25 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo