#include <gtest-string.h>
Public Member Functions | |
const char * | c_str () const |
int | Compare (const String &rhs) const |
bool | empty () const |
bool | EndsWith (const char *suffix) const |
bool | EndsWithCaseInsensitive (const char *suffix) const |
size_t | length () const |
bool | operator!= (const char *a_c_str) const |
operator::std::string () const | |
bool | operator< (const String &rhs) const |
const String & | operator= (const char *a_c_str) |
const String & | operator= (const String &rhs) |
bool | operator== (const char *a_c_str) const |
String () | |
String (const char *a_c_str) | |
String (const char *buffer, size_t a_length) | |
String (const String &str) | |
String (const ::std::string &str) | |
~String () | |
Static Public Member Functions | |
static bool | CaseInsensitiveCStringEquals (const char *lhs, const char *rhs) |
static bool | CaseInsensitiveWideCStringEquals (const wchar_t *lhs, const wchar_t *rhs) |
static const char * | CloneCString (const char *c_str) |
static bool | CStringEquals (const char *lhs, const char *rhs) |
static String | Format (const char *format,...) |
static String | ShowCStringQuoted (const char *c_str) |
static String | ShowWideCString (const wchar_t *wide_c_str) |
static String | ShowWideCStringQuoted (const wchar_t *wide_c_str) |
static bool | WideCStringEquals (const wchar_t *lhs, const wchar_t *rhs) |
Private Member Functions | |
void | ConstructNonNull (const char *buffer, size_t a_length) |
Private Attributes | |
const char * | c_str_ |
size_t | length_ |
Definition at line 81 of file gtest-string.h.
testing::internal::String::String | ( | ) | [inline] |
Definition at line 192 of file gtest-string.h.
testing::internal::String::String | ( | const char * | a_c_str | ) | [inline] |
Definition at line 195 of file gtest-string.h.
testing::internal::String::String | ( | const char * | buffer, |
size_t | a_length | ||
) | [inline] |
Definition at line 208 of file gtest-string.h.
testing::internal::String::String | ( | const String & | str | ) | [inline] |
Definition at line 214 of file gtest-string.h.
testing::internal::String::~String | ( | ) | [inline] |
Definition at line 218 of file gtest-string.h.
testing::internal::String::String | ( | const ::std::string & | str | ) | [inline] |
Definition at line 226 of file gtest-string.h.
const char* testing::internal::String::c_str | ( | ) | const [inline] |
Definition at line 275 of file gtest-string.h.
bool testing::internal::String::CaseInsensitiveCStringEquals | ( | const char * | lhs, |
const char * | rhs | ||
) | [static] |
bool testing::internal::String::CaseInsensitiveWideCStringEquals | ( | const wchar_t * | lhs, |
const wchar_t * | rhs | ||
) | [static] |
const char * testing::internal::String::CloneCString | ( | const char * | c_str | ) | [static] |
int testing::internal::String::Compare | ( | const String & | rhs | ) | const |
void testing::internal::String::ConstructNonNull | ( | const char * | buffer, |
size_t | a_length | ||
) | [inline, private] |
Definition at line 302 of file gtest-string.h.
bool testing::internal::String::CStringEquals | ( | const char * | lhs, |
const char * | rhs | ||
) | [static] |
bool testing::internal::String::empty | ( | ) | const [inline] |
Definition at line 241 of file gtest-string.h.
bool testing::internal::String::EndsWith | ( | const char * | suffix | ) | const |
bool testing::internal::String::EndsWithCaseInsensitive | ( | const char * | suffix | ) | const |
String testing::internal::String::Format | ( | const char * | format, |
... | |||
) | [static] |
size_t testing::internal::String::length | ( | ) | const [inline] |
Definition at line 270 of file gtest-string.h.
bool testing::internal::String::operator!= | ( | const char * | a_c_str | ) | const [inline] |
Definition at line 258 of file gtest-string.h.
testing::internal::String::operator::std::string | ( | ) | const [inline] |
Definition at line 230 of file gtest-string.h.
bool testing::internal::String::operator< | ( | const String & | rhs | ) | const [inline] |
Definition at line 254 of file gtest-string.h.
const String& testing::internal::String::operator= | ( | const char * | a_c_str | ) | [inline] |
Definition at line 278 of file gtest-string.h.
Definition at line 283 of file gtest-string.h.
bool testing::internal::String::operator== | ( | const char * | a_c_str | ) | const [inline] |
Definition at line 250 of file gtest-string.h.
String testing::internal::String::ShowCStringQuoted | ( | const char * | c_str | ) | [static] |
String testing::internal::String::ShowWideCString | ( | const wchar_t * | wide_c_str | ) | [static] |
String testing::internal::String::ShowWideCStringQuoted | ( | const wchar_t * | wide_c_str | ) | [static] |
bool testing::internal::String::WideCStringEquals | ( | const wchar_t * | lhs, |
const wchar_t * | rhs | ||
) | [static] |
const char* testing::internal::String::c_str_ [private] |
Definition at line 310 of file gtest-string.h.
size_t testing::internal::String::length_ [private] |
Definition at line 311 of file gtest-string.h.