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

FP::FPStreambuf Class Reference

#include <FPStream.H>

List of all members.

Public Types

typedef std::streambuf::pos_type pos_type
typedef std::streambuf::off_type off_type
typedef std::ios_base::seekdir seekdir
typedef std::ios_base::openmode openmode

Public Member Functions

 FPStreambuf ()
 FPStreambuf (const FP::Tag &init_tag)
const FP::Tagget_tag () throw ()
pos_type seekoff (off_type offset, seekdir way, openmode mode=(std::ios::in|std::ios::out))
pos_type seekpos (pos_type pos, openmode mode=(std::ios::in|std::ios::out))

Protected Member Functions

int underflow ()
std::streamsize xsgetn (char *s, std::streamsize n)
int overflow (int c)
std::streamsize xsputn (const char *s, std::streamsize n)

Private Member Functions

void flush ()

Private Attributes

union {
   Word   unused
   char   bytes [sizeof(Word)]
buf
FP::Tag tag
unsigned int total_bytes


Member Typedef Documentation

typedef std::streambuf::off_type FP::FPStreambuf::off_type
 

Definition at line 35 of file FPStream.H.

typedef std::ios_base::openmode FP::FPStreambuf::openmode
 

Definition at line 37 of file FPStream.H.

typedef std::streambuf::pos_type FP::FPStreambuf::pos_type
 

Definition at line 34 of file FPStream.H.

typedef std::ios_base::seekdir FP::FPStreambuf::seekdir
 

Definition at line 36 of file FPStream.H.


Constructor & Destructor Documentation

FP::FPStreambuf::FPStreambuf  ) 
 

FP::FPStreambuf::FPStreambuf const FP::Tag init_tag  ) 
 


Member Function Documentation

void FP::FPStreambuf::flush  )  [private]
 

Referenced by FP::FPStreambuf::overflow(), FP::FPStreambuf::seekoff(), FP::FPStreambuf::seekpos(), FP::FPStreambuf::xsputn(), and get_tag().

const FP::Tag& FP::FPStreambuf::get_tag  )  throw () [inline]
 

Definition at line 58 of file FPStream.H.

References flush(), and tag.

Referenced by FP::FPStream::tag().

int FP::FPStreambuf::overflow int  c  )  [protected]
 

pos_type FP::FPStreambuf::seekoff off_type  offset,
seekdir  way,
openmode  mode = (std::ios::in|std::ios::out)
 

pos_type FP::FPStreambuf::seekpos pos_type  pos,
openmode  mode = (std::ios::in|std::ios::out)
 

int FP::FPStreambuf::underflow  )  [protected]
 

std::streamsize FP::FPStreambuf::xsgetn char *  s,
std::streamsize  n
[protected]
 

std::streamsize FP::FPStreambuf::xsputn const char *  s,
std::streamsize  n
[protected]
 


Member Data Documentation

union { ... } FP::FPStreambuf::buf [private]
 

Referenced by FP::FPStreambuf::flush().

char FP::FPStreambuf::bytes[sizeof(Word)] [private]
 

Definition at line 45 of file FPStream.H.

FP::Tag FP::FPStreambuf::tag [private]
 

Definition at line 48 of file FPStream.H.

Referenced by FP::FPStreambuf::flush(), FP::FPStreambuf::xsputn(), and get_tag().

unsigned int FP::FPStreambuf::total_bytes [private]
 

Definition at line 52 of file FPStream.H.

Referenced by FP::FPStreambuf::flush(), FP::FPStreambuf::seekoff(), FP::FPStreambuf::seekpos(), and FP::FPStreambuf::xsputn().

Word FP::FPStreambuf::unused [private]
 

Definition at line 44 of file FPStream.H.


The documentation for this class was generated from the following file:
Generated on Mon May 8 00:49:18 2006 for Vesta by  doxygen 1.4.2