Public Member Functions | Private Attributes
OVR::StringBuffer Class Reference

#include <OVR_String.h>

List of all members.

Public Member Functions

void AppendChar (UInt32 ch)
void AppendFormat (const char *format,...)
void AppendString (const wchar_t *pstr, SPInt len=-1)
void AppendString (const char *putf8str, SPInt utf8StrSz=-1)
void Clear ()
UInt32 GetCharAt (UPInt index) const
UInt32 GetFirstCharAt (UPInt index, const char **offset) const
UPInt GetGrowSize () const
UPInt GetLength () const
UInt32 GetNextChar (const char **offset) const
UPInt GetSize () const
void Insert (const char *substr, UPInt posAt, SPInt len=-1)
UPInt InsertCharAt (UInt32 c, UPInt posAt)
bool IsEmpty () const
 operator const char * () const
void operator+= (const String &src)
void operator+= (const char *psrc)
void operator+= (const wchar_t *psrc)
void operator+= (char ch)
void operator= (const char *str)
void operator= (const wchar_t *str)
void operator= (const String &src)
char & operator[] (int index)
char & operator[] (UPInt index)
const char & operator[] (int index) const
const char & operator[] (UPInt index) const
void Reserve (UPInt _size)
void Resize (UPInt _size)
void SetGrowSize (UPInt growSize)
 StringBuffer ()
 StringBuffer (UPInt growSize)
 StringBuffer (const char *data)
 StringBuffer (const char *data, UPInt buflen)
 StringBuffer (const String &src)
 StringBuffer (const StringBuffer &src)
 StringBuffer (const wchar_t *data)
const char * ToCStr () const
 ~StringBuffer ()

Private Attributes

UPInt BufferSize
UPInt GrowSize
bool LengthIsSize
char * pData
UPInt Size

Detailed Description

Definition at line 393 of file OVR_String.h.


Constructor & Destructor Documentation

Definition at line 547 of file OVR_String.cpp.

OVR::StringBuffer::StringBuffer ( UPInt  growSize) [explicit]

Definition at line 552 of file OVR_String.cpp.

OVR::StringBuffer::StringBuffer ( const char *  data)

Definition at line 558 of file OVR_String.cpp.

OVR::StringBuffer::StringBuffer ( const char *  data,
UPInt  buflen 
)

Definition at line 564 of file OVR_String.cpp.

Definition at line 570 of file OVR_String.cpp.

Definition at line 576 of file OVR_String.cpp.

OVR::StringBuffer::StringBuffer ( const wchar_t *  data) [explicit]

Definition at line 583 of file OVR_String.cpp.

Definition at line 589 of file OVR_String.cpp.


Member Function Documentation

Definition at line 653 of file OVR_String.cpp.

void OVR::StringBuffer::AppendFormat ( const char *  format,
  ... 
)

Definition at line 21 of file OVR_String_FormatUtil.cpp.

void OVR::StringBuffer::AppendString ( const wchar_t *  pstr,
SPInt  len = -1 
)

Definition at line 670 of file OVR_String.cpp.

void OVR::StringBuffer::AppendString ( const char *  putf8str,
SPInt  utf8StrSz = -1 
)

Definition at line 683 of file OVR_String.cpp.

Definition at line 639 of file OVR_String.cpp.

UInt32 OVR::StringBuffer::GetFirstCharAt ( UPInt  index,
const char **  offset 
) const

Definition at line 415 of file OVR_String.h.

Definition at line 606 of file OVR_String.cpp.

UInt32 OVR::StringBuffer::GetNextChar ( const char **  offset) const
UPInt OVR::StringBuffer::GetSize ( ) const [inline]

Definition at line 429 of file OVR_String.h.

void OVR::StringBuffer::Insert ( const char *  substr,
UPInt  posAt,
SPInt  len = -1 
)

Definition at line 722 of file OVR_String.cpp.

Definition at line 740 of file OVR_String.cpp.

bool OVR::StringBuffer::IsEmpty ( ) const [inline]

Definition at line 431 of file OVR_String.h.

OVR::StringBuffer::operator const char * ( ) const [inline]

Definition at line 424 of file OVR_String.h.

void OVR::StringBuffer::operator+= ( const String src) [inline]

Definition at line 468 of file OVR_String.h.

void OVR::StringBuffer::operator+= ( const char *  psrc) [inline]

Definition at line 469 of file OVR_String.h.

void OVR::StringBuffer::operator+= ( const wchar_t *  psrc) [inline]

Definition at line 470 of file OVR_String.h.

void OVR::StringBuffer::operator+= ( char  ch) [inline]

Definition at line 471 of file OVR_String.h.

void OVR::StringBuffer::operator= ( const char *  str)

Definition at line 698 of file OVR_String.cpp.

void OVR::StringBuffer::operator= ( const wchar_t *  str)

Definition at line 706 of file OVR_String.cpp.

void OVR::StringBuffer::operator= ( const String src)

Definition at line 714 of file OVR_String.cpp.

char& OVR::StringBuffer::operator[] ( int  index) [inline]

Definition at line 476 of file OVR_String.h.

char& OVR::StringBuffer::operator[] ( UPInt  index) [inline]

Definition at line 481 of file OVR_String.h.

const char& OVR::StringBuffer::operator[] ( int  index) const [inline]

Definition at line 487 of file OVR_String.h.

const char& OVR::StringBuffer::operator[] ( UPInt  index) const [inline]

Definition at line 492 of file OVR_String.h.

Definition at line 619 of file OVR_String.cpp.

Definition at line 630 of file OVR_String.cpp.

Definition at line 594 of file OVR_String.cpp.

const char* OVR::StringBuffer::ToCStr ( ) const [inline]

Definition at line 426 of file OVR_String.h.


Member Data Documentation

Definition at line 397 of file OVR_String.h.

Definition at line 398 of file OVR_String.h.

bool OVR::StringBuffer::LengthIsSize [mutable, private]

Definition at line 399 of file OVR_String.h.

char* OVR::StringBuffer::pData [private]

Definition at line 395 of file OVR_String.h.

Definition at line 396 of file OVR_String.h.


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


oculus_sdk
Author(s):
autogenerated on Mon Oct 6 2014 03:01:20