Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Finder< T, S > Struct Template Reference

#include <Util.h>

Public Member Functions

 Finder (T val, T S::*idMember)
bool operator() (const std::pair< int, S > &obj)

Public Attributes

T S::* idMember_
val_

Detailed Description

template<typename T, class S>
struct Finder< T, S >

Definition at line 19 of file Util.h.

Constructor & Destructor Documentation

◆ Finder()

template<typename T, class S>
Finder< T, S >::Finder ( T val,
T S::* idMember )
inline

Definition at line 24 of file Util.h.

References idMember_, and val_.

Member Function Documentation

◆ operator()()

template<typename T, class S>
bool Finder< T, S >::operator() ( const std::pair< int, S > & obj)
inline

Definition at line 25 of file Util.h.

References idMember_, and val_.

Member Data Documentation

◆ idMember_

template<typename T, class S>
T S::* Finder< T, S >::idMember_

Definition at line 22 of file Util.h.

Referenced by Finder(), and operator()().

◆ val_

template<typename T, class S>
T Finder< T, S >::val_

Definition at line 21 of file Util.h.

Referenced by Finder(), and operator()().


The documentation for this struct was generated from the following file:
  • src/server/shared/Utilities/Util.h