LifeV
BCIdentifierComparison Class Reference

BCIdentifierComp - Functor for ordering operations (required in set STL container) More...

#include <BCIdentifier.hpp>

Operators

bool operator() (const BCIdentifierBase *i1, const BCIdentifierBase *i2) const
 Comparison operator for BCIdentifier objects. More...
 
bool operator() (std::shared_ptr< BCIdentifierBase > const &i1, std::shared_ptr< BCIdentifierBase > const &i2) const
 Comparison operator for shared pointers to BCIdentifier objects. More...
 

Detailed Description

BCIdentifierComp - Functor for ordering operations (required in set STL container)

Definition at line 129 of file BCIdentifier.hpp.

Member Function Documentation

◆ operator()() [1/2]

bool operator() ( const BCIdentifierBase i1,
const BCIdentifierBase i2 
) const
inline

Comparison operator for BCIdentifier objects.

Returns
Boolean which is true if the ID of the first BCIdentifier is smaller than the ID of the second BCIdentifier

Definition at line 141 of file BCIdentifier.hpp.

◆ operator()() [2/2]

bool operator() ( std::shared_ptr< BCIdentifierBase > const &  i1,
std::shared_ptr< BCIdentifierBase > const &  i2 
) const
inline

Comparison operator for shared pointers to BCIdentifier objects.

Returns
Boolean which is true if the ID of the first BCIdentifier is smaller than the ID of the second BCIdentifier

Definition at line 151 of file BCIdentifier.hpp.


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