libabigail
Public Member Functions | List of all members
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. More...
 
bool operator() (const diff *l, diff *r) const
 Lexicographically compare two diff nodes. More...
 
bool operator() (const diff_sptr l, diff_sptr r) const
 Lexicographically compare two diff nodes. More...
 

Detailed Description

A comparison functor for instances of diff.

Definition at line 870 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 879 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 893 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 903 of file abg-comparison-priv.h.


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