Go to the documentation of this file.
   43         virtual size_t Read(
void* Buffer, 
size_t Count) = 0;
 
   48         virtual size_t Write(
const void* Buffer, 
size_t Count) = 0;
 
   66                 return Read(Buffer, Count);
 
   97         virtual int printf(
const char* fmt, ...)
 
  103         template <typename CONTAINER_TYPE>
 
  105                 const 
char* fmt, const CONTAINER_TYPE& V, 
char separator = ',')
 
  108                 const size_t N = V.size();
 
  109                 for (
size_t i = 0; i < N; i++)
 
  112                         if (i != (N - 1)) this->
printf(
"%c", separator);
 
  
TSeekOrigin
Used in CStream::Seek.
 
virtual int void printf_vector(const char *fmt, const CONTAINER_TYPE &V, char separator=',')
Prints a vector in the format [A,B,C,...] using CStream::printf, and the fmt string for each vector e...
 
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
virtual size_t Read(void *Buffer, size_t Count)=0
Introduces a pure virtual method responsible for reading from the stream.
 
virtual uint64_t getTotalBytesCount() const =0
Returns the total amount of bytes in the stream.
 
virtual size_t Write(const void *Buffer, size_t Count)=0
Introduces a pure virtual method responsible for writing to the stream.
 
unsigned __int64 uint64_t
 
#define MRPT_printf_format_check(_FMT_, _VARARGS_)
 
virtual size_t ReadBufferImmediate(void *Buffer, size_t Count)
Reads a block of bytes from the stream into Buffer, and returns the amound of bytes actually read,...
 
virtual uint64_t getPosition() const =0
Method for getting the current cursor position, where 0 is the first byte and TotalBytesCount-1 the l...
 
virtual uint64_t Seek(int64_t Offset, CStream::TSeekOrigin Origin=sFromBeginning)=0
Introduces a pure virtual method for moving to a specified position in the streamed resource.
 
GLsizei const GLchar ** string
 
virtual int printf(const char *fmt,...) MRPT_printf_format_check(2
Writes a string to the stream in a textual form.
 
bool getline(std::string &out_str)
Reads from the stream until a ' ' character is found ('\r' characters are ignored).
 
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
 
   |  Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |   |