Reference

This Reference library defines key mechanisms for maintaining references to objects in SAMSON.

SAMSON API: The SBCReference Library

class samson.Core.Reference.ReferenceIndexer

Bases: pybind11_builtins.pybind11_object

This is a class used to efficiently index references.

SAMSON API: SBCReferenceIndexer

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

class samson.Core.Reference.SBCReferenceTarget

Bases: pybind11_builtins.pybind11_object

This class is used to represent objects which may reference and be referenced by other objects. SBCReferenceTarget

SAMSON API: SBCReferenceTarget

getMemoryFootprint(self: samson.Core.Reference.SBCReferenceTarget) → int

Returns the memory footprint

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.