MPQC
3.0.0-alpha
|
Convert data from other formats. More...
#include <util/state/translate.h>
Public Member Functions | |
TranslateDataIn (StateIn *s, TranslateData *t) | |
Input data will come from s. More... | |
virtual int | get (char *, int) |
Read and translate data. More... | |
virtual int | get (short *, int) |
virtual int | get (unsigned int *, int) |
virtual int | get (int *, int) |
virtual int | get (unsigned long *, int) |
virtual int | get (long *, int) |
virtual int | get (float *, int) |
virtual int | get (double *, int) |
TranslateData * | translator () |
Return the translator. | |
Protected Member Functions | |
int | getv (void *d, int s) |
Convert data from other formats.
The data is taken from a StateIn object.
sc::TranslateDataIn::TranslateDataIn | ( | StateIn * | s, |
TranslateData * | t | ||
) |
Input data will come from s.
The t argument will be deleted by this.
|
virtual |
Read and translate data.
A similar member exists for each basic type.