Functor for Structure ordering in a std::set.
This functor compares Structures to keep them ordered by name in a std::set.
#include <adskDataAccessor.h>
Public Member Functions | |
| bool | operator() (const Structure *lhs, const Structure *rhs) const |
| Comparison operator. | |
Comparison operator.
The comparison does not support null structure pointers so clients must ensure no null structures get added to the set.
| [in] | lhs | Left-hand side operand of the a<b comparison. |
| [in] | rhs | Right-hand side operand of the a<b comparison. |
| std::invalid_argument | Thrown if a null structure is passed to the comparator. |