Class SBCReferenceToOwnerIndexer#
ClassList > SBCReferenceToOwnerIndexer
Inherits the following classes: SBCReferenceToOwner
Protected Attributes#
| Type | Name |
|---|---|
| SBCReferenceOwnerIndexer * | referenceOwnerIndexer Pointer to the reference owner index. |
| SBCReferenceToTarget * | referenceToTargetInOwner Pointer to the referenceToTarget in the owner (for fast removal) |
Protected Functions#
| Type | Name |
|---|---|
| SBCReferenceToOwnerIndexer () Constructs a SBCReferenceToOwnerIndexer with no owner indexer. |
|
| SBCReferenceToOwnerIndexer (SBCReferenceOwnerIndexer * referenceOwnerIndexer) Constructs a SBCReferenceToOwnerIndexer with the specified owner indexer. |
|
| virtual SBCReferenceOwner * | getReferenceOwner () override const Returns the reference owner index. |
| virtual void | print (std::ostream & os) override const Prints debugging information. |
| virtual void | print () override const Prints debugging information. |
| virtual void | stopReferencing () override Stops referencing the index. |
| virtual | ~SBCReferenceToOwnerIndexer () Destroys the SBCReferenceToOwnerIndexer, releasing any associated resources. |
Protected Attributes Documentation#
variable referenceOwnerIndexer#
Pointer to the reference owner index.
variable referenceToTargetInOwner#
Pointer to the referenceToTarget in the owner (for fast removal)
Protected Functions Documentation#
function SBCReferenceToOwnerIndexer [1/2]#
Constructs a SBCReferenceToOwnerIndexer with no owner indexer.
Initializes the internal pointers to nullptr.
function SBCReferenceToOwnerIndexer [2/2]#
Constructs a SBCReferenceToOwnerIndexer with the specified owner indexer.
SBCReferenceToOwnerIndexer::SBCReferenceToOwnerIndexer (
SBCReferenceOwnerIndexer * referenceOwnerIndexer
)
Parameters:
mPointer to the SBCReferenceOwnerIndexer that this reference will point to.
function getReferenceOwner#
Returns the reference owner index.
Retrieves the referenced owner indexer.
Returns:
Pointer to the SBCReferenceOwner that is currently referenced, or nullptr if none.
function print [1/2]#
Prints debugging information.
Prints debugging information to the provided output stream.
Parameters:
osOutput stream to which the debugging information will be written.
function print [2/2]#
Prints debugging information.
Prints debugging information to the standard output stream.
function stopReferencing#
Stops referencing the index.
Stops referencing the current owner indexer, if any.
Removes the back reference from the owner and deletes the reference-to-target object.
function ~SBCReferenceToOwnerIndexer#
Destroys the SBCReferenceToOwnerIndexer, releasing any associated resources.