ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::SpacePointIndexSubset Struct Reference

#include <SeedContainer.h>

Inheritance diagram for ActsTrk::SpacePointIndexSubset:
Collaboration diagram for ActsTrk::SpacePointIndexSubset:

Public Types

using Base = Acts::SpacePointIndexSubset2
using value_type = SeedContainer::SpacePointValue
using SpacePointContainer = SeedContainer::SpacePointContainer
using Index = Base::size_type
using const_iterator = Acts::detail::ContainerIterator<SpacePointIndexSubset, value_type, Index, true>

Public Member Functions

 SpacePointIndexSubset ()=default
 SpacePointIndexSubset (const SpacePointContainer &spacePointContainer, Base spacePointIndices)
const_iterator begin () const noexcept
const_iterator end () const noexcept
value_type operator[] (Index index) const noexcept
value_type at (Index index) const
value_type front () const noexcept
value_type back () const noexcept

Private Attributes

const SpacePointContainerm_spacePointContainer {nullptr}

Detailed Description

Definition at line 109 of file SeedContainer.h.

Member Typedef Documentation

◆ Base

using ActsTrk::SpacePointIndexSubset::Base = Acts::SpacePointIndexSubset2

Definition at line 110 of file SeedContainer.h.

◆ const_iterator

Definition at line 114 of file SeedContainer.h.

◆ Index

using ActsTrk::SpacePointIndexSubset::Index = Base::size_type

Definition at line 113 of file SeedContainer.h.

◆ SpacePointContainer

◆ value_type

Constructor & Destructor Documentation

◆ SpacePointIndexSubset() [1/2]

ActsTrk::SpacePointIndexSubset::SpacePointIndexSubset ( )
default

◆ SpacePointIndexSubset() [2/2]

ActsTrk::SpacePointIndexSubset::SpacePointIndexSubset ( const SpacePointContainer & spacePointContainer,
Base spacePointIndices )
inline

Definition at line 117 of file SeedContainer.h.

118 : Base(spacePointIndices), m_spacePointContainer(&spacePointContainer) {}
Acts::SpacePointIndexSubset2 Base
const SpacePointContainer * m_spacePointContainer

Member Function Documentation

◆ at()

value_type ActsTrk::SpacePointIndexSubset::at ( Index index) const
inline

Definition at line 123 of file SeedContainer.h.

123{ return m_spacePointContainer->at(Base::operator[](index)); }

◆ back()

value_type ActsTrk::SpacePointIndexSubset::back ( ) const
inlinenoexcept

Definition at line 125 of file SeedContainer.h.

125{ return operator[](size() - 1ul); }
value_type operator[](Index index) const noexcept

◆ begin()

const_iterator ActsTrk::SpacePointIndexSubset::begin ( ) const
inlinenoexcept

Definition at line 120 of file SeedContainer.h.

120{ return const_iterator(*this, 0); }
Acts::detail::ContainerIterator< SpacePointIndexSubset, value_type, Index, true > const_iterator

◆ end()

const_iterator ActsTrk::SpacePointIndexSubset::end ( ) const
inlinenoexcept

Definition at line 121 of file SeedContainer.h.

121{ return const_iterator(*this, size()); }

◆ front()

value_type ActsTrk::SpacePointIndexSubset::front ( ) const
inlinenoexcept

Definition at line 124 of file SeedContainer.h.

124{ return operator[](0ul); }

◆ operator[]()

value_type ActsTrk::SpacePointIndexSubset::operator[] ( Index index) const
inlinenoexcept

Definition at line 122 of file SeedContainer.h.

122{ return (*m_spacePointContainer)[Base::operator[](index)]; }

Member Data Documentation

◆ m_spacePointContainer

const SpacePointContainer* ActsTrk::SpacePointIndexSubset::m_spacePointContainer {nullptr}
private

Definition at line 128 of file SeedContainer.h.

128{nullptr};

The documentation for this struct was generated from the following file: