MPQC  3.0.0-alpha
sc::TranslateDataIn Class Reference

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)
 
TranslateDatatranslator ()
 Return the translator.
 

Protected Member Functions

int getv (void *d, int s)
 

Detailed Description

Convert data from other formats.

The data is taken from a StateIn object.

Constructor & Destructor Documentation

◆ TranslateDataIn()

sc::TranslateDataIn::TranslateDataIn ( StateIn s,
TranslateData t 
)

Input data will come from s.

The t argument will be deleted by this.

Member Function Documentation

◆ get()

virtual int sc::TranslateDataIn::get ( char *  ,
int   
)
virtual

Read and translate data.

A similar member exists for each basic type.


The documentation for this class was generated from the following file:

Generated at Sun Jan 26 2020 23:24:13 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.