SBCReferencePointerList< ReferenceTargetType, ReferenceToTargetType > Class Template Reference

Constructors and destructors

 SBCReferencePointerList ()
 SBCReferencePointerList (const SBCReferencePointerList &pointerList)
virtual ~SBCReferencePointerList ()


ReferenceTargetType * first () const
ReferenceTargetType * last () const

References list traversal

iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const

References list operations

iterator erase (iterator position)
iterator erase (iterator first, iterator last)
iterator find (ReferenceTargetType *referenceTarget)
const_iterator find (ReferenceTargetType *referenceTarget) const

Detailed Description

template<class ReferenceTargetType = SBCReferenceTarget, class ReferenceToTargetType = SBCReferenceToTarget>
class SBCReferencePointerList< ReferenceTargetType, ReferenceToTargetType >

The class SBCReferencePointerList is a convenience class used to reference a list of targets of a given type that derives from SBCReferenceTarget. Convenience functions are provided to cast both to the target type and to the target reference type.