Home | History | Annotate | Download | only in samples

Lines Matching refs:MyString

41 class MyString {
44 const MyString& operator=(const MyString& rhs);
56 MyString() : c_string_(NULL) {}
58 // Constructs a MyString by cloning a 0-terminated C string.
59 explicit MyString(const char * c_string) : c_string_(NULL) {
64 MyString(const MyString& string) : c_string_(NULL) {
70 // D'tor. MyString is intended to be a final class, so the d'tor
72 ~MyString() { delete[] c_string_; }
74 // Gets the 0-terminated C string this MyString object represents.
81 // Sets the 0-terminated C string this MyString object represents.