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 . |
A module that reads and writes a map in a specific format.
Definition at line 61 of file imap.h.
MapFormat::INTEGER_CONSTANT | ( | Version | , | |
2 | ||||
) |
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
.