10 #ifndef STRIOSTREAM_H_
11 #define STRIOSTREAM_H_
size_t readPos_
Definition: StrIOStream.h:99
virtual OutStream & write(const char *buffer, size_t num)
writes num bytes from buffer to the output buffer/stream
Definition: StrIOStream.h:84
This is a rather abstract class that can be implemented by classes that want to send and receive stre...
Definition: IOStream.h:30
size_t size() const
Definition: Str.h:200
virtual bool isReadable()
indicates whether the stream can actually be read from.
Definition: StrIOStream.h:72
virtual ~StrIOStream()
Definition: StrIOStream.h:34
void clear()
Definition: StrIOStream.h:60
size_t length() const
Definition: Str.h:196
StrIOStream(Str &str)
Constructor.
Definition: StrIOStream.h:29
Contains the IOStream and NullIOStream class declarations.
virtual InStream & read(char *buffer, size_t num)
reads num bytes from stream to the buffer
Definition: StrIOStream.h:38
This is a very abstract class that can be implemented by classes that want to receive stream input...
Definition: InStream.h:29
virtual bool eof()
Indicates if the end of file has been reached.
Definition: StrIOStream.h:78
bool isWritable()
indicates whether the stream can actually be written to.
Definition: StrIOStream.h:92
Wraps a Str with an IOStream class.
Definition: StrIOStream.h:24
Replacement for standard template class string.
Definition: Str.h:12
const char * cStr() const
Definition: Str.h:188
Str & str_
Definition: StrIOStream.h:98
static const Str EMPTY_STR
Definition: Str.h:19
This is a very abstract class that can be implemented by classes that want to send stream output...
Definition: OutStream.h:41
size_t lastWritten_
Definition: OutStream.h:214
void setBytesRead(size_t lastRead)
Definition: InStream.h:205
const char * getName()
returns name of the stream
Definition: StrIOStream.h:55
void rewind()
Definition: StrIOStream.h:66