|
Dillo v3.2.0-93-g6a586845
|
An object::Object wrapper for strings (char*). More...
#include <object.hh>
Public Member Functions | |
| String (const char *str) | |
| ~String () | |
Public Member Functions inherited from lout::object::ConstString | |
| ConstString (const char *str) | |
| bool | equals (Object *other) |
| Returns, whether two objects are equal. | |
| int | hashValue () |
| Return a hash value for the object. | |
| int | compareTo (Comparable *other) |
| Compare two objects, this and other. | |
| void | intoStringBuffer (misc::StringBuffer *sb) |
| Store a textual representation of the object in a misc::StringBuffer. | |
| const char * | chars () |
Public Member Functions inherited from lout::object::Object | |
| virtual | ~Object () |
| The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. | |
| virtual Object * | clone () |
| Return an exact copy of the object. | |
| char * | toString () |
| Use object::Object::intoStringBuffer to return a textual representation of the object. | |
| virtual size_t | sizeOf () |
| Return the number of bytes, this object totally uses. | |
Additional Inherited Members | |
Static Public Member Functions inherited from lout::object::ConstString | |
| static int | hashValue (const char *str) |
Protected Attributes inherited from lout::object::ConstString | |
| const char * | str |
An object::Object wrapper for strings (char*).
As opposed to object::ConstantString, the char array is copied.
| lout::object::String::~String | ( | ) |
Definition at line 299 of file object.cc.
References lout::object::ConstString::str.