DeSR Dependency Parser |
#include <String.h>
Public Types | |
typedef std::basic_string< UCS2 > | StringType |
typedef Char | CharType |
typedef StringType::traits_type | traits_type |
typedef StringType::value_type | value_type |
typedef StringType::size_type | size_type |
typedef StringType::difference_type | difference_type |
typedef StringType::reference | reference |
typedef StringType::const_reference | const_reference |
typedef StringType::pointer | pointer |
typedef StringType::const_pointer | const_pointer |
typedef StringType::iterator | iterator |
typedef StringType::const_iterator | const_iterator |
typedef StringType::reverse_iterator | reverse_iterator |
typedef StringType::const_reverse_iterator | const_reverse_iterator |
Public Member Functions | |
String (const String &, const size_type=0, const size_type=npos) | |
String (const CharType *) | |
String (const CharType *, const size_type) | |
String (const size_type, const CharType) | |
template<class InputIterator > | |
String (InputIterator, InputIterator) | |
String (const StringType &) | |
size_type | size () const |
size_type | length () const |
bool | empty () const |
size_type | max_size () const |
size_type | capacity () const |
void | reserve (const size_type l) |
int | compare (const String &s) const |
int | compare (const size_type, const size_type, const String &) const |
int | compare (const size_type, const size_type, const String &, const size_type, const size_type) const |
int | compare (const CharType *) const |
int | compare (const size_type, const size_type, const CharType *) const |
int | compare (const size_type, const size_type, const CharType *, const size_type) const |
CharType & | operator[] (const size_type p) |
CharType | operator[] (const size_type p) const |
CharType & | at (const size_type p) |
CharType | at (const size_type p) const |
String & | assign (const String &s) |
String & | assign (const String &, const size_type, const size_type) |
String & | assign (const CharType *) |
String & | assign (const CharType *, const size_type) |
String & | assign (const size_type, const CharType) |
String & | operator= (const String s) |
String & | operator= (const CharType *c) |
String & | operator= (CharType c) |
void | swap (String &) throw () |
String & | append (const String &s) |
String & | append (const String &, const size_type, const size_type) |
String & | append (const CharType *, const size_type) |
String & | append (const CharType *) |
String & | append (const size_type, const CharType) |
template<class InputIterator > | |
String & | append (InputIterator, InputIterator) |
void | push_back (CharType c) |
String & | operator+= (const String &s) |
String & | operator+= (const CharType *c) |
String & | operator+= (const CharType c) |
String & | insert (const size_type p, const String &s) |
String & | insert (const size_type, const String &, const size_type, const size_type) |
String & | insert (const size_type, const CharType *, const size_type) |
String & | insert (const size_type, const CharType *) |
String & | insert (const size_type, const size_type, const CharType) |
void | insert (iterator, const size_type, const CharType) |
iterator | insert (iterator, const CharType) |
void | insert (iterator, iterator, iterator) |
void | clear () |
String & | erase () |
String & | erase (const size_type) |
String & | erase (const size_type, const size_type) |
String & | erase (iterator, iterator) |
void | resize (const size_type) |
void | resize (const size_type, CharType) |
String & | replace (const size_type p1, const size_type p2, const String &s) |
String & | replace (iterator, iterator, const String &) |
String & | replace (const size_type, const size_type, const String &, const size_type, const size_type) |
String & | replace (const size_type, const size_type, const CharType *, const size_type) |
String & | replace (iterator, iterator, const CharType *, const size_type) |
String & | replace (const size_type, const size_type, const CharType *) |
String & | replace (iterator, iterator, const CharType *) |
String & | replace (const size_type, const size_type, const size_type, CharType) |
String & | replace (iterator, iterator, const size_type, CharType) |
template<class InputIterator > | |
String & | replace (iterator, iterator, InputIterator, InputIterator) |
size_type | find (const CharType c) const |
size_type | find (const CharType c, const size_type i) |
size_type | rfind (const CharType c) const |
size_type | rfind (const CharType c, const size_type i) |
size_type | find (const String &s) const |
size_type | find (const String &s, const size_type i) |
size_type | rfind (const String &s) const |
size_type | rfind (const String &s, const size_type i) |
size_type | find (const CharType *c) const |
size_type | find (const CharType *c, const size_type i) |
size_type | rfind (const CharType *c) const |
size_type | rfind (const CharType *c, const size_type i) |
size_type | find (const char *c) const |
size_type | find (const CharType *c, const size_type i, const size_type l) const |
size_type | rfind (const CharType *c, const size_type i, const size_type l) |
size_type | find_first_of (const String &s) const |
size_type | find_first_of (const String &s, const size_type i) |
size_type | find_first_not_of (const String &s) const |
size_type | find_first_not_of (const String &s, const size_type i) |
size_type | find_first_of (const CharType *c) const |
size_type | find_first_of (const CharType *c, const size_type i) |
size_type | find_first_not_of (const CharType *c) const |
size_type | find_first_not_of (const CharType *c, const size_type i) |
size_type | find_first_of (const CharType *c, const size_type i, const size_type l) const |
size_type | find_first_not_of (const CharType *c, const size_type i, const size_type l) const |
size_type | find_first_of (const CharType c) const |
size_type | find_first_of (const CharType c, const size_type i) |
size_type | find_first_not_of (const CharType c) const |
size_type | find_first_not_of (const CharType c, const size_type i) |
size_type | find_last_of (const String &s) const |
size_type | find_last_of (const String &s, const size_type i) |
size_type | find_flast_not_of (const String &s) const |
size_type | find_last_not_of (const String &s, const size_type i) |
size_type | find_last_of (const CharType *c) const |
size_type | find_last_of (const CharType *c, const size_type i) |
size_type | find_last_not_of (const CharType *c) const |
size_type | find_last_not_of (const CharType *c, const size_type i) |
size_type | find_last_of (const CharType *c, const size_type i, const size_type l) const |
size_type | find_last_not_of (const CharType *c, const size_type i, const size_type l) const |
size_type | find_last_of (const CharType c) const |
size_type | find_last_of (const CharType c, const size_type i) |
size_type | find_last_not_of (const CharType c) const |
size_type | find_last_not_of (const CharType c, const size_type i) |
String | substr () const |
String | substr (const size_type i) const |
String | substr (const size_type i, const size_type l) const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
String (const std::string &, const size_t pos=0, const std::string encoding="UTF8") | |
String (const char *, const std::string encoding="UTF8") | |
String (const char *, const size_t len, const std::string encoding="UTF8") | |
std::string | convert (const std::string &encoding="UTF8") const |
size_t | convert (const char *, const size_t start, const size_t end, const std::string &="UTF8") throw (std::length_error) |
bool | StartsWith (const char *c) const |
Checks whether the string starts with the c-string c. | |
bool | StartsWithNoCase (const char *c) const |
Checks whether the string starts with the c-string c, disregarding case. | |
bool | contains (const char *c) const |
String | ToLower () const |
String | ToLower () |
Static Public Attributes | |
static const size_type | npos = -1 |
Definition at line 40 of file String.h.