#include <RawStreamInterface.h>
Definition at line 19 of file RawStreamInterface.h.
Public Member Functions | |
virtual FileSizeT | size () |
virtual FileOffsetT | tell () |
virtual bool | opened () |
virtual bool | ready (int t=100)=0 |
virtual void | open (const String &path)=0 |
virtual void | close ()=0 |
virtual void | seek (FileOffsetT _pos)=0 |
virtual void | seekEnd ()=0 |
virtual void | seekBegin ()=0 |
virtual void | seekStep (FileOffsetT _step)=0 |
virtual void | flush ()=0 |
virtual bool | eof ()=0 |
virtual const char * | getClassName () |
Returns the name of the current class. | |
virtual std::string | toString () |
Static Public Member Functions | |
static void | debugmsg (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) |
Will print a debug message to the screen. | |
static void | debugmsgln (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) |
Protected Member Functions | |
RawStreamInterface () | |
Protected Attributes | |
int | _fd |
bool | _a_close |
bool | _is_opened |
std::string | __cls_name |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Object &s) |
xvr2::RawStreamInterface::RawStreamInterface | ( | ) | [inline, protected] |
Definition at line 24 of file RawStreamInterface.h.
virtual FileSizeT xvr2::RawStreamInterface::size | ( | ) | [virtual] |
Implements xvr2::StreamInterface.
Reimplemented in xvr2::RawOutputStream, and xvr2::Net::RawSocketOutputStream.
virtual FileOffsetT xvr2::RawStreamInterface::tell | ( | ) | [virtual] |
Implements xvr2::StreamInterface.
virtual bool xvr2::RawStreamInterface::opened | ( | ) | [virtual] |
Implements xvr2::StreamInterface.
virtual bool xvr2::RawStreamInterface::ready | ( | int | t = 100 |
) | [pure virtual] |
Implemented in xvr2::RawInputStream, xvr2::RawOutputStream, and xvr2::Net::RawSocketOutputStream.
virtual void xvr2::StreamInterface::open | ( | const String & | path | ) | [pure virtual, inherited] |
virtual void xvr2::StreamInterface::close | ( | ) | [pure virtual, inherited] |
virtual void xvr2::StreamInterface::seek | ( | FileOffsetT | _pos | ) | [pure virtual, inherited] |
virtual void xvr2::StreamInterface::seekEnd | ( | ) | [pure virtual, inherited] |
virtual void xvr2::StreamInterface::seekBegin | ( | ) | [pure virtual, inherited] |
virtual void xvr2::StreamInterface::seekStep | ( | FileOffsetT | _step | ) | [pure virtual, inherited] |
virtual void xvr2::StreamInterface::flush | ( | ) | [pure virtual, inherited] |
virtual bool xvr2::StreamInterface::eof | ( | ) | [pure virtual, inherited] |
virtual const char* xvr2::Object::getClassName | ( | ) | [virtual, inherited] |
Returns the name of the current class.
static void xvr2::Object::debugmsg | ( | Object * | obj, | |
const char * | msg, | |||
int | linenumber = __LINE__ , |
|||
const char * | srcfile = __FILE__ | |||
) | [static, inherited] |
Will print a debug message to the screen.
static void xvr2::Object::debugmsgln | ( | Object * | obj, | |
const char * | msg, | |||
int | linenumber = __LINE__ , |
|||
const char * | srcfile = __FILE__ | |||
) | [static, inherited] |
virtual std::string xvr2::Object::toString | ( | ) | [virtual, inherited] |
std::ostream& operator<< | ( | std::ostream & | stream, | |
const Object & | s | |||
) | [friend, inherited] |
int xvr2::RawStreamInterface::_fd [protected] |
Definition at line 21 of file RawStreamInterface.h.
bool xvr2::RawStreamInterface::_a_close [protected] |
Definition at line 22 of file RawStreamInterface.h.
bool xvr2::RawStreamInterface::_is_opened [protected] |
Definition at line 23 of file RawStreamInterface.h.
std::string xvr2::Object::__cls_name [protected, inherited] |