#include <sample2.h>
Definition at line 41 of file sample2.h.
◆ MyString() [1/3]
◆ MyString() [2/3]
| MyString::MyString |
( |
const char * |
a_c_string | ) |
|
|
inlineexplicit |
Definition at line 58 of file sample2.h.
void Set(const char *c_string)
◆ MyString() [3/3]
| MyString::MyString |
( |
const MyString & |
string | ) |
|
|
inline |
Definition at line 63 of file sample2.h.
64 Set(
string.c_string_);
void Set(const char *c_string)
◆ ~MyString()
Definition at line 71 of file sample2.h.
71 {
delete[] c_string_; }
◆ c_string()
| const char* MyString::c_string |
( |
| ) |
const |
|
inline |
◆ CloneCString()
| static const char* MyString::CloneCString |
( |
const char * |
a_c_string | ) |
|
|
static |
◆ Length()
| size_t MyString::Length |
( |
| ) |
const |
|
inline |
Definition at line 76 of file sample2.h.
77 return c_string_ == NULL ? 0 : strlen(c_string_);
◆ Set()
| void MyString::Set |
( |
const char * |
c_string | ) |
|
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/external/rapidjson/thirdparty/gtest/googletest/samples/sample2.h