StringBuffer Class Reference
[Text]

Dynamically resizing string. More...

#include <StringBuffer.h>

Inheritance diagram for StringBuffer:
IMemoryValidate

List of all members.

Public Member Functions

 StringBuffer (const char *str)
 StringBuffer (int size)
 StringBuffer (const StringBuffer &sb)
void Trim ()
void SetLength (int l)
void Clear ()
void Append (const char *str)
void Append (const String *str)
void Append (StringPtr strp)
void Append (const String &str)
void Append (const char c)
void Append (const char *str, int start, int len)
void Append (const char *str, int len)
void Append (byte b)
void Append (Array< byte > &data, int len)
void Append (Array< char > &data, int len)
void Fill (char ch, int len)
 Appends len chars ch.
int Length () const
char CharAt (int index) const
char & operator[] (int index) const
StringBufferoperator= (StringPtr str)
StringBufferoperator= (const char *str)
StringBufferoperator= (const StringBuffer &sb)
StringBufferoperator= (const String &str)
void Set (const char *str)
void Set (const String &str)
void SetCharAt (const int index, char c)
void RemoveCharAt (const int idx)
void InsertCharAt (const char ch, const int idx)
void Insert (int index, const char *str)
void Replace (const char from, const char to)
char * GetChars () const
bool IsNumeric () const
int ToInt () const
void ToLower ()
void ToUpper ()
int IndexOf (const char *cp, const int start) const
int IndexOf (const char ch) const
int IndexOf (const char ch, const int start) const
int IndexOfIgnoreCase (const char *cp, const int start) const
bool Equals (const char *cp) const
StringPtr ToString () const
RefCountPtr< Array< byte > > ToByteArray () const
virtual void CheckMem () const
virtual void ValidateMem () const

Detailed Description

Dynamically resizing string.

Definition at line 53 of file StringBuffer.h.


Member Function Documentation

void StringBuffer::Insert ( int  index,
const char *  str 
)

Insert a string at the index. If the index is after EOS, the string is extended as necessary.

Definition at line 142 of file StringBuffer.cpp.


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