1 #ifndef GAUDI_NAMEDRANGE_H 2 #define GAUDI_NAMEDRANGE_H 1 117 template <
class CONTAINER>
126 #endif // GAUDI_NAMEDRANGE_H
NamedRange_< CONTAINER, ITERATOR > Self
"self"-type
NamedRange_(const Base &base, std::string name="")
constructor from the base class
NamedRange_(const typename Base::Base &base, std::string name="")
constructor from the base class
void setName(const std::string &value)
set the name of the range
const Base & base() const
conversion operator to the std::pair
NamedRange_(const typename Base::Container &base, std::string name="")
constructor from the base class
NamedRange_< CONTAINER > range(const CONTAINER &cnt, std::string name)
simple function to create the named range from arbitrary container
const std::string & name() const
get the name of the range
This file has been imported from LoKi project "C++ ToolKit for Smart and Friendly Physics Analysis"
NamedRange_()=default
default constructor
std::string m_name
the name, associated to the range
Gaudi::Range_< CONTAINER, ITERATOR > Base
the base class
boost::spirit::classic::position_iterator2< ForwardIterator > Iterator
NamedRange_(typename Base::iterator ibegin, std::string name="")
NamedRange_(typename Base::iterator ibegin, typename Base::iterator iend, std::string name="")
Constructor.
Useful class for representation of "sequence" of the objects through the range of valid iterators.
NamedRange_ slice(long index1, long index2) const
get a "slice" of a range, in Python style
Header file for std:chrono::duration-based Counters.
~NamedRange_()=default
destructor