#include "cvstd.hpp"
Public Types | |
typedef const char * | const_iterator |
typedef const char * | const_pointer |
typedef const char & | const_reference |
typedef ptrdiff_t | difference_type |
typedef char * | iterator |
typedef char * | pointer |
typedef char & | reference |
typedef size_t | size_type |
typedef char | value_type |
Public Member Functions | |
String () | |
String (const String &str) | |
String (const String &str, size_t pos, size_t len=npos) | |
String (const char *s) | |
String (const char *s, size_t n) | |
String (size_t n, char c) | |
String (const char *first, const char *last) | |
template<typename Iterator > | |
String (Iterator first, Iterator last) | |
String (const FileNode &fn) | |
String (const std::string &str) | |
String (const std::string &str, size_t pos, size_t len=npos) | |
~String () | |
const char * | begin () const |
const char * | c_str () const |
void | clear () |
int | compare (const char *s) const |
int | compare (const String &str) const |
bool | empty () const |
const char * | end () const |
size_t | find (const char *s, size_t pos, size_t n) const |
size_t | find (char c, size_t pos=0) const |
size_t | find (const String &str, size_t pos=0) const |
size_t | find (const char *s, size_t pos=0) const |
size_t | find_first_of (const char *s, size_t pos, size_t n) const |
size_t | find_first_of (char c, size_t pos=0) const |
size_t | find_first_of (const String &str, size_t pos=0) const |
size_t | find_first_of (const char *s, size_t pos=0) const |
size_t | find_last_of (const char *s, size_t pos, size_t n) const |
size_t | find_last_of (char c, size_t pos=npos) const |
size_t | find_last_of (const String &str, size_t pos=npos) const |
size_t | find_last_of (const char *s, size_t pos=npos) const |
size_t | length () const |
operator std::string () const | |
String & | operator+= (const String &str) |
String & | operator+= (const char *s) |
String & | operator+= (char c) |
String & | operator+= (const std::string &str) |
String & | operator= (const String &str) |
String & | operator= (const char *s) |
String & | operator= (char c) |
String & | operator= (const std::string &str) |
char | operator[] (size_t idx) const |
char | operator[] (int idx) const |
size_t | rfind (const char *s, size_t pos, size_t n) const |
size_t | rfind (char c, size_t pos=npos) const |
size_t | rfind (const String &str, size_t pos=npos) const |
size_t | rfind (const char *s, size_t pos=npos) const |
size_t | size () const |
String | substr (size_t pos=0, size_t len=npos) const |
void | swap (String &str) |
String | toLowerCase () const |
Static Public Attributes | |
static const size_t | npos = size_t(-1) |
Friends | |
String | operator+ (const String &lhs, const String &rhs) |
String | operator+ (const String &lhs, const char *rhs) |
String | operator+ (const char *lhs, const String &rhs) |
String | operator+ (const String &lhs, char rhs) |
String | operator+ (char lhs, const String &rhs) |
String | operator+ (const String &lhs, const std::string &rhs) |
String | operator+ (const std::string &lhs, const String &rhs) |
Related Functions | |
(Note that these are not member functions.) | |
String | operator+ (const String &lhs, const String &rhs) |
String | operator+ (const String &lhs, const char *rhs) |
String | operator+ (const char *lhs, const String &rhs) |
String | operator+ (const String &lhs, char rhs) |
String | operator+ (char lhs, const String &rhs) |
static bool | operator== (const String &lhs, const String &rhs) |
static bool | operator== (const char *lhs, const String &rhs) |
static bool | operator== (const String &lhs, const char *rhs) |
static bool | operator!= (const String &lhs, const String &rhs) |
static bool | operator!= (const char *lhs, const String &rhs) |
static bool | operator!= (const String &lhs, const char *rhs) |
static bool | operator< (const String &lhs, const String &rhs) |
static bool | operator< (const char *lhs, const String &rhs) |
static bool | operator< (const String &lhs, const char *rhs) |
static bool | operator<= (const String &lhs, const String &rhs) |
static bool | operator<= (const char *lhs, const String &rhs) |
static bool | operator<= (const String &lhs, const char *rhs) |
static bool | operator> (const String &lhs, const String &rhs) |
static bool | operator> (const char *lhs, const String &rhs) |
static bool | operator> (const String &lhs, const char *rhs) |
static bool | operator>= (const String &lhs, const String &rhs) |
static bool | operator>= (const char *lhs, const String &rhs) |
static bool | operator>= (const String &lhs, const char *rhs) |
typedef const char* cv::String::const_iterator |
typedef const char* cv::String::const_pointer |
typedef const char& cv::String::const_reference |
typedef ptrdiff_t cv::String::difference_type |
typedef char* cv::String::iterator |
typedef char* cv::String::pointer |
typedef char& cv::String::reference |
typedef size_t cv::String::size_type |
typedef char cv::String::value_type |
|
explicit |
cv::String::String | ( | const String & | str | ) |
cv::String::String | ( | const char * | s | ) |
cv::String::String | ( | const char * | s, |
size_t | n | ||
) |
cv::String::String | ( | size_t | n, |
char | c | ||
) |
cv::String::String | ( | const char * | first, |
const char * | last | ||
) |
cv::String::String | ( | Iterator | first, |
Iterator | last | ||
) |
|
explicit |
cv::String::~String | ( | ) |
cv::String::String | ( | const std::string & | str | ) |
cv::String::String | ( | const std::string & | str, |
size_t | pos, | ||
size_t | len = npos |
||
) |
const char* cv::String::begin | ( | ) | const |
const char* cv::String::c_str | ( | ) | const |
Referenced by cvflann::load_saved_index(), and cvflann::Index< cv::L1< ElementType > >::save().
void cv::String::clear | ( | ) |
int cv::String::compare | ( | const char * | s | ) | const |
Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().
int cv::String::compare | ( | const String & | str | ) | const |
bool cv::String::empty | ( | ) | const |
const char* cv::String::end | ( | ) | const |
size_t cv::String::find | ( | const char * | s, |
size_t | pos, | ||
size_t | n | ||
) | const |
size_t cv::String::find | ( | char | c, |
size_t | pos = 0 |
||
) | const |
size_t cv::String::find | ( | const String & | str, |
size_t | pos = 0 |
||
) | const |
size_t cv::String::find | ( | const char * | s, |
size_t | pos = 0 |
||
) | const |
size_t cv::String::find_first_of | ( | const char * | s, |
size_t | pos, | ||
size_t | n | ||
) | const |
size_t cv::String::find_first_of | ( | char | c, |
size_t | pos = 0 |
||
) | const |
size_t cv::String::find_first_of | ( | const String & | str, |
size_t | pos = 0 |
||
) | const |
size_t cv::String::find_first_of | ( | const char * | s, |
size_t | pos = 0 |
||
) | const |
size_t cv::String::find_last_of | ( | const char * | s, |
size_t | pos, | ||
size_t | n | ||
) | const |
size_t cv::String::find_last_of | ( | char | c, |
size_t | pos = npos |
||
) | const |
size_t cv::String::find_last_of | ( | const char * | s, |
size_t | pos = npos |
||
) | const |
size_t cv::String::length | ( | ) | const |
cv::String::operator std::string | ( | ) | const |
String& cv::String::operator+= | ( | const char * | s | ) |
String& cv::String::operator+= | ( | char | c | ) |
String& cv::String::operator+= | ( | const std::string & | str | ) |
String& cv::String::operator= | ( | const char * | s | ) |
String& cv::String::operator= | ( | char | c | ) |
String& cv::String::operator= | ( | const std::string & | str | ) |
char cv::String::operator[] | ( | size_t | idx | ) | const |
char cv::String::operator[] | ( | int | idx | ) | const |
size_t cv::String::rfind | ( | const char * | s, |
size_t | pos, | ||
size_t | n | ||
) | const |
size_t cv::String::rfind | ( | char | c, |
size_t | pos = npos |
||
) | const |
size_t cv::String::rfind | ( | const char * | s, |
size_t | pos = npos |
||
) | const |
size_t cv::String::size | ( | ) | const |
void cv::String::swap | ( | String & | str | ) |
String cv::String::toLowerCase | ( | ) | const |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
static |