|
|
caseless String
UString is just like String, but all comparisons are performed without regard to case.
| UString (const char *str, int len=0) |
construct a String from a prefix of a char*
Parameters:
| str | char* for initial value |
| size | substring size (0 == rest) |
| UString (const UString &str, size_t start = 0, size_t l = 0) |
construct a String from a substring of a String&
Parameters:
| str | char* for initial value |
| size | substring size (0 == rest) |
| ~UString () |
destroy String
| Data * clone (void *where = (void*) |
copy constructor
Used as the destination of @see mutate when a copy on write mutable object is desired.
Parameters:
| where | the locale into which to clone this object |
Returns: mutable copy of object
| int order (const Slot &arg) |
order two Strings (ignoring case)
Parameters:
| arg | String to be ordered relative to this (ignoring case) |
Returns: 1,0,-1 depending on String order
| bool equal (const Slot &arg) |
equality operator (ignoring case)
Parameters:
| arg | String to be compared to this (ignoring case) |
Returns: true/false depending on equality
| Slot search (const Slot &search) |
search for a matching substring ignoring case
Parameters:
| search | element for which to search |
Returns: the first of this String with search as a prefix
| Generated by: colin@sharedtech.dhis.org on Sat Nov 6 11:59:24 199. |