xvr2::StringBuffer Class Reference

#include <StringBuffer.h>

Inheritance diagram for xvr2::StringBuffer:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 20 of file StringBuffer.h.


Public Types

typedef BasicStringBuffer
< StringT > 
MySBType

Public Member Functions

 StringBuffer ()
 StringBuffer (const StringBuffer &s)
 StringBuffer (const String &s)
const char operator[] (int idx) const
const char operator[] (int idx)
const char * toCharPtr () const
StringBufferoperator<< (const String &s)
virtual std::string toString () const
void eat (char *data, int len)
 Will append to the String len characters from the data buffer.
void clear ()
virtual MySBTypeoperator<< (const StringT &s)
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

StringT buffer
std::string __cls_name

Friends

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

Member Typedef Documentation

template<class StringT>
typedef BasicStringBuffer<StringT> xvr2::BasicStringBuffer< StringT >::MySBType [inherited]

Definition at line 24 of file BasicStringBuffer.h.


Constructor & Destructor Documentation

xvr2::StringBuffer::StringBuffer (  ) 

xvr2::StringBuffer::StringBuffer ( const StringBuffer s  ) 

xvr2::StringBuffer::StringBuffer ( const String s  ) 


Member Function Documentation

const char xvr2::StringBuffer::operator[] ( int  idx  )  const

const char xvr2::StringBuffer::operator[] ( int  idx  ) 

const char* xvr2::StringBuffer::toCharPtr (  )  const

StringBuffer& xvr2::StringBuffer::operator<< ( const String s  ) 

virtual std::string xvr2::StringBuffer::toString (  )  const [virtual]

void xvr2::StringBuffer::eat ( char *  data,
int  len 
)

Will append to the String len characters from the data buffer.

template<class StringT>
void xvr2::BasicStringBuffer< StringT >::clear (  )  [inline, inherited]

Definition at line 36 of file BasicStringBuffer.h.

template<class StringT>
virtual MySBType& xvr2::BasicStringBuffer< StringT >::operator<< ( const StringT &  s  )  [inline, virtual, inherited]

Definition at line 39 of file BasicStringBuffer.h.

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]


Friends And Related Function Documentation

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


Member Data Documentation

template<class StringT>
StringT xvr2::BasicStringBuffer< StringT >::buffer [protected, inherited]

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

Definition at line 30 of file Object.h.


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

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