StreamOps.h File Reference

#include "types.h"
#include <string>
#include <sstream>
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  RDKit

Functions

void RDKit::appendPackedIntToStream (std::stringstream &ss, unsigned int num)
 Packs an integer and outputs it to a stream.
unsigned int RDKit::readPackedIntFromStream (std::stringstream &ss)
 Reads an integer from a stream in packed format and returns the result.
unsigned int RDKit::pullPackedIntFromString (const char *&text)
template<typename T>
void RDKit::streamWrite (std::ostream &ss, const T &val)
 does a binary write of an object to a stream
template<typename T>
void RDKit::streamRead (std::istream &ss, T &loc)
 does a binary read of an object from a stream
std::string RDKit::getLine (std::istream *inStream)
 grabs the next line from an instream and returns it.
std::string RDKit::getLine (std::istream &inStream)
 grabs the next line from an instream and returns it.


Generated on Sat May 24 08:36:33 2008 for RDCode by  doxygen 1.5.3