#include <StreamInterface.h>

Definition at line 26 of file StreamInterface.h.
Public Member Functions | |
| StreamInterface () | |
| virtual | ~StreamInterface () |
| virtual void | open (const String &path)=0 |
| virtual void | close ()=0 |
| virtual bool | opened ()=0 |
| virtual FileSizeT | size ()=0 |
| virtual FileOffsetT | tell ()=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 Attributes | |
| std::string | __cls_name |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const Object &s) |
| xvr2::StreamInterface::StreamInterface | ( | ) |
| virtual xvr2::StreamInterface::~StreamInterface | ( | ) | [virtual] |
| virtual void xvr2::StreamInterface::open | ( | const String & | path | ) | [pure virtual] |
| virtual void xvr2::StreamInterface::close | ( | ) | [pure virtual] |
| virtual bool xvr2::StreamInterface::opened | ( | ) | [pure virtual] |
Implemented in xvr2::RawStreamInterface, xvr2::StdioInputFile, and xvr2::StdioOutputFile.
| virtual FileSizeT xvr2::StreamInterface::size | ( | ) | [pure virtual] |
Implemented in xvr2::RawOutputStream, xvr2::RawStreamInterface, xvr2::StdioInterface, and xvr2::Net::RawSocketOutputStream.
| virtual FileOffsetT xvr2::StreamInterface::tell | ( | ) | [pure virtual] |
Implemented in xvr2::RawStreamInterface, and xvr2::StdioInterface.
| virtual void xvr2::StreamInterface::seek | ( | FileOffsetT | _pos | ) | [pure virtual] |
| virtual void xvr2::StreamInterface::seekEnd | ( | ) | [pure virtual] |
| virtual void xvr2::StreamInterface::seekBegin | ( | ) | [pure virtual] |
| virtual void xvr2::StreamInterface::seekStep | ( | FileOffsetT | _step | ) | [pure virtual] |
| virtual void xvr2::StreamInterface::flush | ( | ) | [pure virtual] |
| virtual bool xvr2::StreamInterface::eof | ( | ) | [pure virtual] |
| 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] |
std::string xvr2::Object::__cls_name [protected, inherited] |
1.5.5