Logo Search packages:      
Sourcecode: vdccm version File versions

bool Descriptor::operator< ( const Descriptor descriptor  )  const [inline, inherited]

Lesser-operator on the descriptor base.

A network descriptor is represented as an integer value by the underlying Operating System. This operator works at that level and compares Descriptors by their integer values.

Parameters:
descriptor The right hand side of the lesser-operator.
Returns:
true, if the left hand side is smaller than the right hand size. False otherwise.

Definition at line 86 of file descriptor.h.

References Descriptor::getDescriptor().

                                                       {
        if (this->descriptor < descriptor.getDescriptor()) {
            return true;
        }
        return false;
    }


Generated by  Doxygen 1.6.0   Back to index