Project
Loading...
Searching...
No Matches
o2::soa::FilteredIndexPolicy Struct Reference

#include <ASoA.h>

Inherits o2::soa::IndexPolicyBase.

Public Member Functions

 FilteredIndexPolicy (gsl::span< int64_t const > selection, int64_t rows, uint64_t offset=0)
 
void resetSelection (gsl::span< int64_t const > selection)
 
 FilteredIndexPolicy ()=default
 
 FilteredIndexPolicy (FilteredIndexPolicy &&)=default
 
 FilteredIndexPolicy (FilteredIndexPolicy const &)=default
 
FilteredIndexPolicyoperator= (FilteredIndexPolicy const &)=default
 
FilteredIndexPolicyoperator= (FilteredIndexPolicy &&)=default
 
std::tuple< int64_t const *, int64_t const * > getIndices () const
 
std::tuple< uint64_t const * > getOffsets () const
 
void limitRange (int64_t start, int64_t end)
 
void setCursor (int64_t i)
 
void moveByIndex (int64_t i)
 
bool operator== (RowViewSentinel const &sentinel) const
 
void moveToEnd ()
 
auto getSelectionRow () const
 
auto size () const
 
auto raw_size () const
 

Friends

bool operator== (FilteredIndexPolicy const &lh, FilteredIndexPolicy const &rh)
 

Additional Inherited Members

- Public Attributes inherited from o2::soa::IndexPolicyBase
int64_t mRowIndex = 0
 Position inside the current table.
 
uint64_t mOffset = 0
 Offset within a larger table.
 

Detailed Description

Definition at line 829 of file ASoA.h.

Constructor & Destructor Documentation

◆ FilteredIndexPolicy() [1/4]

o2::soa::FilteredIndexPolicy::FilteredIndexPolicy ( gsl::span< int64_t const >  selection,
int64_t  rows,
uint64_t  offset = 0 
)
inline

Definition at line 835 of file ASoA.h.

◆ FilteredIndexPolicy() [2/4]

o2::soa::FilteredIndexPolicy::FilteredIndexPolicy ( )
default

◆ FilteredIndexPolicy() [3/4]

o2::soa::FilteredIndexPolicy::FilteredIndexPolicy ( FilteredIndexPolicy &&  )
default

◆ FilteredIndexPolicy() [4/4]

o2::soa::FilteredIndexPolicy::FilteredIndexPolicy ( FilteredIndexPolicy const &  )
default

Member Function Documentation

◆ getIndices()

std::tuple< int64_t const *, int64_t const * > o2::soa::FilteredIndexPolicy::getIndices ( ) const
inline

Definition at line 858 of file ASoA.h.

◆ getOffsets()

std::tuple< uint64_t const * > o2::soa::FilteredIndexPolicy::getOffsets ( ) const
inline

Definition at line 864 of file ASoA.h.

◆ getSelectionRow()

auto o2::soa::FilteredIndexPolicy::getSelectionRow ( ) const
inline

Definition at line 908 of file ASoA.h.

◆ limitRange()

void o2::soa::FilteredIndexPolicy::limitRange ( int64_t  start,
int64_t  end 
)
inline

Definition at line 869 of file ASoA.h.

◆ moveByIndex()

void o2::soa::FilteredIndexPolicy::moveByIndex ( int64_t  i)
inline

Definition at line 883 of file ASoA.h.

◆ moveToEnd()

void o2::soa::FilteredIndexPolicy::moveToEnd ( )
inline

Move iterator to one after the end. Since this is a view we move the mSelectionRow to one past the view size and the mRowIndex to one past the last entry in the selection

Definition at line 902 of file ASoA.h.

◆ operator=() [1/2]

FilteredIndexPolicy & o2::soa::FilteredIndexPolicy::operator= ( FilteredIndexPolicy &&  )
default

◆ operator=() [2/2]

FilteredIndexPolicy & o2::soa::FilteredIndexPolicy::operator= ( FilteredIndexPolicy const &  )
default

◆ operator==()

bool o2::soa::FilteredIndexPolicy::operator== ( RowViewSentinel const &  sentinel) const
inline

Definition at line 894 of file ASoA.h.

◆ raw_size()

auto o2::soa::FilteredIndexPolicy::raw_size ( ) const
inline

Definition at line 918 of file ASoA.h.

◆ resetSelection()

void o2::soa::FilteredIndexPolicy::resetSelection ( gsl::span< int64_t const >  selection)
inline

Definition at line 844 of file ASoA.h.

◆ setCursor()

void o2::soa::FilteredIndexPolicy::setCursor ( int64_t  i)
inline

Definition at line 877 of file ASoA.h.

◆ size()

auto o2::soa::FilteredIndexPolicy::size ( ) const
inline

Definition at line 913 of file ASoA.h.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( FilteredIndexPolicy const &  lh,
FilteredIndexPolicy const &  rh 
)
friend

Definition at line 889 of file ASoA.h.


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