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

BufStream.C File Reference

#include <assert.h>
#include <string.h>
#include "BufStream.H"
#include "Basics.H"

Go to the source code of this file.

Functions

 Basics::BufStreambuf::BufStreambuf (unsigned int initial_buf_len)
void Basics::BufStreambuf::update_get_pos ()
void Basics::BufStreambuf::update_put_pos ()
bool Basics::BufStreambuf::alloc_if_needed (unsigned int new_byte_count)
Basics::BufStreambuf::pos_type Basics::BufStreambuf::seekoff (off_type offset, seekdir way, openmode mode)
Basics::BufStreambuf::pos_type Basics::BufStreambuf::seekpos (pos_type pos, openmode mode)
int Basics::BufStreambuf::underflow ()
std::streamsize Basics::BufStreambuf::xsgetn (char *s, std::streamsize n)
int Basics::BufStreambuf::overflow (int c)
std::streamsize Basics::BufStreambuf::xsputn (const char *s, std::streamsize n)


Function Documentation

bool Basics::BufStreambuf::alloc_if_needed unsigned int  new_byte_count  ) 
 

Definition at line 49 of file BufStream.C.

References Basics::BufStreambuf::allocate_new_buf, Basics::BufStreambuf::buf, Basics::BufStreambuf::buf_len, Basics::BufStreambuf::delete_buf, Basics::BufStreambuf::get_pos, NEW_PTRFREE_ARRAY, Basics::BufStreambuf::put_pos, Basics::BufStreambuf::update_get_pos(), Basics::BufStreambuf::update_put_pos(), and Basics::BufStreambuf::valid_limit.

Basics::BufStreambuf::BufStreambuf unsigned int  initial_buf_len  ) 
 

Definition at line 27 of file BufStream.C.

int Basics::BufStreambuf::overflow int  c  ) 
 

Definition at line 262 of file BufStream.C.

References Basics::BufStreambuf::alloc_if_needed().

Basics::BufStreambuf::pos_type Basics::BufStreambuf::seekoff off_type  offset,
seekdir  way,
openmode  mode
 

Definition at line 110 of file BufStream.C.

References Basics::BufStreambuf::buf, Basics::BufStreambuf::buf_len, Basics::BufStreambuf::get_pos, Basics::BufStreambuf::put_pos, Basics::BufStreambuf::update_get_pos(), Basics::BufStreambuf::update_put_pos(), and Basics::BufStreambuf::valid_limit.

Basics::BufStreambuf::pos_type Basics::BufStreambuf::seekpos pos_type  pos,
openmode  mode
 

Definition at line 171 of file BufStream.C.

References Basics::BufStreambuf::buf, Basics::BufStreambuf::buf_len, Basics::BufStreambuf::get_pos, Basics::BufStreambuf::put_pos, Basics::BufStreambuf::update_put_pos(), and Basics::BufStreambuf::valid_limit.

int Basics::BufStreambuf::underflow  ) 
 

Definition at line 208 of file BufStream.C.

References Basics::BufStreambuf::buf, Basics::BufStreambuf::get_pos, Basics::BufStreambuf::update_get_pos(), Basics::BufStreambuf::update_put_pos(), and Basics::BufStreambuf::valid_limit.

void Basics::BufStreambuf::update_get_pos  ) 
 

Definition at line 35 of file BufStream.C.

References Basics::BufStreambuf::buf, and Basics::BufStreambuf::get_pos.

void Basics::BufStreambuf::update_put_pos  ) 
 

Definition at line 41 of file BufStream.C.

References Basics::BufStreambuf::buf, Basics::BufStreambuf::put_pos, and Basics::BufStreambuf::valid_limit.

std::streamsize Basics::BufStreambuf::xsgetn char *  s,
std::streamsize  n
 

Definition at line 231 of file BufStream.C.

References Basics::BufStreambuf::buf, Basics::BufStreambuf::get_pos, Basics::BufStreambuf::update_get_pos(), Basics::BufStreambuf::update_put_pos(), and Basics::BufStreambuf::valid_limit.

std::streamsize Basics::BufStreambuf::xsputn const char *  s,
std::streamsize  n
 

Definition at line 283 of file BufStream.C.

References Basics::BufStreambuf::alloc_if_needed().


Generated on Mon May 8 00:49:00 2006 for Vesta by  doxygen 1.4.2