Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
testing::internal::String Class Reference

#include <gtest-string.h>

List of all members.

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 Stringoperator= (const char *a_c_str)
const Stringoperator= (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_

Detailed Description

Definition at line 81 of file gtest-string.h.


Constructor & Destructor Documentation

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.

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.


Member Function Documentation

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]

Definition at line 1596 of file gtest.cc.

bool testing::internal::String::CaseInsensitiveWideCStringEquals ( const wchar_t *  lhs,
const wchar_t *  rhs 
) [static]

Definition at line 1616 of file gtest.cc.

const char * testing::internal::String::CloneCString ( const char *  c_str) [static]

Definition at line 849 of file gtest.cc.

int testing::internal::String::Compare ( const String rhs) const

Definition at line 1641 of file gtest.cc.

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]

Definition at line 895 of file gtest.cc.

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

Definition at line 1666 of file gtest.cc.

bool testing::internal::String::EndsWithCaseInsensitive ( const char *  suffix) const

Definition at line 1679 of file gtest.cc.

String testing::internal::String::Format ( const char *  format,
  ... 
) [static]

Definition at line 1700 of file gtest.cc.

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.

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.

const String& testing::internal::String::operator= ( const String rhs) [inline]

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]

Definition at line 827 of file gtest.cc.

String testing::internal::String::ShowWideCString ( const wchar_t *  wide_c_str) [static]

Definition at line 1530 of file gtest.cc.

String testing::internal::String::ShowWideCStringQuoted ( const wchar_t *  wide_c_str) [static]

Definition at line 1538 of file gtest.cc.

bool testing::internal::String::WideCStringEquals ( const wchar_t *  lhs,
const wchar_t *  rhs 
) [static]

Definition at line 1551 of file gtest.cc.


Member Data Documentation

const char* testing::internal::String::c_str_ [private]

Definition at line 310 of file gtest-string.h.

Definition at line 311 of file gtest-string.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:47:37