Class hierarchy Compound list Compound Members

# Containable Class Reference

Generic containable class. More...

Inherited by Number_Containable, Serial_Containable and String_Containable.

List of all members.

## Public Members

- virtual ~Containable ()
    Destructor.

- virtual size_t hashValue () const = 0
    Unique hash value used for hash tables.

- virtual DS_BOOL lessThan (const Containable *c) const = 0
    Comparison method to check if the object is less than the parameter.

- virtual DS_BOOL equals (const Containable *c) const = 0
    Comparison method to check if the object equals the parameter.

## Detailed Description

Generic containable class.

All data elements which are placed in any container, must be subclasses of this class.

## Member Function Documentation

### virtual Containable::~Containable()`[virtual]`

Destructor.

### virtual size_t Containable::hashValue() const = 0`[pure virtual]`

Unique hash value used for hash tables.

Reimplemented in String_Containable, Serial_Containable and Number_Containable.

### virtual DS_BOOL Containable::lessThan(const Containable *c) const = 0`[pure virtual]`

Comparison method to check if the object is less than the parameter.

Reimplemented in String_Containable, Serial_Containable and Number_Containable.

### virtual DS_BOOL Containable::equals(const Containable *c) const = 0`[pure virtual]`

Comparison method to check if the object equals the parameter.

Reimplemented in String_Containable, Serial_Containable and Number_Containable.

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

- DS_Containable.h