LArSoft  v09_90_00
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 115 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 117 of file GeometryDataContainers.h.

118  {
119  return obj.ID();
120  }

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