xvr2::StdioInterface Class Reference
#include <StdioInterface.h>
List of all members.
Detailed Description
- Todo:
- : Document the StdioInterface class please
Definition at line 24 of file StdioInterface.h.
|
Public Member Functions |
| StdioInterface () |
FILE * | cFILE () const |
virtual FileSizeT | size () |
virtual FileOffsetT | tell () |
void | seek (FileOffsetT _pos) |
void | seekBegin () |
void | seekEnd () |
void | seekStep (FileOffsetT step) |
bool | eof () |
void | flush () |
virtual void | open (const String &path)=0 |
virtual void | close ()=0 |
virtual bool | opened ()=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 |
void | _close () |
void | _open (const String &fname, const String &mode) |
bool | _opened () |
size_t | _read (void *_data, size_t __bytes) |
size_t | _write (const void *_data, size_t __bytes) |
void | _seek (FileOffsetT _pos, UInt32 _from) |
Protected Attributes |
FILE * | _fptr |
FileSizeT | _fsize |
std::string | __cls_name |
Friends |
std::ostream & | operator<< (std::ostream &stream, const Object &s) |
Constructor & Destructor Documentation
xvr2::StdioInterface::StdioInterface |
( |
|
) |
[inline] |
Member Function Documentation
void xvr2::StdioInterface::_close |
( |
|
) |
[protected] |
void xvr2::StdioInterface::_open |
( |
const String & |
fname, |
|
|
const String & |
mode | |
|
) |
| | [protected] |
bool xvr2::StdioInterface::_opened |
( |
|
) |
[protected] |
size_t xvr2::StdioInterface::_read |
( |
void * |
_data, |
|
|
size_t |
__bytes | |
|
) |
| | [protected] |
size_t xvr2::StdioInterface::_write |
( |
const void * |
_data, |
|
|
size_t |
__bytes | |
|
) |
| | [protected] |
FILE* xvr2::StdioInterface::cFILE |
( |
|
) |
const [inline] |
virtual FileSizeT xvr2::StdioInterface::size |
( |
|
) |
[virtual] |
virtual FileOffsetT xvr2::StdioInterface::tell |
( |
|
) |
[virtual] |
void xvr2::StdioInterface::seek |
( |
FileOffsetT |
_pos |
) |
[virtual] |
void xvr2::StdioInterface::seekBegin |
( |
|
) |
[virtual] |
void xvr2::StdioInterface::seekEnd |
( |
|
) |
[virtual] |
void xvr2::StdioInterface::seekStep |
( |
FileOffsetT |
step |
) |
[virtual] |
bool xvr2::StdioInterface::eof |
( |
|
) |
[virtual] |
void xvr2::StdioInterface::flush |
( |
|
) |
[virtual] |
virtual void xvr2::StreamInterface::open |
( |
const String & |
path |
) |
[pure virtual, inherited] |
virtual void xvr2::StreamInterface::close |
( |
|
) |
[pure virtual, inherited] |
virtual bool xvr2::StreamInterface::opened |
( |
|
) |
[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] |
Reimplemented in xvr2::Buffer, xvr2::Byte, xvr2::Exception, xvr2::Date, xvr2::Group, xvr2::String, xvr2::User, xvr2::Vector< _Tp, _Alloc >, xvr2::Text::MD5Hash, xvr2::Net::IPv4Address, xvr2::Net::OldTCPSocket, xvr2::Net::URI, xvr2::Platform::CPU, and xvr2::Vector< xvr2::PipelineFilter * >.
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
const Object & |
s | |
|
) |
| | [friend, inherited] |
Member Data Documentation
The documentation for this class was generated from the following file: