1 #ifndef GAUDI_NAMEDRANGE_H 2 #define GAUDI_NAMEDRANGE_H 1 120 template <
class CONTAINER>
130 #endif // GAUDI_NAMEDRANGE_H const std::string & name() const
get the name of the range
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
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
NamedRange_ slice(long index1, long index2) const
get a "slice" of a range, in Python style
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="")
const Base & base() const
conversion operator to the std::pair
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...
Helper functions to set/get the application return code.
~NamedRange_()=default
destructor