|
| ossimHexString () |
|
template<class Iter > |
| ossimHexString (Iter start, Iter end) |
|
| ossimHexString (const std::string &aString) |
|
| ossimHexString (const char *aString) |
|
| ossimHexString (const ossimString &aString) |
|
| ossimHexString (char value) |
|
| ossimHexString (ossim_int16 value) |
|
| ossimHexString (ossim_int32 value) |
|
| ossimHexString (ossim_uint8 value) |
|
| ossimHexString (ossim_uint16 value) |
|
| ossimHexString (ossim_uint32 value) |
|
bool | operator== (const ossimHexString &s) const |
|
bool | operator== (const char *s) const |
|
bool | operator!= (const ossimHexString &s) const |
|
bool | operator!= (const char *s) const |
|
| operator const char * () const |
|
const char * | chars () const |
|
char & | operator[] (int i) |
|
const char & | operator[] (int i) const |
|
const ossimHexString & | operator= (ossim_int16 value) |
|
const ossimHexString & | operator= (ossim_int32 value) |
|
const ossimHexString & | operator= (ossim_uint16 value) |
|
const ossimHexString & | operator= (ossim_uint32 value) |
|
const ossimHexString & | operator= (ossim_int8 value) |
|
const ossimHexString & | operator= (ossim_uint8 value) |
|
const ossimHexString & | operator= (const ossim_int8 *value) |
|
const ossimHexString & | operator= (const ossimString &value) |
|
const ossimHexString & | operator= (const ossimHexString &value) |
|
const ossimHexString & | operator= (const std::string &value) |
|
ossim_int32 | toInt32 () const |
|
ossim_int16 | toInt16 () const |
|
ossim_int8 | toChar () const |
|
ossim_uint8 | toUchar () const |
|
ossim_uint32 | toUint32 () const |
|
ossim_uint16 | toUint16 () const |
|
void | assign (ossim_int16 value) |
|
void | assign (ossim_int32 value) |
|
void | assign (ossim_int8 value) |
|
void | assign (ossim_uint16 value) |
|
void | assign (ossim_uint32 value) |
|
void | assign (ossim_uint8 value) |
|
| ossimString () |
| default constructor More...
|
|
| ossimString (const std::string &s) |
| constructor that takes a std::string More...
|
|
| ossimString (const char *aString) |
| constructor that takes char* NOTE: std::string construtor throws exception given null pointer; hence, the null check. More...
|
|
| ossimString (const ossimString &aString) |
| copy constructor More...
|
|
| ossimString (std::string::size_type n, char c) |
| constructor - constructs with n copies of c More...
|
|
| ossimString (char aChar) |
| constructor - constructs with 1 c. More...
|
|
template<class Iter > |
| ossimString (Iter startIter, Iter endIter) |
|
| ~ossimString () |
| destructor More...
|
|
bool | contains (char aChar) const |
|
bool | contains (const ossimString &aString) const |
|
bool | contains (const char *aString) const |
|
| operator const std::string & () const |
| Type conversion operator to a const std::string&. More...
|
|
| operator std::string & () |
| Type conversion operator to a std::string&. More...
|
|
| operator const char * () const |
| Type conversion operator to a const char*. More...
|
|
const char * | chars () const |
| For backward compatibility. More...
|
|
| operator bool () const |
|
const ossimString & | operator= (const std::string &s) |
|
const ossimString & | operator= (const char *s) |
|
const ossimString & | operator= (char c) |
|
const ossimString & | operator= (const ossimString &s) |
|
const ossimString & | operator+= (const ossimString &s) |
|
const ossimString & | operator+= (const std::string &s) |
|
const ossimString & | operator+= (const char *s) |
|
const ossimString & | operator+= (char c) |
|
const ossimString & | append (const ossimString &s) |
|
const ossimString & | append (const std::string &s) |
|
const ossimString & | append (const char *s) |
|
const char & | at (std::string::size_type n) const |
| Provides access to the data contained in the string. More...
|
|
char & | at (std::string::size_type n) |
| Provides access to the data contained in the string. More...
|
|
const ossimString & | append (std::string::size_type n, char c) |
| Append n copies of c to *this. More...
|
|
ossimString | operator+ (const ossimString &s) const |
|
ossimString | operator+ (const std::string &s) const |
|
ossimString | operator+ (const char *s) const |
|
ossimString | operator+ (char c) const |
|
bool | operator== (const ossimString &rhs) const |
| Test if this ossimString is equal to another ossimString. More...
|
|
bool | operator== (const char *rhs) const |
| Test if this ossimString is equal to a C sting. More...
|
|
bool | operator!= (const ossimString &rhs) const |
| Test if this ossimString is not equal to another ossimString. More...
|
|
bool | operator!= (const char *rhs) const |
| Test if this ossimString is not equal to a C sting. More...
|
|
bool | operator< (const ossimString &rhs) const |
|
bool | operator<= (const ossimString &rhs) const |
|
bool | operator> (const ossimString &rhs) const |
|
bool | operator>= (const ossimString &rhs) const |
|
char & | operator[] (std::string::size_type i) |
|
const char & | operator[] (std::string::size_type i) const |
|
std::string & | insert (std::string::size_type pos, const char *s) |
| If pos > size(), throws out_of_range. More...
|
|
void | push_back (char c) |
| Equivalent to insert(end(), c). More...
|
|
std::string | substr (std::string::size_type pos=0, std::string::size_type n=std::string::npos) const |
| Equivalent to basic_string(*this, pos, n). More...
|
|
ossimString | trim (const ossimString &valueToTrim=ossimString(" \\)) const |
| this will strip lead and trailing character passed in. More...
|
|
ossimString & | trim (const ossimString &valueToTrim=ossimString(" \\)) |
|
ossimString | beforePos (std::string::size_type pos) const |
|
ossimString | afterPos (std::string::size_type pos) const |
|
ossimString | substitute (const ossimString &searchKey, const ossimString &replacementValue, bool replaceAll=false) const |
| Substitutes searchKey string with replacementValue and returns a string. More...
|
|
ossimString & | gsub (const ossimString &searchKey, const ossimString &replacementValue, bool replaceAll=false) |
| Substitutes searchKey string with replacementValue and returns a reference to *this. More...
|
|
std::vector< ossimString > | explode (const ossimString &delimeter) const |
|
ossimString | expandEnvironmentVariable () const |
| If the variable "$(env_var_name)" is found in the string, where "env_var_name" is any system environment variable resolvable by the getenv() function, the variable is expanded in place and the result returned. More...
|
|
ossimString & | upcase () |
| Upcases this string. More...
|
|
ossimString | upcase () const |
|
ossimString & | downcase () |
| Downcases this string. More...
|
|
ossimString | downcase () const |
|
const char * | c_str () const |
| Returns a pointer to a null-terminated array of characters representing the string's contents. More...
|
|
const char * | data () const |
| Returns a pointer to an array of characters (not necessarily null-terminated) representing the string's contents. More...
|
|
std::string::size_type | size () const |
|
std::string::size_type | length () const |
|
bool | empty () const |
|
const std::string & | string () const |
|
std::string & | string () |
|
std::string::iterator | begin () |
|
std::string::iterator | end () |
|
std::string::const_iterator | begin () const |
|
std::string::const_iterator | end () const |
|
void | clear () |
| Erases the entire container. More...
|
|
std::string::iterator | erase (std::string::iterator p) |
| Erases the character at position p. More...
|
|
std::string::iterator | erase (std::string::iterator first, std::string::iterator last) |
| Erases the range [first, last). More...
|
|
std::string & | erase (std::string::size_type pos=0, std::string::size_type n=std::string::npos) |
| Erases a range. More...
|
|
std::string::size_type | find (const std::string &s, std::string::size_type pos=0) const |
| Searches for s as a substring of *this, beginning at character pos of *this. More...
|
|
std::string::size_type | find (const char *s, std::string::size_type pos, std::string::size_type n) const |
| Searches for the first n characters of s as a substring of *this, beginning at character pos of *this. More...
|
|
std::string::size_type | find (const char *s, std::string::size_type pos=0) const |
| Searches for a null-terminated character array as a substring of *this, beginning at character pos of *this. More...
|
|
std::string::size_type | find (char c, std::string::size_type pos=0) const |
| Searches for the character c, beginning at character position pos. More...
|
|
std::string::size_type | rfind (const std::string &s, std::string::size_type pos=0) const |
| Searches backward for s as a substring of *this, beginning at character position min(pos, size()). More...
|
|
std::string::size_type | rfind (const char *s, std::string::size_type pos, std::string::size_type n) const |
| Searches backward for the first n characters of s as a substring of *this, beginning at character position min(pos, size()). More...
|
|
std::string::size_type | rfind (const char *s, std::string::size_type pos=0) const |
| Searches backward for a null-terminated character array as a substring of *this, beginning at character min(pos, size()). More...
|
|
std::string::size_type | rfind (char c, std::string::size_type pos=0) const |
| Searches backward for the character c, beginning at character position min(pos, size(). More...
|
|
std::string::size_type | find_first_of (char c, std::string::size_type pos=0) const |
| Equivalent to find(c, pos). More...
|
|
std::string::size_type | find_first_not_of (char c, std::string::size_type pos=0) const |
| Returns the smallest character position N such that pos <= N < size(), and such that (*this)[N] does not compare equal to c. More...
|
|
std::string::size_type | find_first_of (const char *s, std::string::size_type pos=0) const |
| Equivalent to find_first_of(s, pos, traits::length(s)). More...
|
|
std::string::size_type | find_first_not_of (const char *s, std::string::size_type pos=0) const |
|
Equivalent to find_first_not_of(s, pos, traits::length(s)). More...
|
|
std::string::size_type | find_last_of (char c, std::string::size_type pos=std::string::npos) const |
| Equivalent to rfind(c, pos). More...
|
|
std::string & | assign (std::string::size_type n, char c) |
| Erases the existing characters and replaces them by n copies of c. More...
|
|
std::string & | replace (std::string::size_type pos, std::string::size_type n, const std::string &s) |
| Replaces a substring of *this with the string s. More...
|
|
std::string & | replace (std::string::iterator first, std::string::iterator last, const std::string &s) |
| brief Equivalent to insert(erase(first, last), s.begin(), s.end()). More...
|
|
std::string & | replace (std::string::size_type pos, std::string::size_type n, const std::string &s, std::string::size_type pos1, std::string::size_type n1) |
| Replaces a substring of *this with a substring of s. More...
|
|
void | reserve (std::string::size_type n) |
| Requests that the string's capacity be changed. More...
|
|
ossimString | before (const ossimString &str, std::string::size_type pos=0) const |
| METHOD: before(str, pos) Returns string beginning at pos and ending one before the token str If string not found or pos out of range the whole string will be returned. More...
|
|
ossimString | after (const ossimString &str, std::string::size_type pos=0) const |
| METHOD: after(str, pos) Returns string immediately after the token str. More...
|
|
char * | stringDup () const |
|
bool | toBool () const |
| String to numeric methods. More...
|
|
ossim_uint8 | toUInt8 () const |
|
int | toInt () const |
|
ossim_int16 | toInt16 () const |
|
ossim_uint16 | toUInt16 () const |
|
ossim_int32 | toInt32 () const |
|
ossim_uint32 | toUInt32 () const |
|
ossim_int64 | toInt64 () const |
|
ossim_uint64 | toUInt64 () const |
|
ossim_int64 | memoryUnitToInt64 () const |
| This takes a string and will test for numeric followed by a unit type: More...
|
|
long | toLong () const |
| toLong's deprecated, please use the toInts... More...
|
|
unsigned long | toULong () const |
|
ossim_float32 | toFloat32 () const |
|
ossim_float64 | toFloat64 () const |
|
double | toDouble () const |
|
void | split (std::vector< ossimString > &result, const ossimString &separatorList, bool skipBlankFields=false) const |
| Splits this string into a vector of strings (fields) using the delimiter list specified. More...
|
|
std::vector< ossimString > | split (const ossimString &separatorList, bool skipBlankFields=false) const |
|
const ossimString & | join (const std::vector< ossimString > &stringList, const ossimString &separator) |
|
ossimString | beforeRegExp (const char *regularExpressionPattern) const |
| Returns from start of string up to but not including found pattern. More...
|
|
ossimString | fromRegExp (const char *regularExpressionPattern) const |
| Returns from position of found pattern to end of string. More...
|
|
ossimString | afterRegExp (const char *regularExpressionPattern) const |
| Returns from position after found pattern to end of string. More...
|
|
ossimString | match (const char *regularExpressionPattern) const |
| Returns from found pattern to end of pattern. More...
|
|
ossimString | replaceAllThatMatch (const char *regularExpressionPattern, const char *value="") const |
|
ossimString | replaceStrThatMatch (const char *regularExpressionPattern, const char *value="") const |
|
ossimString | urlEncode () const |
|
ossimString | getOssimId () const |
| If OSSIM_ID_ENABLED returns the OSSIM_ID which currently is the expanded cvs. More...
|
|