ConfigurationListManager< T, CONT > Class Template Reference

#include <configuration.h>

List of all members.


Detailed Description

template<class T, class CONT>
class ConfigurationListManager< T, CONT >

Configuration list manager interface; responsible for serializing/deserializing configuration choices in containers.

Parameters:
T Type of the container elements to serialise
CONT Type of the container we (de)serialise

Definition at line 45 of file configuration.h.


Public Member Functions

virtual ConfigurationObjectwriteConfigItem (T value, ConfigurationObject *obj)=0
 Writes a value into a configuration object.
virtual CONT readConfigItem (ConfigurationObject *obj, CONT container)=0
 Reads a value from a configuration object.

Member Function Documentation

template<class T, class CONT>
virtual ConfigurationObject* ConfigurationListManager< T, CONT >::writeConfigItem ( value,
ConfigurationObject obj 
) [pure virtual]

Writes a value into a configuration object.

Parameters:
value The value to write out
obj The configuation object to write to
Returns:
obj, or otherwise NULL to indicate that this option should be skipped

Implemented in PlayerConfSerialiser.

template<class T, class CONT>
virtual CONT ConfigurationListManager< T, CONT >::readConfigItem ( ConfigurationObject obj,
CONT  container 
) [pure virtual]

Reads a value from a configuration object.

Parameters:
obj The configuration object to read from
container The container to insert the object to

Implemented in PlayerConfSerialiser.


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

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5