#include <RawSocketOutputStream.h>
Definition at line 26 of file RawSocketOutputStream.h.
Public Member Functions | |
RawSocketOutputStream () | |
virtual | ~RawSocketOutputStream () |
RawSocketOutputStream (int __fd) | |
RawSocketOutputStream (const String &fname) | |
void | open (int __fd) |
void | open (const String &fname) throw (InvalidSocket) |
virtual void | close () |
void | setFlags (int f) |
virtual RawSocketOutputStream & | write (void *data, UInt32 size) |
virtual void | flush () |
FileSizeT | size () |
bool | eof () |
virtual bool | ready (int timeout=100) |
int | fd () |
virtual WriteableStream & | write (const Buffer &data) |
virtual WriteableStream & | write (const String &s) |
virtual WriteableStream & | operator<< (const Buffer &b) |
virtual WriteableStream & | operator<< (const String &s) |
virtual void | seek (FileOffsetT _pos) |
virtual void | seekEnd () |
virtual void | seekBegin () |
virtual void | seekStep (FileOffsetT _step) |
virtual bool | opened ()=0 |
virtual bool | opened () |
virtual FileOffsetT | tell ()=0 |
virtual FileOffsetT | tell () |
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 | |
int | flags |
std::string | __cls_name |
int | _fd |
bool | _a_close |
bool | _is_opened |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Object &s) |
xvr2::Net::RawSocketOutputStream::RawSocketOutputStream | ( | ) |
virtual xvr2::Net::RawSocketOutputStream::~RawSocketOutputStream | ( | ) | [virtual] |
xvr2::Net::RawSocketOutputStream::RawSocketOutputStream | ( | int | __fd | ) |
xvr2::Net::RawSocketOutputStream::RawSocketOutputStream | ( | const String & | fname | ) |
void xvr2::Net::RawSocketOutputStream::open | ( | int | __fd | ) |
Reimplemented from xvr2::RawOutputStream.
void xvr2::Net::RawSocketOutputStream::open | ( | const String & | fname | ) | throw (InvalidSocket) [virtual] |
Reimplemented from xvr2::RawOutputStream.
virtual void xvr2::Net::RawSocketOutputStream::close | ( | ) | [virtual] |
Reimplemented from xvr2::RawOutputStream.
void xvr2::Net::RawSocketOutputStream::setFlags | ( | int | f | ) |
virtual RawSocketOutputStream& xvr2::Net::RawSocketOutputStream::write | ( | void * | data, | |
UInt32 | size | |||
) | [virtual] |
Reimplemented from xvr2::RawOutputStream.
virtual void xvr2::Net::RawSocketOutputStream::flush | ( | ) | [virtual] |
Reimplemented from xvr2::RawOutputStream.
FileSizeT xvr2::Net::RawSocketOutputStream::size | ( | ) | [virtual] |
Reimplemented from xvr2::RawOutputStream.
bool xvr2::Net::RawSocketOutputStream::eof | ( | ) | [virtual] |
Reimplemented from xvr2::RawOutputStream.
virtual bool xvr2::Net::RawSocketOutputStream::ready | ( | int | timeout = 100 |
) | [virtual] |
Reimplemented from xvr2::RawOutputStream.
int xvr2::RawOutputStream::fd | ( | ) | [inherited] |
virtual WriteableStream& xvr2::WriteableStream::write | ( | const Buffer & | data | ) | [virtual, inherited] |
Reimplemented in xvr2::StdioOutputFile.
virtual WriteableStream& xvr2::WriteableStream::write | ( | const String & | s | ) | [virtual, inherited] |
Reimplemented in xvr2::StdioOutputFile.
virtual WriteableStream& xvr2::WriteableStream::operator<< | ( | const Buffer & | b | ) | [virtual, inherited] |
Reimplemented in xvr2::StdioOutputFile.
virtual WriteableStream& xvr2::WriteableStream::operator<< | ( | const String & | s | ) | [virtual, inherited] |
Reimplemented in xvr2::Log, and xvr2::StdioOutputFile.
virtual void xvr2::WriteableStream::seek | ( | FileOffsetT | _pos | ) | [virtual, inherited] |
virtual void xvr2::WriteableStream::seekEnd | ( | ) | [virtual, inherited] |
virtual void xvr2::WriteableStream::seekBegin | ( | ) | [virtual, inherited] |
virtual void xvr2::WriteableStream::seekStep | ( | FileOffsetT | _step | ) | [virtual, inherited] |
virtual bool xvr2::StreamInterface::opened | ( | ) | [pure virtual, inherited] |
Implemented in xvr2::RawStreamInterface, xvr2::StdioInputFile, and xvr2::StdioOutputFile.
virtual bool xvr2::RawStreamInterface::opened | ( | ) | [virtual, inherited] |
Implements xvr2::StreamInterface.
virtual FileOffsetT xvr2::StreamInterface::tell | ( | ) | [pure virtual, inherited] |
Implemented in xvr2::RawStreamInterface, and xvr2::StdioInterface.
virtual FileOffsetT xvr2::RawStreamInterface::tell | ( | ) | [virtual, inherited] |
Implements xvr2::StreamInterface.
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::Net::RawSocketOutputStream::flags [protected] |
Definition at line 28 of file RawSocketOutputStream.h.
std::string xvr2::Object::__cls_name [protected, inherited] |
int xvr2::RawStreamInterface::_fd [protected, inherited] |
Definition at line 21 of file RawStreamInterface.h.
bool xvr2::RawStreamInterface::_a_close [protected, inherited] |
Definition at line 22 of file RawStreamInterface.h.
bool xvr2::RawStreamInterface::_is_opened [protected, inherited] |
Definition at line 23 of file RawStreamInterface.h.