#include <sample2.h>
Definition at line 41 of file sample2.h.
| MyString::MyString |
( |
const char * |
a_c_string | ) |
|
|
inlineexplicit |
Definition at line 58 of file sample2.h.
References Set().
void Set(const char *c_string)
| MyString::MyString |
( |
const MyString & |
string | ) |
|
|
inline |
Definition at line 63 of file sample2.h.
References Set().
void Set(const char *c_string)
| MyString::MyString |
( |
const char * |
a_c_string | ) |
|
|
inlineexplicit |
Definition at line 58 of file sample2.h.
References Set().
void Set(const char *c_string)
| MyString::MyString |
( |
const MyString & |
string | ) |
|
|
inline |
Definition at line 63 of file sample2.h.
References Set().
void Set(const char *c_string)
| MyString::MyString |
( |
const char * |
a_c_string | ) |
|
|
inlineexplicit |
Definition at line 58 of file sample2.h.
References Set().
void Set(const char *c_string)
| MyString::MyString |
( |
const MyString & |
string | ) |
|
|
inline |
Definition at line 63 of file sample2.h.
References Set().
void Set(const char *c_string)
| const char* MyString::c_string |
( |
| ) |
const |
|
inline |
| const char* MyString::c_string |
( |
| ) |
const |
|
inline |
| const char* MyString::c_string |
( |
| ) |
const |
|
inline |
| const char * MyString::CloneCString |
( |
const char * |
a_c_string | ) |
|
|
static |
Definition at line 39 of file sample2.cc.
Referenced by Set().
40 if (a_c_string == NULL)
return NULL;
42 const size_t len = strlen(a_c_string);
43 char*
const clone =
new char[ len + 1 ];
44 memcpy(clone, a_c_string, len + 1);
| static const char* MyString::CloneCString |
( |
const char * |
a_c_string | ) |
|
|
static |
| static const char* MyString::CloneCString |
( |
const char * |
a_c_string | ) |
|
|
static |
| size_t MyString::Length |
( |
| ) |
const |
|
inline |
| size_t MyString::Length |
( |
| ) |
const |
|
inline |
| size_t MyString::Length |
( |
| ) |
const |
|
inline |
| void MyString::Set |
( |
const char * |
c_string | ) |
|
| void MyString::Set |
( |
const char * |
c_string | ) |
|
| void MyString::Set |
( |
const char * |
c_string | ) |
|
| const char * MyString::c_string_ |
|
private |
The documentation for this class was generated from the following files:
- proxygen/fizz/build_/gtest/src/gtest/googletest/samples/sample2.h
- proxygen/fizz/build_/gtest/src/gtest/googletest/samples/sample2.cc