xvr2::RawOutputStream Class Reference

#include <RawOutputStream.h>

Inheritance diagram for xvr2::RawOutputStream:

Inheritance graph
[legend]

List of all members.


Detailed Description

Todo:
Document RawOutputStream class

Definition at line 22 of file RawOutputStream.h.


Public Member Functions

 RawOutputStream ()
virtual ~RawOutputStream ()
 RawOutputStream (int __fd)
 RawOutputStream (const String &fname)
void open (int __fd)
void open (const String &fname)
virtual void close ()
int fd ()
virtual RawOutputStreamwrite (void *data, UInt32 size)
virtual void flush ()
FileSizeT size ()
bool eof ()
virtual bool ready (int timeout=100)
virtual WriteableStreamoperator<< (const Buffer &b)
virtual WriteableStreamoperator<< (const String &s)
virtual WriteableStreamwrite (const Buffer &data)
virtual WriteableStreamwrite (const String &s)
virtual void seek (FileOffsetT _pos)
virtual void seekEnd ()
virtual void seekBegin ()
virtual void seekStep (FileOffsetT _step)
virtual bool opened ()=0
virtual FileOffsetT tell ()=0
virtual const char * getClassName ()
 Returns the name of the current class.
virtual std::string toString ()
virtual FileOffsetT tell ()
virtual bool opened ()

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
int _fd
bool _a_close
bool _is_opened

Friends

std::ostream & operator<< (std::ostream &stream, const Object &s)

Constructor & Destructor Documentation

xvr2::RawOutputStream::RawOutputStream (  ) 

virtual xvr2::RawOutputStream::~RawOutputStream (  )  [virtual]

xvr2::RawOutputStream::RawOutputStream ( int  __fd  ) 

xvr2::RawOutputStream::RawOutputStream ( const String fname  ) 


Member Function Documentation

void xvr2::RawOutputStream::open ( int  __fd  ) 

void xvr2::RawOutputStream::open ( const String fname  )  [virtual]

virtual void xvr2::RawOutputStream::close (  )  [virtual]

int xvr2::RawOutputStream::fd (  ) 

virtual RawOutputStream& xvr2::RawOutputStream::write ( void *  data,
UInt32  size 
) [virtual]

virtual void xvr2::RawOutputStream::flush (  )  [virtual]

FileSizeT xvr2::RawOutputStream::size (  )  [virtual]

Reimplemented from xvr2::RawStreamInterface.

Reimplemented in xvr2::Net::RawSocketOutputStream.

bool xvr2::RawOutputStream::eof (  )  [virtual]

virtual bool xvr2::RawOutputStream::ready ( int  timeout = 100  )  [virtual]

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 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 void xvr2::WriteableStream::seek ( FileOffsetT  _pos  )  [virtual, inherited]

Implements xvr2::StreamInterface.

Reimplemented in xvr2::StdioOutputFile.

virtual void xvr2::WriteableStream::seekEnd (  )  [virtual, inherited]

Implements xvr2::StreamInterface.

Reimplemented in xvr2::StdioOutputFile.

virtual void xvr2::WriteableStream::seekBegin (  )  [virtual, inherited]

Implements xvr2::StreamInterface.

Reimplemented in xvr2::StdioOutputFile.

virtual void xvr2::WriteableStream::seekStep ( FileOffsetT  _step  )  [virtual, inherited]

Implements xvr2::StreamInterface.

Reimplemented in xvr2::StdioOutputFile.

virtual bool xvr2::StreamInterface::opened (  )  [pure virtual, inherited]

virtual FileOffsetT xvr2::StreamInterface::tell (  )  [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]

virtual FileOffsetT xvr2::RawStreamInterface::tell (  )  [virtual, inherited]

Implements xvr2::StreamInterface.

virtual bool xvr2::RawStreamInterface::opened (  )  [virtual, inherited]

Implements xvr2::StreamInterface.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const Object s 
) [friend, inherited]


Member Data Documentation

std::string xvr2::Object::__cls_name [protected, inherited]

Definition at line 30 of file Object.h.

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.


The documentation for this class was generated from the following file:

Generated on Fri Jun 20 22:55:56 2008 for X-VR2 SDK by  doxygen 1.5.5