Diana Software
Public Member Functions | Private Attributes | List of all members
QCachedEventList Class Reference

Public Member Functions

 QCachedEventList ()
 
 ~QCachedEventList ()
 
void Push (const QEvent &obj)
 
void Pop ()
 
size_t Size () const
 
bool Empty () const
 
void Clear ()
 
const QEventAssembleroperator[] (const int i) const
 
QEventAssembleroperator[] (const int i)
 
const QEventAssemblerBack () const
 

Private Attributes

std::deque< int > fIndexes
 
std::deque< int > fFrees
 
std::vector< QEventAssembler * > fElements
 

Detailed Description

Definition at line 10 of file QCachedEventList.hh.

Constructor & Destructor Documentation

◆ QCachedEventList()

Q_BEGIN_NAMESPACE QCachedEventList::QCachedEventList ( )

Definition at line 5 of file QCachedEventList.cc.

References fElements, fFrees, and fIndexes.

◆ ~QCachedEventList()

QCachedEventList::~QCachedEventList ( )

Definition at line 12 of file QCachedEventList.cc.

References fElements.

Member Function Documentation

◆ Back()

const QEventAssembler& QCachedEventList::Back ( ) const
inline

◆ Clear()

void QCachedEventList::Clear ( )

Definition at line 22 of file QCachedEventList.cc.

References fElements, fFrees, and fIndexes.

Referenced by QNeighboursFiller::Init(), and QReaderEventGeneratorFiller::Init().

◆ Empty()

bool QCachedEventList::Empty ( ) const
inline

◆ operator[]() [1/2]

QEventAssembler& QCachedEventList::operator[] ( const int  i)
inline

Definition at line 33 of file QCachedEventList.hh.

References fElements, and fIndexes.

◆ operator[]() [2/2]

const QEventAssembler& QCachedEventList::operator[] ( const int  i) const
inline

Definition at line 31 of file QCachedEventList.hh.

References fElements, and fIndexes.

Referenced by Back().

◆ Pop()

void QCachedEventList::Pop ( )

◆ Push()

void QCachedEventList::Push ( const QEvent obj)

◆ Size()

size_t QCachedEventList::Size ( ) const
inline

Member Data Documentation

◆ fElements

std::vector<QEventAssembler*> QCachedEventList::fElements
private

Definition at line 38 of file QCachedEventList.hh.

Referenced by Clear(), operator[](), Push(), QCachedEventList(), and ~QCachedEventList().

◆ fFrees

std::deque<int> QCachedEventList::fFrees
private

Definition at line 37 of file QCachedEventList.hh.

Referenced by Clear(), Pop(), Push(), and QCachedEventList().

◆ fIndexes

std::deque<int> QCachedEventList::fIndexes
private

Definition at line 36 of file QCachedEventList.hh.

Referenced by Clear(), Empty(), operator[](), Pop(), Push(), QCachedEventList(), and Size().


The documentation for this class was generated from the following files: