Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::NameComparer Class Reference

Utility class for comparing an instance's name. More...

#include <arcane/utils/NameComparer.h>

Collaboration diagram for Arcane::NameComparer:

Public Member Functions

 NameComparer (const String &s)
template<typename U>
bool operator() (const U *ptr) const

Private Attributes

String m_name

Detailed Description

Utility class for comparing an instance's name.

Compares the object's name() attribute with the value provided in the constructor.

Warning
The instance of this class does not make a copy of the string given in the constructor. It must therefore remain valid as long as this instance is valid.

Definition at line 41 of file NameComparer.h.

Constructor & Destructor Documentation

◆ NameComparer()

Arcane::NameComparer::NameComparer ( const String & s)
inline

Definition at line 45 of file NameComparer.h.

Member Function Documentation

◆ operator()()

template<typename U>
bool Arcane::NameComparer::operator() ( const U * ptr) const
inline

Definition at line 52 of file NameComparer.h.

Member Data Documentation

◆ m_name

String Arcane::NameComparer::m_name
private

Definition at line 59 of file NameComparer.h.


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