LOGO

RestFrames  v1.0.1
RestFrames HEP Event Analysis Software Library
Public Member Functions | Protected Attributes | List of all members
RestFrames::RFListBase< T, Derived > Class Template Reference

Detailed Description

template<class T, class Derived>
class RestFrames::RFListBase< T, Derived >

Definition at line 53 of file RFList.hh.

Public Member Functions

void Clear ()
 
bool Add (T &obj)
 
template<class U >
bool Add (const RFList< U > &objs)
 
int Remove (const T &obj)
 
template<class U >
void Remove (const RFList< U > &objs)
 
int GetN () const
 
T & Get (int i) const
 
T & Get (const RFKey &key) const
 
int GetIndex (const RFKey &key) const
 
int GetIndex (const T &obj) const
 
template<class U >
bool Contains (const U &obj) const
 
template<class U >
bool Contains (const RFList< U > &objs) const
 
template<class U >
bool IsSame (const RFList< U > &objs) const
 
template<class U >
Derived Union (const RFList< U > &objs) const
 
template<class U >
Derived Intersection (const RFList< U > &objs) const
 
template<class U >
Derived Complement (const RFList< U > &objs) const
 
Derived & operator= (T &obj)
 
template<class U >
Derived & operator= (const RFList< U > &objs)
 
T & operator[] (int i) const
 
T & operator[] (const RFKey &key) const
 
bool operator== (const T &obj) const
 
template<class U >
bool operator== (const RFList< U > &objs) const
 
bool operator!= (const T &obj) const
 
template<class U >
bool operator!= (const RFList< U > &objs) const
 
Derived operator+ (T &obj) const
 
template<class U >
Derived operator+ (const RFList< U > &objs) const
 
Derived operator- (const T &obj) const
 
template<class U >
Derived operator- (const RFList< U > &objs) const
 
Derived & operator+= (T &obj)
 
template<class U >
Derived & operator+= (const RFList< U > &objs)
 
Derived & operator-= (const T &obj)
 
template<class U >
Derived & operator-= (const RFList< U > &objs)
 

Protected Attributes

std::vector< T * > m_Objs
 

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