Public Member Functions | |
Constructors etc. | |
mocxxstream (std::ostream *ostreamptr) | |
mocxxstream (std::ostream &ostream) | |
virtual | ~mocxxstream (void) |
Output Methods | |
virtual bool | mflush (void) |
virtual bool | write (const char *buf, size_t n) |
virtual bool | putbyte (unsigned char c) |
virtual bool | puts (const char *s) |
virtual bool | puts (const std::string &s) |
virtual bool | vprintf (const char *fmt, va_list &ap) |
Public Member Functions inherited from mootio::mcxxstream< std::ostream > | |
mcxxstream (std::ostream *streamptr=__null) | |
mcxxstream (std::ostream &stream) | |
virtual | ~mcxxstream (void) |
virtual bool | valid (void) |
virtual bool | eof (void) |
Public Member Functions inherited from mootio::mstream | |
mstream (const std::string &myname="") | |
virtual | ~mstream (void) |
operator bool (void) | |
virtual std::string | errmsg (void) |
virtual bool | reopen (void) |
virtual bool | close (void) |
Public Member Functions inherited from mootio::mostream | |
mostream (void) | |
virtual | ~mostream (void) |
virtual bool | flush (void) |
bool | printf (const char *fmt,...) |
Public Attributes | |
char * | _printf_buffer |
persistent buffer for printf hack More... | |
ByteCount | _printf_buflen |
allocated size of _printf_buffer More... | |
Public Attributes inherited from mootio::mcxxstream< std::ostream > | |
std::ostream * | streamp |
pointer to underlying stream More... | |
Public Attributes inherited from mootio::mstream | |
std::string | name |
symbolic name of this stream More... | |
Wrapper for C++ output streams (std::ostream)
|
inline |
Default constructor
|
inline |
Reference-based constructor
|
inlinevirtual |
Destructor
|
inlinevirtual |
Flush all pending output
|
inlinevirtual |
Write
bytes from to the stream
Reimplemented from mootio::mostream.
|
inlinevirtual |
Write a single byte to the stream
Reimplemented from mootio::mostream.
|
inlinevirtual |
Write a C string to the stream
Reimplemented from mootio::mostream.
|
inlinevirtual |
Write a C++ string to the buffer
Reimplemented from mootio::mostream.
|
inlinevirtual |
printf() to the stream, va_list version (the real thing)
Reimplemented from mootio::mostream.
char* mootio::mocxxstream::_printf_buffer |
ByteCount mootio::mocxxstream::_printf_buflen |