se_core::InputStream Class Reference

Input streaming base class. More...

#include <InputStream.hpp>

Inheritance diagram for se_core::InputStream:

se_core::BinaryInputStream se_core::TextInputStream List of all members.

Public Member Functions

virtual ~InputStream ()
virtual unsigned int readHeaderCode ()=0
virtual unsigned short readLanguageCode ()=0
virtual int readInt ()=0
virtual unsigned short readShort ()=0
virtual float readFloat ()=0
virtual unsigned short readDictionaryWord (short dictionaryId)=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

Detailed Description

Input streaming base class.

This class (or rather its subclasses BinaryInputStream and TextInputStream should be subclassed in a platform dependent layer).

Definition at line 33 of file InputStream.hpp.


Constructor & Destructor Documentation

virtual se_core::InputStream::~InputStream  )  [inline, virtual]
 

Definition at line 35 of file InputStream.hpp.


Member Function Documentation

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

Definition at line 100 of file InputStream.hpp.

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

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

Definition at line 89 of file InputStream.hpp.

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

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

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]
 

Definition at line 139 of file InputStream.hpp.

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

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]
 

Definition at line 71 of file InputStream.hpp.

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

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]
 

Definition at line 62 of file InputStream.hpp.

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

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]
 

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

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

virtual unsigned short se_core::InputStream::readDictionaryWord short  dictionaryId  )  [pure virtual]
 

Implemented in se_core::BinaryInputStream, and se_core::TextInputStream.

Referenced by se_core::CompositeParser::parse(), se_core::StatComponentParser::parse(), se_basic::SimpleActorParser::parse(), se_basic::SimpleActorParser::parsePos(), and se_ogre::O3dThingParser::parseThingInfo().

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

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]
 

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

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

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]
 

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

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

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

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

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

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

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

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

virtual unsigned short se_core::InputStream::readShort  )  [pure virtual]
 

Implemented in se_core::TextInputStream.

Referenced by se_core::DictionaryParser::parse(), se_core::ZoneComponentParser::parse(), se_core::ZoneAreaComponentParser::parse(), se_core::StatComponentParser::parse(), se_core::SpawnComponentParser::parse(), se_ogre::O3dConfigParser::parse(), se_client::PlayerParser::parse(), se_basic::WangAreaGridParser::parse(), se_basic::SimpleAreaThingParser::parse(), se_basic::SimpleAreaParser::parse(), se_basic::SimpleActorParser::parse(), se_basic::NavMeshAreaParser::parse(), se_basic::SimpleActorParser::parsePos(), se_ogre::O3dThingParser::parseThingInfo(), and se_core::CutsceneParser::readScript().

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

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

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

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]
 

Implemented in se_core::BinaryInputStream.


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

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