Web Analytics Made Easy - Statcounter
Skip to content

Class SBCReferenceListLinkPointer#

ClassList > SBCReferenceListLinkPointer

Inherits the following classes: SBCReferencePointer

Inherited by the following classes: SBCReferenceList::const_iterator, SBCReferenceList::const_reverse_iterator, SBCReferenceList::iterator, SBCReferenceList::reverse_iterator, SBCReferenceListLinkPointerBackward, SBCReferenceListLinkPointerForward

Public Functions#

Type Name
SBCReferenceListLinkPointer ()
SBCReferenceListLinkPointer (SBCReferenceListLink * referenceListLink)
SBCReferenceListLinkPointer (const SBCReferenceListLinkPointer & referenceListLinkPointer)
virtual void detachReferenceTarget ()
SBCReferenceListLink * getLink () const
void setLink (SBCReferenceListLink * referenceListLink)
virtual ~SBCReferenceListLinkPointer ()

Public Functions inherited from SBCReferencePointer#

See SBCReferencePointer

Type Name
SBCReferencePointer ()
Builds a SAMSON pointer.
SBCReferencePointer (ReferenceTargetType * t)
Builds a SAMSON pointer to the reference target t .
SBCReferencePointer (const SBCReferencePointer< ReferenceTargetType > & p)
Copy constructor.
ReferenceTargetType * getPointer () const
Returns a pointer to the reference target.
bool operator!= (const SBCReferencePointer & p)
Inequality operator: returns true if both SAMSON pointers refer to different targets.
bool operator!= (const SBCReferencePointer & p) const
Inequality operator: returns true if both SAMSON pointers refer to different targets.
bool operator!= (ReferenceTargetType * t)
Inequality operator: returns true if this SAMSON pointer does not refer to the given targett .
bool operator!= (ReferenceTargetType * t) const
Inequality operator: returns true if this SAMSON pointer does not refer to the given targett .
ReferenceTargetType * operator() () const
Returns a pointer to the reference target.
ReferenceTargetType & operator* ()
Returns a reference to the reference target.
ReferenceTargetType * operator-> () const
Returns a pointer to the reference target.
SBCReferencePointer & operator= (ReferenceTargetType * t)
Assignment operator.
SBCReferencePointer & operator= (const SBCReferencePointer & p)
Copy assignment operator.
bool operator== (const SBCReferencePointer & p)
Equality operator: returns true if both SAMSON pointers refer to the same target.
bool operator== (const SBCReferencePointer & p) const
Equality operator: returns true if both SAMSON pointers refer to the same target.
bool operator== (ReferenceTargetType * t)
Equality operator: returns true if this SAMSON pointer refers to the given targett .
bool operator== (ReferenceTargetType * t) const
Equality operator: returns true if this SAMSON pointer refers to the given targett .
virtual ~SBCReferencePointer ()
Destructor.

Public Functions inherited from SBCReferenceOwnerSingleton#

See SBCReferenceOwnerSingleton

Type Name
SBCReferenceOwnerSingleton ()
Default constructor.
SBCReferenceOwnerSingleton (SBCReferenceTarget * referenceTarget)
Builds a reference owner referencing the target referenceTarget .
SBCReferenceOwnerSingleton (const SBCReferenceOwnerSingleton & p)
Copy constructor.
virtual void deleteReferenceTarget ()
Deletes the reference target.
unsigned int getMemoryFootprint () const
Returns the memory footprint.
SBCReferenceTarget * getReferenceTarget () const
Returns the reference target.
bool isValid () const
Returns true if and only if the reference target is non null.
virtual void print () const
Prints debugging information.
void setReferenceTarget (SBCReferenceTarget * referenceTarget)
Sets the reference target.
virtual ~SBCReferenceOwnerSingleton ()
Destructor.

Public Static Functions inherited from SBCReferencePointer#

See SBCReferencePointer

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

Protected Attributes inherited from SBCReferenceOwnerSingleton#

See SBCReferenceOwnerSingleton

Type Name
SBCReferenceToTarget referenceToTarget
The reference to the target.

Protected Functions inherited from SBCReferenceOwnerSingleton#

See SBCReferenceOwnerSingleton

Type Name
virtual void detachReferenceTarget ()

Protected Functions inherited from SBCReferenceOwner#

See SBCReferenceOwner

Type Name
SBCReferenceOwner ()
Constructs a reference owner.
virtual ~SBCReferenceOwner ()
Destructs the reference owner.

Public Functions Documentation#

function SBCReferenceListLinkPointer [1/3]#

SBCReferenceListLinkPointer::SBCReferenceListLinkPointer () 

function SBCReferenceListLinkPointer [2/3]#

SBCReferenceListLinkPointer::SBCReferenceListLinkPointer (
    SBCReferenceListLink * referenceListLink
) 

function SBCReferenceListLinkPointer [3/3]#

SBCReferenceListLinkPointer::SBCReferenceListLinkPointer (
    const SBCReferenceListLinkPointer & referenceListLinkPointer
) 

function detachReferenceTarget#

virtual void SBCReferenceListLinkPointer::detachReferenceTarget () 

SBCReferenceListLink * SBCReferenceListLinkPointer::getLink () const

void SBCReferenceListLinkPointer::setLink (
    SBCReferenceListLink * referenceListLink
) 

function ~SBCReferenceListLinkPointer#

virtual SBCReferenceListLinkPointer::~SBCReferenceListLinkPointer ()