Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

converterServer Class Reference

protected server of converters. More...

#include <converterServer.h>

List of all members.

Protected Methods

 converterServer ()
 constructor - call to define the converters, makes the algorithms.

virtual ~converterServer ()
 default destructor.

void load (std::string name)
 load (Persistent->Transient) a named class.

void save (std::string name)
 save (transiente->persistent) a named class.

virtual void addConverter (std::string name, converterVI* conv)
 add converter into the server.

virtual converterVIgetConverter (std::string name)
 returns the converter of a given name.

virtual void defineConverters ()
 virtual function to define the coverters to the server. More...

void makeAlgorithms ()
 make algorithms from the converters.


Private Attributes

serverVI<converterVI>* m_server
 server with the list of conveters.


Detailed Description

protected server of converters.

converterServers stores a collection of user defined converters and turns them into load/save algorithms

Definition at line 27 of file converterServer.h.


Constructor & Destructor Documentation

converterServer::converterServer ( ) [protected]

constructor - call to define the converters, makes the algorithms.

Definition at line 9 of file converterServer.cpp.

converterServer::~converterServer ( ) [inline, protected, virtual]

default destructor.

Definition at line 35 of file converterServer.h.


Member Function Documentation

void converterServer::addConverter ( std::string name,
converterVI * conv ) [inline, protected, virtual]

add converter into the server.

Definition at line 24 of file converterServer.cpp.

void converterServer::defineConverters ( ) [inline, protected, virtual]

virtual function to define the coverters to the server.

the method makeAlgorithms() should be executed after the definition of the converters

Definition at line 49 of file converterServer.h.

converterVI * converterServer::getConverter ( std::string name ) [inline, protected, virtual]

returns the converter of a given name.

Definition at line 15 of file converterServer.cpp.

void converterServer::load ( std::string name ) [inline, protected]

load (Persistent->Transient) a named class.

Definition at line 38 of file converterServer.h.

void converterServer::makeAlgorithms ( ) [protected]

make algorithms from the converters.

Definition at line 31 of file converterServer.cpp.

void converterServer::save ( std::string name ) [inline, protected]

save (transiente->persistent) a named class.

Definition at line 40 of file converterServer.h.


Member Data Documentation

serverVI<converterVI>* converterServer::m_server [private]

server with the list of conveters.

Definition at line 57 of file converterServer.h.


The documentation for this class was generated from the following files:
Generated at Fri Aug 18 12:57:40 2000 for centella framework by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000