libabigail
Loading...
Searching...
No Matches
diff_comp Struct Reference

A comparison functor for instances of diff. More...

#include <abg-comparison-priv.h>

Public Member Functions

bool operator() (const diff &l, diff &r) const
 Lexicographically compare two diff nodes.
 
bool operator() (const diff *l, diff *r) const
 Lexicographically compare two diff nodes.
 
bool operator() (const diff_sptr l, diff_sptr r) const
 Lexicographically compare two diff nodes.
 

Detailed Description

A comparison functor for instances of diff.

Definition at line 877 of file abg-comparison-priv.h.

Member Function Documentation

◆ operator()() [1/3]

bool operator() ( const diff & l,
diff & r ) const
inline

Lexicographically compare two diff nodes.

Compare the pretty representation of the first subjects of two diff nodes.

Returns
true iff l is less than r.

Definition at line 886 of file abg-comparison-priv.h.

◆ operator()() [2/3]

bool operator() ( const diff * l,
diff * r ) const
inline

Lexicographically compare two diff nodes.

Compare the pretty representation of the first subjects of two diff nodes.

Returns
true iff l is less than r.

Definition at line 900 of file abg-comparison-priv.h.

◆ operator()() [3/3]

bool operator() ( const diff_sptr l,
diff_sptr r ) const
inline

Lexicographically compare two diff nodes.

Compare the pretty representation of the first subjects of two diff nodes.

Returns
true iff l is less than r.

Definition at line 910 of file abg-comparison-priv.h.


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