Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

sc::TranslateDataOut Class Reference

Convert data to other formats. More...

#include <translate.h>

Collaboration diagram for sc::TranslateDataOut:

Collaboration graph
[legend]
List of all members.

Public Methods

 TranslateDataOut (StateOut *s, TranslateData *t)
 Write to s using the translation defined by t. More...

virtual ~TranslateDataOut ()
virtual int put (const char *, int)
 Translate and write the data. More...

virtual int put (const short *, int)
virtual int put (const unsigned int *, int)
virtual int put (const int *, int)
virtual int put (const long *, int)
virtual int put (const float *, int)
virtual int put (const double *, int)
TranslateDatatranslator ()
 Returns the translator.


Protected Methods

int putv (const void *d, int s)

Detailed Description

Convert data to other formats.

The generated data is inserted into a StateOut object.


Constructor & Destructor Documentation

sc::TranslateDataOut::TranslateDataOut StateOut   s,
TranslateData   t
 

Write to s using the translation defined by t.

The t argument will be deleted by this.


Member Function Documentation

virtual int sc::TranslateDataOut::put const char *   ,
int   
[virtual]
 

Translate and write the data.

A similar member exists for each basic type.


The documentation for this class was generated from the following file:
Generated at Fri Jan 10 08:17:12 2003 for MPQC 2.1.3 using the documentation package Doxygen 1.2.14.