Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::String Class Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/gtest/include/gtest/internal/gtest-string.h>

Public Member Functions

 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 ()
 
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 Stringoperator= (const char *a_c_str)
 
const Stringoperator= (const String &rhs)
 
bool operator== (const char *a_c_str) const
 

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_
 

Constructor & Destructor Documentation

testing::internal::String::String ( )
inline
testing::internal::String::String ( const char *  a_c_str)
inline
testing::internal::String::String ( const char *  buffer,
size_t  a_length 
)
inline
testing::internal::String::String ( const String str)
inline
testing::internal::String::~String ( )
inline
testing::internal::String::String ( const ::std::string &  str)
inline

Member Function Documentation

const char* testing::internal::String::c_str ( ) const
inline
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 
)
inlineprivate
bool testing::internal::String::CStringEquals ( const char *  lhs,
const char *  rhs 
)
static
bool testing::internal::String::empty ( ) const
inline
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
bool testing::internal::String::operator!= ( const char *  a_c_str) const
inline
testing::internal::String::operator::std::string ( ) const
inline
bool testing::internal::String::operator< ( const String rhs) const
inline
const String& testing::internal::String::operator= ( const char *  a_c_str)
inline
const String& testing::internal::String::operator= ( const String rhs)
inline
bool testing::internal::String::operator== ( const char *  a_c_str) const
inline
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

Member Data Documentation

const char* testing::internal::String::c_str_
private
size_t testing::internal::String::length_
private

The documentation for this class was generated from the following files: