MapFormat Class Reference

A module that reads and writes a map in a specific format. More...

#include <imap.h>

Public Member Functions

 INTEGER_CONSTANT (Version, 2)
 STRING_CONSTANT (Name,"map")
virtual ~MapFormat ()
virtual void readGraph (scene::Node &root, TextInputStream &inputStream, EntityCreator &entityTable) const =0
 Read a map graph into root from outputStream, using entityTable to create entities.
virtual void writeGraph (scene::Node &root, GraphTraversalFunc traverse, TextOutputStream &outputStream) const =0
 Write the map graph obtained by applying traverse to root into outputStream.

Detailed Description

A module that reads and writes a map in a specific format.

Definition at line 61 of file imap.h.


Constructor & Destructor Documentation

virtual MapFormat::~MapFormat (  )  [inline, virtual]

Definition at line 66 of file imap.h.


Member Function Documentation

MapFormat::INTEGER_CONSTANT ( Version  ,
 
)
virtual void MapFormat::readGraph ( scene::Node &  root,
TextInputStream inputStream,
EntityCreator entityTable 
) const [pure virtual]

Read a map graph into root from outputStream, using entityTable to create entities.

MapFormat::STRING_CONSTANT ( Name  ,
"map"   
)
virtual void MapFormat::writeGraph ( scene::Node &  root,
GraphTraversalFunc  traverse,
TextOutputStream &  outputStream 
) const [pure virtual]

Write the map graph obtained by applying traverse to root into outputStream.


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

Generated by  doxygen 1.6.2