#include <converterServer.h>
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 converterVI* | getConverter (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. |
converterServers stores a collection of user defined converters and turns them into load/save algorithms
defineConverters())
. makeAlgorithms()
. load()
and save()
method allows to transform from persistent to transient data or viceversa.
Definition at line 27 of file converterServer.h.
|
constructor - call to define the converters, makes the algorithms.
Definition at line 9 of file converterServer.cpp.
|
|
|
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.
|
|
|
|
|