|
bpp-core3
3.0.0
|
The BppString object class. This class extends the stl::string class to support the Clonable interface. More...
#include <Bpp/BppString.h>
Inheritance diagram for bpp::BppString:
Collaboration diagram for bpp::BppString:Public Member Functions | |
| BppString () | |
| BppString (const char *value) | |
| BppString (const std::string &value) | |
| BppString & | operator= (const char *value) |
| BppString & | operator= (const std::string &value) |
| BppString * | clone () const |
| Create a copy of this object and send a pointer to it. More... | |
| const std::string & | toSTL () const |
Private Attributes | |
| std::string | text_ {} |
The BppString object class. This class extends the stl::string class to support the Clonable interface.
Definition at line 18 of file BppString.h.
|
default |
Referenced by clone().
| bpp::BppString::BppString | ( | const char * | value | ) |
Definition at line 12 of file BppString.cpp.
| bpp::BppString::BppString | ( | const std::string & | value | ) |
Definition at line 15 of file BppString.cpp.
|
virtual |
Create a copy of this object and send a pointer to it.
Implements bpp::Clonable.
Definition at line 29 of file BppString.cpp.
References BppString().
| BppString & bpp::BppString::operator= | ( | const char * | value | ) |
Definition at line 18 of file BppString.cpp.
References text_.
| BppString & bpp::BppString::operator= | ( | const std::string & | value | ) |
Definition at line 23 of file BppString.cpp.
References text_.
| const std::string & bpp::BppString::toSTL | ( | ) | const |
|
private |
Definition at line 21 of file BppString.h.
Referenced by operator=(), and toSTL().