- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# Accessor::StructureNameLessThan Struct Reference

Search for all occurrences

## Detailed Description

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>`

List of all members.

## Public Member Functions
bool | operator() (const Structure *lhs, const Structure *rhs) const
| Comparison operator.

## Member Function Documentation

bool operator() | ( | const Structure * | lhs,
|  | const Structure * | rhs
| ) |  | const

Comparison operator.

The comparison does not support null structure pointers so clients must ensure no null structures get added to the set.

Parameters:

  [in] | lhs | Left-hand side operand of the a<b comparison.
  [in] | rhs | Right-hand side operand of the a<b comparison.

Exceptions:

  std::invalid_argument | Thrown if a null structure is passed to the comparator.