DataStream.h File Reference

#include "InfoStream.h"

Go to the source code of this file.

Classes

class  datastream

Defines

#define LOCALMOD(type)
#define iFILE   __FILE__<<'('<<__LINE__<<"): "
#define iINFOF   iINFO << iFILE
#define iWARNF   iWARN << iFILE
#define iERRORF   iERROR << iFILE
#define iDEBUGF   iDEBUG << iFILE

Functions

datastreamoperator<< (datastream &strm, const Vector &v1)
datastreamoperator<< (datastream &strm, const Tensor &t1)
datastreamendd (datastream &s)

Variables

datastream dout


Define Documentation

#define iDEBUGF   iDEBUG << iFILE

Definition at line 63 of file DataStream.h.

#define iERRORF   iERROR << iFILE

Definition at line 62 of file DataStream.h.

Referenced by PatchMap::registerPatch().

#define iFILE   __FILE__<<'('<<__LINE__<<"): "

Definition at line 59 of file DataStream.h.

#define iINFOF   iINFO << iFILE

Definition at line 60 of file DataStream.h.

#define iWARNF   iWARN << iFILE

Definition at line 61 of file DataStream.h.

#define LOCALMOD ( type   ) 

Value:

datastream& operator<<(type x) \
                { (std::ostream&)(*this) << x; return(*this); }

Definition at line 30 of file DataStream.h.


Function Documentation

datastream& endd ( datastream s  )  [inline]

modifiers

Definition at line 57 of file DataStream.h.

References datastream::endd().

00057 { s.endd(); return s; }

datastream& operator<< ( datastream strm,
const Tensor t1 
)

Definition at line 30 of file DataStream.C.

References Tensor::xx, Tensor::xy, Tensor::xz, Tensor::yx, Tensor::yy, Tensor::yz, Tensor::zx, Tensor::zy, and Tensor::zz.

00030                                                            {
00031        strm << t1.xx << " " << t1.xy << " " << t1.xz << " "
00032             << t1.yx << " " << t1.yy << " " << t1.yz << " "
00033             << t1.zx << " " << t1.zy << " " << t1.zz;
00034        return strm;
00035 }

datastream& operator<< ( datastream strm,
const Vector v1 
)

Definition at line 25 of file DataStream.C.

References Vector::x, Vector::y, and Vector::z.

00025                                                            {
00026        strm << v1.x << " " << v1.y << " " << v1.z;
00027        return strm;
00028 }


Variable Documentation

datastream dout

Definition at line 37 of file DataStream.C.


Generated on Tue Nov 21 01:17:16 2017 for NAMD by  doxygen 1.4.7