Grok 20.3.2
grk::TPFetchSeq Struct Reference

#include <TPFetchSeq.h>

Inheritance diagram for grk::TPFetchSeq:
grk::SharedPtrSeq< TPFetch >

Public Member Functions

void push_back (uint16_t tileIndex, const std::unique_ptr< TPSeq > &tileParts)
void push_back (uint16_t tileIndex, const std::unique_ptr< TPSeq > &tileParts, std::vector< std::shared_ptr< TPFetch > > &outParts)
uint8_t incrementFetchCount ()
Public Member Functions inherited from grk::SharedPtrSeq< TPFetch >
std::shared_ptr< TPFetch > & operator[] (size_t index)
iterator begin ()
 Returns iterator to beginning of sequence.
const_iterator end () const
 Returns const iterator to end of sequence.
bool empty () const
 Checks if there are no objects in store.
size_t size () const
 Returns number of objects in store.
void push_back (std::shared_ptr< TPFetch > ptr)
 Adds a pre-existing shared_ptr to the end of the sequence.
void resize (size_t N)
void clear ()

Static Public Member Functions

static void genCollections (const TPSEQ_VEC *allTileParts, std::set< uint16_t > &slated, std::shared_ptr< TPFetchSeq > &tilePartFetchFlat, std::shared_ptr< std::unordered_map< uint16_t, std::shared_ptr< TPFetchSeq > > > &tilePartFetchByTile)

Private Attributes

uint8_t fetchCount_ = 0

Additional Inherited Members

Public Types inherited from grk::SharedPtrSeq< TPFetch >
using iterator
using const_iterator

Member Function Documentation

◆ genCollections()

void grk::TPFetchSeq::genCollections ( const TPSEQ_VEC * allTileParts,
std::set< uint16_t > & slated,
std::shared_ptr< TPFetchSeq > & tilePartFetchFlat,
std::shared_ptr< std::unordered_map< uint16_t, std::shared_ptr< TPFetchSeq > > > & tilePartFetchByTile )
inlinestatic

◆ incrementFetchCount()

uint8_t grk::TPFetchSeq::incrementFetchCount ( )
inline

References fetchCount_.

◆ push_back() [1/2]

void grk::TPFetchSeq::push_back ( uint16_t tileIndex,
const std::unique_ptr< TPSeq > & tileParts )
inline

◆ push_back() [2/2]

void grk::TPFetchSeq::push_back ( uint16_t tileIndex,
const std::unique_ptr< TPSeq > & tileParts,
std::vector< std::shared_ptr< TPFetch > > & outParts )
inline

Member Data Documentation

◆ fetchCount_

uint8_t grk::TPFetchSeq::fetchCount_ = 0
private

Referenced by incrementFetchCount().


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