ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
Trk::ObjectAccessor Class Reference

#include <ObjectAccessor.h>

Collaboration diagram for Trk::ObjectAccessor:

Public Types

typedef int value_type
 
typedef const value_typeconst_iterator
 

Public Member Functions

template<size_t DIM>
 ObjectAccessor (const std::array< value_type, DIM > &a, bool is_reverse=false)
 
template<size_t DIM>
 ObjectAccessor (const std::pair< std::array< value_type, DIM >, bool > &a)
 
ObjectAccessor::const_iterator begin () const
 
ObjectAccessor::const_iterator end () const
 
bool inverseRetrieval () const
 

Private Attributes

ObjectAccessor::const_iterator m_begin
 
ObjectAccessor::const_iterator m_end
 
bool m_inverseRetrieval
 

Detailed Description

Definition at line 14 of file ObjectAccessor.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 19 of file ObjectAccessor.h.

◆ value_type

Definition at line 17 of file ObjectAccessor.h.

Constructor & Destructor Documentation

◆ ObjectAccessor() [1/2]

template<size_t DIM>
Trk::ObjectAccessor::ObjectAccessor ( const std::array< value_type, DIM > &  a,
bool  is_reverse = false 
)
inline

Definition at line 22 of file ObjectAccessor.h.

23  : m_begin(a.begin())
24  , m_end(a.end())
25  , m_inverseRetrieval(is_reverse)
26  {}

◆ ObjectAccessor() [2/2]

template<size_t DIM>
Trk::ObjectAccessor::ObjectAccessor ( const std::pair< std::array< value_type, DIM >, bool > &  a)
inline

Definition at line 29 of file ObjectAccessor.h.

30  : m_begin(a.first.begin())
31  , m_end(a.first.end())
32  , m_inverseRetrieval(a.second)
33  {}

Member Function Documentation

◆ begin()

ObjectAccessor::const_iterator Trk::ObjectAccessor::begin ( ) const
inline

Definition at line 35 of file ObjectAccessor.h.

35 { return m_begin; }

◆ end()

ObjectAccessor::const_iterator Trk::ObjectAccessor::end ( ) const
inline

Definition at line 36 of file ObjectAccessor.h.

36 { return m_end; }

◆ inverseRetrieval()

bool Trk::ObjectAccessor::inverseRetrieval ( ) const
inline

Definition at line 38 of file ObjectAccessor.h.

38 { return m_inverseRetrieval; }

Member Data Documentation

◆ m_begin

ObjectAccessor::const_iterator Trk::ObjectAccessor::m_begin
private

Definition at line 41 of file ObjectAccessor.h.

◆ m_end

ObjectAccessor::const_iterator Trk::ObjectAccessor::m_end
private

Definition at line 42 of file ObjectAccessor.h.

◆ m_inverseRetrieval

bool Trk::ObjectAccessor::m_inverseRetrieval
private

Definition at line 43 of file ObjectAccessor.h.


The documentation for this class was generated from the following file:
Trk::ObjectAccessor::m_begin
ObjectAccessor::const_iterator m_begin
Definition: ObjectAccessor.h:41
Trk::ObjectAccessor::m_inverseRetrieval
bool m_inverseRetrieval
Definition: ObjectAccessor.h:43
a
TList * a
Definition: liststreamerinfos.cxx:10
Trk::ObjectAccessor::m_end
ObjectAccessor::const_iterator m_end
Definition: ObjectAccessor.h:42