LArSoft  v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
geo::GeoIDdataContainer< T, Mapper >::IDextractor Struct Reference

Functor to extract an ID data member. More...

Public Member Functions

template<typename Obj >
decltype(auto) operator() (Obj &&obj) const
 

Detailed Description

template<typename T, typename Mapper>
struct geo::GeoIDdataContainer< T, Mapper >::IDextractor

Functor to extract an ID data member.

Definition at line 112 of file GeometryDataContainers.h.

Member Function Documentation

template<typename T, typename Mapper>
template<typename Obj >
decltype(auto) geo::GeoIDdataContainer< T, Mapper >::IDextractor::operator() ( Obj &&  obj) const
inline

Definition at line 114 of file GeometryDataContainers.h.

115  {
116  return obj.ID();
117  }

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