Tools.h++ Class Reference

Table Of Contents
Public Constructor
RWXDRistream(XDR* xp);
Initialize an RWXDRistream from the XDR structure xp.
RWXDristream(streambuf*);
Initialize RWXDRistream with a pointer to streambuf. Streambuf must be already
allocated.
RWXDRistream(istream&);
Initialize RWXDRistream with an input stream.
Public Destructor
~virtual RWXDRistream();
Deallocate previously allocated resources.
Public Member Functions
virtual int
get();
Redefined from class RWvistream. Gets and returns the next character from the XDR
input stream. If the operation fails, it sets the failbit and returns EOF.
virtual RWvistream&
get(char& c);
Redefined from class RWvistream. Gets the next character from the XDR input stream
and stores it in c. If the operation fails, it sets the failbit. This member only preserves
ASCII numerical codes, not the coresponding character symbol.
virtual RWvistream&
get(wchar_t& wc);
Redefined from class RWvistream. Gets the next wide character from the XDR input
stream and stores it in wc. If the operation fails, it sets the failbit.
virtual RWvistream&
get(unsigned char& c);
Redefined from class RWvistream. Gets the next unsigned character from the XDR input
stream and stores it in c. If the operation fails, it sets the failbit.
virtual RWvistream&
get(char* v, size_t N);
Redefined from class RWvistream. Gets a vector of N characters from the XDR input