Alida-C++ 0.5
|
Data I/O provider for C++ build-in native data types. More...
#include <nativeDatatypesProvider.h>
Public Member Functions | |
virtual | ~NativeDatatypesProvider () |
Default destructor. | |
virtual void * | parseInput (std::string input, std::string type) const |
Function to parse data objects from input strings. | |
virtual std::string | writeOutput (std::string format, std::string type, void *data) const |
Function to transfer data into a suitable output string. |
Data I/O provider for C++ build-in native data types.
Class for data I/O of native data types via commandline. Native datatypes are
Definition at line 52 of file nativeDatatypesProvider.h.
virtual Alida::NativeDatatypesProvider::~NativeDatatypesProvider | ( | ) | [inline, virtual] |
Default destructor.
Definition at line 57 of file nativeDatatypesProvider.h.
void * NativeDatatypesProvider::parseInput | ( | std::string | input, |
std::string | type | ||
) | const [virtual] |
Function to parse data objects from input strings.
This function converts the given input string into an object of the requested data type.
input | Input string to be processed. |
type | Identifier string for requested object type. |
Implements Alida::ProviderCmdline.
Definition at line 85 of file nativeDatatypesProvider.cc.
string NativeDatatypesProvider::writeOutput | ( | std::string | format, |
std::string | type, | ||
void * | data | ||
) | const [virtual] |
Function to transfer data into a suitable output string.
This function transfers the given input data to an output string.
format | Formatting options for the output string. |
type | Identifier string for object type. |
data | Data object to put out. |
Implements Alida::ProviderCmdline.
Definition at line 120 of file nativeDatatypesProvider.cc.