The common base class of Nebula.
Definition refcounted.h:38
Stream writer classes provide a specialized write-interface for a stream.
Definition streamwriter.h:22
bool streamWasOpen
Definition streamwriter.h:45
const Ptr< Stream > & GetStream() const
get currently set stream
Definition streamwriter.cc:49
bool IsOpen() const
return true if currently open
Definition streamwriter.h:53
__DeclareClass(StreamWriter)
virtual ~StreamWriter()
destructor
Definition streamwriter.cc:26
StreamWriter()
constructor
Definition streamwriter.cc:16
bool isOpen
Definition streamwriter.h:44
virtual void Close()
end reading from the stream
Definition streamwriter.cc:92
virtual bool Open()
begin reading from the stream
Definition streamwriter.cc:68
Ptr< Stream > stream
Definition streamwriter.h:43
bool HasStream() const
return true if a stream is set
Definition streamwriter.cc:59
void SetStream(const Ptr< Stream > &s)
set stream to write to
Definition streamwriter.cc:37
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Instances of wrapped stream classes.
Definition orientation.cc:10