Web Analytics Made Easy - Statcounter
Skip to content

Class SBCReferencePointerIndexer#

template <class ReferenceTargetType, class ReferenceToTargetType>

ClassList > SBCReferencePointerIndexer

More...

  • #include <SBCReferencePointerIndexer.hpp>

Inherits the following classes: SBCReferenceOwnerIndexer

Classes#

Type Name
class const_iterator
class const_reverse_iterator
class iterator
class reverse_iterator

Public Functions#

Type Name
SBCReferencePointerIndexer ()
SBCReferencePointerIndexer (unsigned int initialSize)
SBCReferencePointerIndexer (const SBCReferencePointerIndexer & pointerIndex)
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
ReferenceTargetType * getReferenceTarget (unsigned int referenceTargetIndex) const
ReferenceToTargetType * getReferenceToTarget (unsigned int referenceToTargetIndex) const
ReferenceTargetType * operator[] (unsigned int referenceTargetIndex) const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
virtual ~SBCReferencePointerIndexer ()

Public Static Functions#

Type Name
void operator delete (void * p, std::size_t size)
void * operator new (std::size_t size)

Detailed Description#

The class SBCReferenceOwnerIndexer implements an owner which references targets (or references to targets) through an indexer. Finding the index associated to a target takes an almost constant time, while accessing a target given its index takes constant time.

Short name: SBPointerIndexer

Public Functions Documentation#

function SBCReferencePointerIndexer [1/3]#

inline SBCReferencePointerIndexer::SBCReferencePointerIndexer () 

function SBCReferencePointerIndexer [2/3]#

inline SBCReferencePointerIndexer::SBCReferencePointerIndexer (
    unsigned int initialSize
) 

function SBCReferencePointerIndexer [3/3]#

inline SBCReferencePointerIndexer::SBCReferencePointerIndexer (
    const SBCReferencePointerIndexer & pointerIndex
) 

function begin [1/2]#

inline iterator SBCReferencePointerIndexer::begin () 

function begin [2/2]#

inline const_iterator SBCReferencePointerIndexer::begin () const

function end [1/2]#

inline iterator SBCReferencePointerIndexer::end () 

function end [2/2]#

inline const_iterator SBCReferencePointerIndexer::end () const

function getReferenceTarget#

inline ReferenceTargetType * SBCReferencePointerIndexer::getReferenceTarget (
    unsigned int referenceTargetIndex
) const

function getReferenceToTarget#

inline ReferenceToTargetType * SBCReferencePointerIndexer::getReferenceToTarget (
    unsigned int referenceToTargetIndex
) const

function operator[]#

inline ReferenceTargetType * SBCReferencePointerIndexer::operator[] (
    unsigned int referenceTargetIndex
) const

function rbegin [1/2]#

inline reverse_iterator SBCReferencePointerIndexer::rbegin () 

function rbegin [2/2]#

inline const_reverse_iterator SBCReferencePointerIndexer::rbegin () const

function rend [1/2]#

inline reverse_iterator SBCReferencePointerIndexer::rend () 

function rend [2/2]#

inline const_reverse_iterator SBCReferencePointerIndexer::rend () const

function ~SBCReferencePointerIndexer#

inline virtual SBCReferencePointerIndexer::~SBCReferencePointerIndexer () 

Public Static Functions Documentation#

function operator delete#

static inline void SBCReferencePointerIndexer::operator delete (
    void * p,
    std::size_t size
) 

function operator new#

static inline void * SBCReferencePointerIndexer::operator new (
    std::size_t size
)