Isle
Loading...
Searching...
No Matches
MxAtomCompare Struct Reference

[AI] Functor for comparing two MxAtom pointers based on their keys (strings). More...

#include <mxatom.h>

Public Member Functions

int operator() (MxAtom *const &p_val0, MxAtom *const &p_val1) const
 [AI] Compares two atom pointers lexicographically by their string keys. More...
 

Detailed Description

[AI] Functor for comparing two MxAtom pointers based on their keys (strings).

[AI] Used as the comparator for sets of MxAtom pointers (e.g., in MxAtomSet), ensuring uniqueness in the atom set and enabling efficient lookup.

Definition at line 79 of file mxatom.h.

Member Function Documentation

◆ operator()()

int MxAtomCompare::operator() ( MxAtom *const &  p_val0,
MxAtom *const &  p_val1 
) const
inline

[AI] Compares two atom pointers lexicographically by their string keys.

Parameters
p_val0[AI] First atom pointer.
p_val1[AI] Second atom pointer.
Returns
int [AI] Returns true if p_val0 is ordered after p_val1 (for std::set ordering).

Definition at line 88 of file mxatom.h.


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