lout::object::PairBase Class Reference

#include <object.hh>

List of all members.

Public Member Functions

 PairBase (Object *first, Object *second)
 ~PairBase ()
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.
size_t sizeOf ()
 Return the number of bytes, this object totally uses.

Protected Attributes

Objectfirst
Objectsecond


Detailed Description

Todo:
Comment

Constructor & Destructor Documentation

lout::object::PairBase::PairBase ( Object first,
Object second 
)

lout::object::PairBase::~PairBase (  ) 

References first, and second.


Member Function Documentation

bool lout::object::PairBase::equals ( Object other  )  [virtual]

Returns, whether two objects are equal.

The caller should ensure, that this and the object have the same class; this makes casting of "other" safe. Typically, an implementation should check this == other first, the caller can assume a fast implementation.

Reimplemented from lout::object::Object.

References lout::object::Object::equals(), first, and second.

int lout::object::PairBase::hashValue (  )  [virtual]

Return a hash value for the object.

Reimplemented from lout::object::Object.

References first, lout::object::Object::hashValue(), and second.

void lout::object::PairBase::intoStringBuffer ( misc::StringBuffer sb  )  [virtual]

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

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

Reimplemented from lout::object::Object.

References lout::misc::StringBuffer::append(), first, lout::object::Object::intoStringBuffer(), and second.

size_t lout::object::PairBase::sizeOf (  )  [virtual]

Return the number of bytes, this object totally uses.

Reimplemented from lout::object::Object.

References first, second, and lout::object::Object::sizeOf().


Member Data Documentation


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

Generated on Wed Sep 7 02:00:38 2011 for Dillo by  doxygen 1.5.9