Properties Class Reference

a class for storing general key/values pairs. Intended as a mechanism to persist data from Lua scripts More...

#include <typen.h>

List of all members.

Public Member Functions

ASCString getValue (const ASCString &key)
void setValue (const ASCString &key, const ASCString &value)
void write (tnstream &stream) const
void read (tnstream &stream)


Detailed Description

a class for storing general key/values pairs. Intended as a mechanism to persist data from Lua scripts

Definition at line 272 of file typen.h.


Member Function Documentation

ASCString Properties::getValue ( const ASCString key  ) 

Definition at line 356 of file typen.cpp.

void Properties::setValue ( const ASCString key,
const ASCString value 
)

Definition at line 361 of file typen.cpp.

void Properties::write ( tnstream stream  )  const

Definition at line 366 of file typen.cpp.

References tnstream::writeInt(), and tnstream::writeString().

Referenced by GameMap::write().

void Properties::read ( tnstream stream  ) 

Definition at line 376 of file typen.cpp.

References tnstream::readInt(), and tnstream::readTextString().

Referenced by GameMap::read().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:47:16 2012 for Advanced Strategic Command by  doxygen 1.5.1