ProtoMol - an object-oriented component based framework for Molecular Dynamics simulations.

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

std::stringbuf Class Reference

#include <sstream_local.h>

List of all members.

Public Types

typedef char char_type
typedef int int_type
typedef streampos pos_type
typedef streamoff off_type

Public Member Functions

 stringbuf (int which=ios::in|ios::out)
 stringbuf (const std::string &s, int which=ios::in|ios::out)
std::string str () const
void str (const std::string &s)

Protected Member Functions

virtual int sync ()
virtual int overflow (int=EOF)
virtual int underflow ()

Private Attributes

std::string buf
ios::open_mode mode
std::string::size_type rpos
streamsize bufsize
char defbuf


Detailed Description

Old port to support stringbuf


Member Typedef Documentation

typedef char std::stringbuf::char_type
 

typedef int std::stringbuf::int_type
 

typedef streamoff std::stringbuf::off_type
 

typedef streampos std::stringbuf::pos_type
 


Constructor & Destructor Documentation

std::stringbuf::stringbuf int  which = ios::in|ios::out  )  [inline, explicit]
 

std::stringbuf::stringbuf const std::string &  s,
int  which = ios::in|ios::out
[inline, explicit]
 


Member Function Documentation

int std::stringbuf::overflow int  = EOF  )  [inline, protected, virtual]
 

void std::stringbuf::str const std::string &  s  )  [inline]
 

std::string std::stringbuf::str  )  const [inline]
 

int std::stringbuf::sync  )  [inline, protected, virtual]
 

int std::stringbuf::underflow  )  [inline, protected, virtual]
 


Member Data Documentation

std::string std::stringbuf::buf [private]
 

streamsize std::stringbuf::bufsize [private]
 

char std::stringbuf::defbuf [private]
 

ios::open_mode std::stringbuf::mode [private]
 

std::string::size_type std::stringbuf::rpos [private]
 


The documentation for this class was generated from the following file: Last update: . GNU GENERAL PUBLIC LICENSE, copyrighted by the University of Notre Dame and the University of Bergen, Norway.