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) 
|
Go to the documentation of this file. 61 fprintf (stderr,
"Object::hashValue() should be implemented.\n");
97 sb->
append(
"<not further specified object>");
105 fprintf (stderr,
"Object::sizeOf() should be implemented.\n");
124 return ((c1)->compareTo(c2));
151 #if SIZEOF_VOID_P == 4 160 return ((intptr_t)
value >> 32) ^ ((intptr_t)
value);
167 snprintf(buf,
sizeof(buf),
"%p",
value);
188 sprintf(buf,
"%d",
value);
206 (
str == NULL && otherString->
str == NULL) ||
207 (
str != NULL && otherString->
str != NULL &&
208 strcmp(
str, otherString->
str) == 0);
220 if (
str && otherString->
str)
221 return strcmp(
str, otherString->
str);
224 else if (otherString->
str)
235 for (
int i = 0;
str[i]; i++)
236 h = (h * 256 +
str[i]);
287 (
first == NULL && otherPair->
first == NULL) ||
bool equals(Object *other)
Returns, whether two objects are equal.
An object::Object wrapper for int's.
PairBase(Object *first, Object *second)
size_t sizeOf()
Return the number of bytes, this object totally uses.
An object::Object wrapper for constant strings (char*).
virtual size_t sizeOf()
Return the number of bytes, this object totally uses.
bool equals(Object *other)
Returns, whether two objects are equal.
int hashValue()
Return a hash value for the object.
void intoStringBuffer(misc::StringBuffer *sb)
Store a textual representation of the object in a misc::StringBuffer.
bool equals(Object *other)
Returns, whether two objects are equal.
void intoStringBuffer(misc::StringBuffer *sb)
Store a textual representation of the object in a misc::StringBuffer.
int hashValue()
Return a hash value for the object.
virtual void intoStringBuffer(misc::StringBuffer *sb)
Store a textual representation of the object in a misc::StringBuffer.
void intoStringBuffer(misc::StringBuffer *sb)
Store a textual representation of the object in a misc::StringBuffer.
An object::Object wrapper for strings (char*).
virtual Object * clone()
Return an exact copy of the object.
virtual ~Object()
The destructor is defined as virtual (but not abstract), so that destruction of Object's works proper...
A class for fast concatenation of a large number of strings.
This is the base class for many other classes, which defines very common virtual methods.
void append(const char *str)
Append a NUL-terminated string to the buffer, with copying.
int compareTo(Comparable *other)
Compare two objects c1 and c2.
int compareTo(Comparable *other)
Compare two objects c1 and c2.
An object::Object wrapper for void pointers.
bool equals(Object *other)
Returns, whether two objects are equal.
int hashValue()
Return a hash value for the object.
Instances of a sub class of may be compared (less, greater).
virtual bool equals(Object *other)
Returns, whether two objects are equal.
virtual int hashValue()
Return a hash value for the object.
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 Objec...
const char * getChars()
Return a NUL-terminated strings containing all appended strings.
const char * toString()
Use object::Object::intoStringBuffer to return a textual representation of the object.
void intoStringBuffer(misc::StringBuffer *sb)
Store a textual representation of the object in a misc::StringBuffer.
int hashValue()
Return a hash value for the object.