LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
lar::Identity< T > Class Template Reference

Functor returning the object specified as argument. More...

#include "NestedIterator.h"

Public Types

typedef T argument_type
 
typedef T result_type
 

Public Member Functions

result_typeoperator() (argument_type &x) const
 
const result_typeoperator() (const argument_type &x) const
 

Detailed Description

template<class T>
class lar::Identity< T >

Functor returning the object specified as argument.

Definition at line 48 of file NestedIterator.h.

Member Typedef Documentation

template<class T >
typedef T lar::Identity< T >::argument_type

Definition at line 125 of file NestedIterator.h.

template<class T >
typedef T lar::Identity< T >::result_type

Definition at line 126 of file NestedIterator.h.

Member Function Documentation

template<class T >
result_type& lar::Identity< T >::operator() ( argument_type x) const
inline

Definition at line 128 of file NestedIterator.h.

References x.

128 { return x; }
Float_t x
Definition: compare.C:6
template<class T >
const result_type& lar::Identity< T >::operator() ( const argument_type x) const
inline

Definition at line 129 of file NestedIterator.h.

References x.

129 { return x; }
Float_t x
Definition: compare.C:6

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