Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Tools Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWvios

Module:  Essential Tools Module   Group:  Virtual Stream Classes


Does not inherit

Local Index

Members

Synopsis

#include <vstream.h>
(abstract base class)

Description

RWvios is an abstract base class. It defines an interface similar to the C++ streams class std::ios. However, unlike ios, it offers the advantage of not necessarily being associated with a std::streambuf.

This is useful for classes that cannot use a std::streambuf in their implementation. An example of such a class is RWXDRistream, where the XDR model does not permit streambuf functionality.

Specializing classes that do use std::streambufs in their implementation (such as RWpistream) can usually just return the corresponding std::ios function.

Persistence

None

Public Member Functions

virtual int
eof() = 0;
virtual int
fail() = 0; 
virtual int
bad() = 0; 
virtual int
good() = 0; 
virtual int
rdstate() = 0; 
virtual void
clear(int v=0) = 0; 
operator void*();


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.