AliPhysics  c7b8e89 (c7b8e89)
Range< It > Class Template Reference

#include <AliYAMLConfiguration.h>

Public Member Functions

 Range (It b, It e)
 
It begin () const
 
It end () const
 

Private Attributes

It b
 
It e
 

Detailed Description

template<typename It>
class Range< It >

Allow reverse range based iteration. We use this to iterate over the available configurations in reverse to find the requested value. We iterate in reverse because it allows configurations that are added later to override values in configurations that are already added. Otherwise, overriding values could only be performed by rearranging configuration files (which was not possible in the EMCal Correction Framework, for exmaple).

From: https://stackoverflow.com/a/21510202

Definition at line 165 of file AliYAMLConfiguration.h.

Constructor & Destructor Documentation

template<typename It>
Range< It >::Range ( It  b,
It  e 
)
inline

Definition at line 170 of file AliYAMLConfiguration.h.

Member Function Documentation

template<typename It>
It Range< It >::begin ( ) const
inline

Definition at line 171 of file AliYAMLConfiguration.h.

template<typename It>
It Range< It >::end ( ) const
inline

Definition at line 172 of file AliYAMLConfiguration.h.

Member Data Documentation

template<typename It>
It Range< It >::b
private

Definition at line 167 of file AliYAMLConfiguration.h.

template<typename It>
It Range< It >::e
private

Definition at line 167 of file AliYAMLConfiguration.h.


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