ATLAS Offline Software
Classes | Namespaces | Functions
AthLinks/ElementLinkVector.h File Reference
#include <algorithm>
#include <exception>
#include <functional>
#include <vector>
#include <boost/iterator/transform_iterator.hpp>
#include <boost/iterator_adaptors.hpp>
#include <RootMetaSelection.h>
#include "AthLinks/ElementLinkVectorBase.h"
#include "AthLinks/DataLink.h"
#include "AthLinks/ElementLink.h"
#include "AthLinks/tools/SGELVRef.h"
#include "AthenaKernel/getMessageSvc.h"
#include "GaudiKernel/MsgStream.h"
#include "AthLinks/ElementLinkVector.icc"
#include "AthLinks/tools/SGELVRef.icc"

Go to the source code of this file.

Classes

class  ROOT::Meta::Selection::ElementLinkVector< CONTAINER >
 
class  ElementLinkVector< DOBJ >
 ElementLinkVector implementation for standalone ROOT. More...
 
class  ElementLinkVector< DOBJ >::Short2LongRef
 a functor turning an ElemLinkRef into an ElementLink More...
 
class  ElementLinkVector< DOBJ >::ELVIterator< Iterator >
 
class  ROOT::Meta::Selection::ElementLinkVector< CONTAINER >
 

Namespaces

 ROOT
 Selection rules: declare transient members.
 
 ROOT::Meta
 
 ROOT::Meta::Selection
 

Functions

template<typename DOBJ >
void std::swap (ElementLinkVector< DOBJ > &lhs, ElementLinkVector< DOBJ > &rhs)
 
vector comparison operators
template<typename DOBJ >
bool operator< (const ElementLinkVector< DOBJ > &lhs, const ElementLinkVector< DOBJ > &rhs)
 
template<typename DOBJ >
bool operator== (const ElementLinkVector< DOBJ > &lhs, const ElementLinkVector< DOBJ > &rhs)
 
template<typename DOBJ >
bool operator> (const ElementLinkVector< DOBJ > &lhs, const ElementLinkVector< DOBJ > &rhs)
 
template<typename DOBJ >
bool operator!= (const ElementLinkVector< DOBJ > &lhs, const ElementLinkVector< DOBJ > &rhs)
 

Function Documentation

◆ operator!=()

template<typename DOBJ >
bool operator!= ( const ElementLinkVector< DOBJ > &  lhs,
const ElementLinkVector< DOBJ > &  rhs 
)

Definition at line 475 of file AthLinks/ElementLinkVector.h.

476  {
477  return !operator==(lhs, rhs);
478 }

◆ operator<()

template<typename DOBJ >
bool operator< ( const ElementLinkVector< DOBJ > &  lhs,
const ElementLinkVector< DOBJ > &  rhs 
)

Definition at line 456 of file AthLinks/ElementLinkVector.h.

458  {
459  return (lhs.m_shortRefs < rhs.m_shortRefs);
460 }

◆ operator==()

template<typename DOBJ >
bool operator== ( const ElementLinkVector< DOBJ > &  lhs,
const ElementLinkVector< DOBJ > &  rhs 
)

Definition at line 469 of file AthLinks/ElementLinkVector.h.

470  {
471  return (lhs.m_shortRefs == rhs.m_shortRefs);
472 }

◆ operator>()

template<typename DOBJ >
bool operator> ( const ElementLinkVector< DOBJ > &  lhs,
const ElementLinkVector< DOBJ > &  rhs 
)

Definition at line 463 of file AthLinks/ElementLinkVector.h.

464  {
465  return rhs < lhs;
466 }

◆ swap()

template<typename DOBJ >
void std::swap ( ElementLinkVector< DOBJ > &  lhs,
ElementLinkVector< DOBJ > &  rhs 
)

Definition at line 485 of file AthLinks/ElementLinkVector.h.

486  {
487 #ifdef __ELVDEBUG
488  std::cout << "std::swap called for lhs " << std::hex << &lhs
489  << " rhs " << &rhs << std::dec << std::endl;
490 #endif
491  lhs.swap(rhs);
492 }
ElementLinkVector::swap
void swap(ElemLinkVec &vec)
Definition: AthLinks/ElementLinkVector.h:338
ElementLinkVector::m_shortRefs
RefVector m_shortRefs
Definition: AthLinks/ElementLinkVector.h:93