Go to the documentation of this file.
11 #ifndef GAUDI_NAMEDRANGE_H
12 #define GAUDI_NAMEDRANGE_H 1
108 using Base::operator==;
127 template <
class CONTAINER>
136 #endif // GAUDI_NAMEDRANGE_H
const std::string & name() const
get the name of the range
NamedRange_(const Base &base, std::string name="")
constructor from the base class
NamedRange_ slice(long index1, long index2) const
get a "slice" of a range, in Python style
Gaudi::details::container< CONTAINER >::Container Container
type for actual contained iterator
NamedRange_(const typename Base::Base &base, std::string name="")
constructor from the base class
const Base & base() const
conversion operator to the std::pair
std::string m_name
the name, associated to the range
NamedRange_(typename Base::iterator ibegin, std::string name="")
NamedRange_< CONTAINER > range(const CONTAINER &cnt, std::string name)
simple function to create the named range from arbitrary container
NamedRange_< CONTAINER, ITERATOR > Self
"self"-type
NamedRange_()=default
default constructor
void setName(std::string value)
set the name of the range
~NamedRange_()=default
destructor
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Gaudi::Range_< CONTAINER, ITERATOR > Base
the base class
Range_ slice(long index1, long index2) const
get a "slice" of a range, in Python style
NamedRange_(typename Base::iterator ibegin, typename Base::iterator iend, std::string name="")
Constructor.
NamedRange_(const typename Base::Container &base, std::string name="")
constructor from the base class
boost::spirit::classic::position_iterator2< ForwardIterator > Iterator