dillo  3.0.5
About: dillo is a small, fast, extensible Web browser particularly suitable for older or smaller computers and embedded systems (but only limited or no support for frames, CSS, JavaScript, Java).
  Fossies Dox: dillo-3.0.5.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

lout::object::String Class Reference

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

#include <object.hh>

Inheritance diagram for lout::object::String:
[legend]
Collaboration diagram for lout::object::String:
[legend]

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 c1 and c2. 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 Objectclone ()
 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)
 
- Static Public Member Functions inherited from lout::object::Comparable
static int compareFun (const void *p1, const void *p2)
 This static method may be used as compare function for qsort(3) and bsearch(3), for an array of Object* (Object*[] or Object**). More...
 
- 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.

Definition at line 134 of file object.hh.

Constructor & Destructor Documentation

◆ String()

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

Definition at line 251 of file object.cc.

◆ ~String()

lout::object::String::~String ( )

Definition at line 255 of file object.cc.

References lout::object::ConstString::str.


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