NAMD
Public Member Functions | List of all members
datastream Class Reference

#include <DataStream.h>

Inheritance diagram for datastream:

Public Member Functions

 datastream ()
 
 ~datastream ()
 
void endd ()
 
datastreamoperator<< (std::ostream &(*f)(std::ostream &))
 
datastreamoperator<< (datastream &(*f)(datastream &))
 
 LOCALMOD (char)
 
 LOCALMOD (unsigned char)
 
 LOCALMOD (const char *)
 
 LOCALMOD (int)
 
 LOCALMOD (long)
 
 LOCALMOD (short)
 
 LOCALMOD (unsigned int)
 
 LOCALMOD (unsigned long)
 
 LOCALMOD (unsigned short)
 
 LOCALMOD (float)
 
 LOCALMOD (double)
 
 LOCALMOD (void *)
 
 LOCALMOD (std::streambuf *)
 

Detailed Description

Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.

Definition at line 16 of file DataStream.h.

Constructor & Destructor Documentation

datastream::datastream ( )
inline

Definition at line 19 of file DataStream.h.

19 {}
datastream::~datastream ( )
inline

Definition at line 20 of file DataStream.h.

20 {;}

Member Function Documentation

void datastream::endd ( )

Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.

Definition at line 18 of file DataStream.C.

References CollectionMgr::Object(), and CollectionMgr::sendDataStream().

Referenced by endd().

18  {
19  *this << std::ends;
20  std::string datastr = str();
21  CollectionMgr::Object()->sendDataStream(datastr.c_str());
22  str("");
23 }
static CollectionMgr * Object()
Definition: CollectionMgr.h:30
void sendDataStream(const char *)
datastream::LOCALMOD ( char  )

<< characters

datastream::LOCALMOD ( unsigned  char)
datastream::LOCALMOD ( const char *  )
datastream::LOCALMOD ( int  )

<< integers

datastream::LOCALMOD ( long  )
datastream::LOCALMOD ( short  )
datastream::LOCALMOD ( unsigned  int)
datastream::LOCALMOD ( unsigned  long)
datastream::LOCALMOD ( unsigned  short)
datastream::LOCALMOD ( float  )

<< floats

datastream::LOCALMOD ( double  )
datastream::LOCALMOD ( void )

<< pointers

datastream::LOCALMOD ( std::streambuf *  )
datastream& datastream::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

datastream<<ostream (hot to handle inherited modifiers)

Definition at line 26 of file DataStream.h.

26 { f(*this); return(*this); }
datastream& datastream::operator<< ( datastream &(*)(datastream &)  f)
inline

datastream<<datastream (how to handle class modifiers)

Definition at line 28 of file DataStream.h.

28 { return f(*this); }

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