Module: Advanced Tools Package: Streams
RWStreamImp RWBodyBase
#include <rw/stream/RWStreamImp.h>
Abstract base class for all the stream implementation classes. Implements the body idiom from the handle-body pattern.
RWStreamImp();
Constructor.
RWStreamImp(const RWStreamImp&);
Copy construction is not allowed.
virtual ~RWStreamImp();
Destructor.
RWStreamImp& operator=(const RWStreamImp&);
Assignment is not allowed.
virtual void close() =0;
Closes the stream.
virtual bool isBad() const =0;
Returns true to indicate a loss of integrity resulting from an input or output operation, such as an irrecoverable read error from a file. Throws no exceptions.
virtual bool isFail() const =0;
Returns true to indicate that an input operation failed to read the expected data, or that an output operation failed to generate the desired data. Throws no exceptions.
virtual bool isGood() const =0;
Returns true to indicate a stream in a valid state. Throws no exceptions.
© 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.