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

#include <ASoA.h>

Inherits o2::soa::IndexPolicyBase.

Public Member Functions

 DefaultIndexPolicy ()=default
 Needed to be able to copy the policy.
 
 DefaultIndexPolicy (DefaultIndexPolicy &&)=default
 
 DefaultIndexPolicy (DefaultIndexPolicy const &)=default
 
DefaultIndexPolicyoperator= (DefaultIndexPolicy const &)=default
 
DefaultIndexPolicyoperator= (DefaultIndexPolicy &&)=default
 
 DefaultIndexPolicy (int64_t nRows, uint64_t offset)
 
 DefaultIndexPolicy (FilteredIndexPolicy const &other)
 
void limitRange (int64_t start, int64_t end)
 
std::tuple< int64_t const *, int64_t const * > getIndices () const
 
std::tuple< uint64_t const * > getOffsets () const
 
void setCursor (int64_t i)
 
void moveByIndex (int64_t i)
 
void moveToEnd ()
 
bool operator== (RowViewSentinel const &sentinel) const
 
auto size () const
 

Public Attributes

int64_t mMaxRow = 0
 
- 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.
 

Friends

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

Detailed Description

Definition at line 934 of file ASoA.h.

Constructor & Destructor Documentation

◆ DefaultIndexPolicy() [1/5]

o2::soa::DefaultIndexPolicy::DefaultIndexPolicy ( )
default

Needed to be able to copy the policy.

◆ DefaultIndexPolicy() [2/5]

o2::soa::DefaultIndexPolicy::DefaultIndexPolicy ( DefaultIndexPolicy &&  )
default

◆ DefaultIndexPolicy() [3/5]

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

◆ DefaultIndexPolicy() [4/5]

o2::soa::DefaultIndexPolicy::DefaultIndexPolicy ( int64_t  nRows,
uint64_t  offset 
)
inline

mMaxRow is one behind the last row, so effectively equal to the number of rows nRows. Offset indicates that the index is actually part of a larger

Definition at line 945 of file ASoA.h.

◆ DefaultIndexPolicy() [5/5]

o2::soa::DefaultIndexPolicy::DefaultIndexPolicy ( FilteredIndexPolicy const &  other)
inline

Definition at line 951 of file ASoA.h.

Member Function Documentation

◆ getIndices()

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

Definition at line 966 of file ASoA.h.

◆ getOffsets()

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

Definition at line 972 of file ASoA.h.

◆ limitRange()

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

Definition at line 957 of file ASoA.h.

◆ moveByIndex()

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

Definition at line 981 of file ASoA.h.

◆ moveToEnd()

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

Definition at line 986 of file ASoA.h.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==()

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

Definition at line 996 of file ASoA.h.

◆ setCursor()

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

Definition at line 977 of file ASoA.h.

◆ size()

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

Definition at line 1001 of file ASoA.h.

Friends And Related Symbol Documentation

◆ operator==

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

Definition at line 991 of file ASoA.h.

Member Data Documentation

◆ mMaxRow

int64_t o2::soa::DefaultIndexPolicy::mMaxRow = 0

Definition at line 1006 of file ASoA.h.


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