This CStdOutStream derived class allow printing to standard out, normally the console text output.
Please notice CStdOutStream's are binary streams, so "char *" data types only should be used if textual outputs are desired.
Definition at line 47 of file CStdOutStream.h.
#include <mrpt/utils/CStdOutStream.h>
Public Member Functions | |
CStdOutStream () | |
Constructor. | |
virtual | ~CStdOutStream () |
Destructor. | |
uint64_t | Seek (long Offset, CStdOutStream::TSeekOrigin Origin=sFromBeginning) |
It has no efect in this class. | |
uint64_t | getTotalBytesCount () |
It has no efect in this class. | |
uint64_t | getPosition () |
It has no efect in this class. | |
Protected Member Functions | |
size_t | Read (void *Buffer, size_t Count) |
Method responsible for reading from the stream: In this class it has no effect. | |
size_t | Write (const void *Buffer, size_t Count) |
Method responsible for writing to the stream. |
mrpt::utils::CStdOutStream::CStdOutStream | ( | ) | [inline] |
Constructor.
Definition at line 63 of file CStdOutStream.h.
virtual mrpt::utils::CStdOutStream::~CStdOutStream | ( | ) | [inline, virtual] |
Destructor.
Definition at line 67 of file CStdOutStream.h.
uint64_t mrpt::utils::CStdOutStream::getPosition | ( | ) | [inline, virtual] |
It has no efect in this class.
Implements mrpt::utils::CStream.
Definition at line 81 of file CStdOutStream.h.
References THROW_EXCEPTION.
uint64_t mrpt::utils::CStdOutStream::getTotalBytesCount | ( | ) | [inline, virtual] |
It has no efect in this class.
Implements mrpt::utils::CStream.
Definition at line 76 of file CStdOutStream.h.
References THROW_EXCEPTION.
size_t mrpt::utils::CStdOutStream::Read | ( | void * | Buffer, |
size_t | Count | ||
) | [inline, protected, virtual] |
Method responsible for reading from the stream: In this class it has no effect.
Implements mrpt::utils::CStream.
Definition at line 53 of file CStdOutStream.h.
References THROW_EXCEPTION.
uint64_t mrpt::utils::CStdOutStream::Seek | ( | long | Offset, |
CStdOutStream::TSeekOrigin | Origin = sFromBeginning |
||
) | [inline, virtual] |
It has no efect in this class.
Implements mrpt::utils::CStream.
Definition at line 71 of file CStdOutStream.h.
References THROW_EXCEPTION.
size_t mrpt::utils::CStdOutStream::Write | ( | const void * | Buffer, |
size_t | Count | ||
) | [protected, virtual] |
Method responsible for writing to the stream.
Write attempts to write up to Count bytes to Buffer, and returns the number of bytes actually written.
Implements mrpt::utils::CStream.
Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN:exported at Tue Jan 25 21:56:31 UTC 2011 |