Home | History | Annotate | Download | only in samples

Lines Matching defs:MyString

41 class MyString {
44 const MyString& operator=(const MyString& rhs);
55 MyString() : c_string_(NULL) {}
57 // Constructs a MyString by cloning a 0-terminated C string.
58 explicit MyString(const char* a_c_string) : c_string_(NULL) {
63 MyString(const MyString& string) : c_string_(NULL) {
69 // D'tor. MyString is intended to be a final class, so the d'tor
71 ~MyString() { delete[] c_string_; }
73 // Gets the 0-terminated C string this MyString object represents.
80 // Sets the 0-terminated C string this MyString object represents.