Alida-C++ 0.1
|
Class for data I/O of strings via command line. More...
#include <ALDStringDataIO.h>
Public Member Functions | |
virtual | ~ALDStringDataIO () |
Default destructor. | |
virtual void * | readData (string, string) const |
Method to parse an input string. | |
virtual string | writeData (std::string, std::string, void *) const |
Method to format a string for proper output. |
Class for data I/O of strings via command line.
Definition at line 49 of file ALDStringDataIO.h.
virtual Alida::ALDStringDataIO::~ALDStringDataIO | ( | ) | [inline, virtual] |
Default destructor.
Definition at line 54 of file ALDStringDataIO.h.
void * ALDStringDataIO::readData | ( | string | input, |
string | type | ||
) | const [virtual] |
Method to parse an input string.
This function transfers the given input string into a string object.
input | Input string to be processed. |
type | Identifier string for requested object type. |
Implements Alida::ALDDataIOCmdline.
Definition at line 63 of file ALDStringDataIO.cc.
string ALDStringDataIO::writeData | ( | std::string | input, |
std::string | type, | ||
void * | data | ||
) | const [virtual] |
Method to format a string for proper output.
This function formats the given string for output on console.
input | Input string to be put out. |
type | Identifier string for requested object type. |
data | Data object to be converted to string representation. |
Implements Alida::ALDDataIOCmdline.
Definition at line 77 of file ALDStringDataIO.cc.