feisty meow concerns codebase  2.140
basis::orderable Class Referenceabstract

A base for objects that can be alphabetically (lexicographically) ordered. More...

#include <contracts.h>

Inheritance diagram for basis::orderable:
Collaboration diagram for basis::orderable:

Public Member Functions

virtual bool less_than (const orderable &s2) const =0
 
virtual bool operator< (const orderable &s2) const
 the virtual method for object ordering. More...
 
- Public Member Functions inherited from basis::equalizable
virtual bool equal_to (const equalizable &s2) const =0
 
virtual bool operator== (const equalizable &s2) const
 the virtual method for object equality. More...
 

Detailed Description

A base for objects that can be alphabetically (lexicographically) ordered.

Definition at line 56 of file contracts.h.

Member Function Documentation

◆ less_than()

virtual bool basis::orderable::less_than ( const orderable s2) const
pure virtual

◆ operator<()

virtual bool basis::orderable::operator< ( const orderable s2) const
inlinevirtual

the virtual method for object ordering.

Definition at line 61 of file contracts.h.

References less_than().


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