Dillo
Public Member Functions | List of all members
lout::object::String Class Reference

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. More...
 
int hashValue ()
 Return a hash value for the object. More...
 
int compareTo (Comparable *other)
 Compare two objects, this and other. More...
 
void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer. More...
 
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. More...
 
virtual Object * clone ()
 Return an exact copy of the object. More...
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object. More...
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses. More...
 

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
 

Detailed Description

An object::Object wrapper for strings (char*).

As opposed to object::ConstantString, the char array is copied.

Constructor & Destructor Documentation

lout::object::String::String ( const char *  str)
lout::object::String::~String ( )

The documentation for this class was generated from the following files: