27 #define DEFAULT_UTLSTRING_CAPACITY 100    141     const char* 
data() 
const;
   153     operator const char*() 
const;
   211     virtual int compareTo(
const char *) 
const;
   216     int compareTo(
const char *, CompareCase type) 
const;
   258     size_t index(
char c) 
const;
   263     size_t index(
char c, 
size_t offset) 
const;
   270     size_t first(
char c) 
const;
   278     size_t index(
const char* ) 
const;
   284     size_t index(
const char* , 
size_t ) 
const;
   292     size_t index(
const char* , 
size_t , CompareCase ) 
const;
   328     size_t first(
const char* ) 
const;
   334     size_t last(
char s) 
const;
   398        __attribute__ ((format(printf, 2, 3)))
   485                        const char* replaceStr 
   496                        const char* replaceStr, 
   635     virtual unsigned hash() 
const;
   691 #endif    // _UtlString_h_ virtual int compareTo(const char *) const 
Compare this string to a null terminated string (case sensitive). 
Definition: UtlString.cpp:1221
void toLower()
Definition: UtlString.cpp:637
void resize(size_t N, UtlBoolean clearTail=TRUE)
Set a new size for the string. 
Definition: UtlString.cpp:671
virtual UtlBoolean isInstanceOf(const UtlContainableType type) const 
Determine if this object is a derivative of the specified UtlContainableType. 
Definition: UtlString.cpp:1320
StripType
Definition: UtlString.h:65
const char * data() const 
Return a read-only pointer to the stored string value.. 
Definition: UtlString.cpp:832
UtlString & operator=(const char *szStr)
Replace the contents of this string with a null terminated string. 
Definition: UtlString.cpp:117
UtlString & insert(size_t position, const UtlString &src)
Insert a UtlString. 
Definition: UtlString.cpp:402
CompareCase
Definition: UtlString.h:75
Definition: UtlString.h:67
Definition: UtlCopyableContainable.h:43
friend UtlString operator+(const UtlString &s1, const UtlString &s2)
Concatenate two UtlStrings as: s1 + s2. 
Definition: UtlString.cpp:775
virtual unsigned hash() const 
Calculate a hash over the string contents. 
Definition: UtlString.cpp:1102
void replaceAt(size_t pos, char newChar)
Replace a single character at the designated position. 
Definition: UtlString.cpp:458
friend UtlBoolean operator!=(const char *, const UtlString &)
Definition: UtlString.cpp:1130
friend UtlBoolean operator==(const char, const UtlString &)
Definition: UtlString.cpp:1155
static const size_t UTLSTRING_TO_END
Definition: UtlString.h:58
UtlString & replace(const char src, const char tgt)
Replace all instances of character src with character tgt. 
Definition: UtlString.cpp:515
UtlBoolean isNull() const 
Return true if this is an empty string. 
Definition: UtlString.cpp:1315
Definition: UtlString.h:78
UtlString & append(const char *szStr)
Append a null terminated string to the end of this string. 
Definition: UtlString.cpp:202
UtlBoolean contains(const char *) const 
Check for a null terminated value in this string. 
Definition: UtlString.cpp:1300
UtlString strip()
Removes whitespace (space, tab, Cr, Lf) from the end of the string. 
Definition: UtlString.cpp:533
Definition: UtlString.h:69
const char *const UtlContainableType
Definition: UtlDefs.h:70
Definition: UtlContainable.h:37
size_t capacity() const 
Return the current capacity allocated for this string. 
Definition: UtlString.cpp:1058
void toUpper()
Definition: UtlString.cpp:654
size_t length() const 
The current length of the string value. 
Definition: UtlString.cpp:825
virtual UtlContainableType getContainableType() const 
Determine whether or not the values in a containable are comparable. 
Definition: UtlString.cpp:1121
Definition: UtlString.h:77
Definition: UtlString.h:48
UtlString & appendFormat(const char *format,...)
Append format string like pritnf. 
Definition: UtlString.cpp:254
UtlString & operator+=(const char *)
Append a null terminated string to the end of the lvalue. 
Definition: UtlString.cpp:151
virtual UtlCopyableContainable * clone() const 
Clone method for UtlCopyableContainable requirements. 
Definition: UtlString.cpp:97
static const UtlContainableType TYPE
Definition: UtlString.h:52
size_t index(char c) const 
Find the first instance of a single character. 
Definition: UtlString.cpp:840
Definition: UtlString.h:68
UtlString & prepend(const char *szStr)
Prepend a null terminated string at the beginning of this string. 
Definition: UtlString.cpp:186
#define DEFAULT_UTLSTRING_CAPACITY
initial capacity unless overridden by the constructor 
Definition: UtlString.h:27
UtlString()
Default Constructor. 
Definition: UtlString.cpp:39
static const char * ssNull
Definition: UtlString.h:54
int UtlBoolean
Definition: UtlDefs.h:41
size_t last(char s) const 
Find the last instance of a character. 
Definition: UtlString.cpp:1037
UtlString & appendBinaryToString(const void *binaryData, int numBytes, int valuesPerRow=16)
Append binary data in human readable string format. 
Definition: UtlString.cpp:300
#define TRUE
Definition: UtlDefs.h:25
size_t first(char c) const 
Find the first instance of a single character. 
Definition: UtlString.cpp:810
UtlString operator()(size_t start, size_t len) const 
Allows references of the form stringVar(start,length) - also see append. 
Definition: UtlString.cpp:1066
virtual UtlBoolean isEqual(UtlContainable const *) const 
Definition: UtlString.cpp:1214
static const size_t UTLSTRING_NOT_FOUND
Returned from a search that failed. 
Definition: UtlString.h:56
virtual ~UtlString()
Destructor. 
Definition: UtlString.cpp:103