1 #ifndef DataFormats_Common_DetSet_h 2 #define DataFormats_Common_DetSet_h 30 typedef typename collection_type::iterator
iterator;
39 #if defined(__GXX_EXPERIMENTAL_CXX0X__) 42 DetSet<T>&
operator=(DetSet<T>
const& rh) {
50 DetSet<T>&
operator=(DetSet<T>&& rh) noexcept {
67 template <
class... Args>
69 return data.emplace_back(std::forward<Args>(
args)...);
90 return x.detId() < y.detId();
99 inline bool operator<(det_id_type x, DetSet<T>
const& y) {
100 return x < y.detId();
std::vector< T > collection_type
Basic3DVector & operator=(const Basic3DVector &)=default
Assignment operator.
void push_back(const T &t)
collection_type::iterator iterator
const_iterator end() const
reference operator[](size_type i)
#define CMS_CLASS_VERSION(_version_)
const_reference operator[](size_type i) const
det_id_type detId() const
const_iterator begin() const
void swap(DetSet< T > &a, DetSet< T > &b)
DetSet(det_id_type i)
constructor by detector identifier
Container::value_type value_type
decltype(auto) emplace_back(Args &&... args)
collection_type::value_type value_type
def template(fileName, svg, replaceme="REPLACEME")
collection_type::reference reference
DetSet()
default constructor
void swap(DetSet< T > &other) noexcept
collection_type::size_type size_type
collection_type::const_reference const_reference
collection_type::const_iterator const_iterator