Dillo v3.1.1-14-g8f67d6e0
No Matches
lout::identity::IdentifiableObject::Class Class Reference

Public Member Functions

 Class (Class *parent, int id, const char *className)
void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer.
- 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 bool equals (Object *other)
 Returns, whether two objects are equal.
virtual int hashValue ()
 Return a hash value for the object.
virtual Objectclone ()
 Return an exact copy of the object.
const 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.

Public Attributes

int id
const char * className

Detailed Description

Definition at line 101 of file identity.hh.

Constructor & Destructor Documentation

◆ Class()

lout::identity::IdentifiableObject::Class::Class ( IdentifiableObject::Class parent,
int  id,
const char *  className 

Definition at line 34 of file identity.cc.

References className, id, and parent.

Member Function Documentation

◆ intoStringBuffer()

void lout::identity::IdentifiableObject::Class::intoStringBuffer ( misc::StringBuffer sb)

Store a textual representation of the object in a misc::StringBuffer.

This is used by object::Object::toString.

Reimplemented from lout::object::Object.

Definition at line 42 of file identity.cc.

References lout::misc::StringBuffer::append(), and lout::misc::StringBuffer::appendInt().

Member Data Documentation

◆ className

const char* lout::identity::IdentifiableObject::Class::className

Definition at line 106 of file identity.hh.

Referenced by Class().

◆ id

int lout::identity::IdentifiableObject::Class::id

Definition at line 105 of file identity.hh.

Referenced by Class(), and lout::identity::IdentifiableObject::registerName().

◆ parent

Class* lout::identity::IdentifiableObject::Class::parent

Definition at line 104 of file identity.hh.

Referenced by Class().

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