Package autodesk_toxik :: Module graph :: Class GraphObject
[frames] | no frames]

Class GraphObject

 object --+    
          |    
Boost.Python.instance --+
              |
             GraphObject
Known Subclasses:

All objects inside a dependency graph derived from GraphObject. This class defines comparison operators and supplies an id that is unique within the Graph.

Instance Methods
int
__cmp__(...)
Rich comparison operator based on the following criteria:
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
__reduce__(...)
helper for pickle
Graph
getGraph(...)
Returns: The composition version that owns this value.
int
getId(...)
Returns: Unique identifier of this object within its graph.

Inherited from Boost.Python.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__cmp__(...)
(Comparison operator)

 

Rich comparison operator based on the following criteria:

  • Owner graph id
  • Object id
Returns: int
-1 if this < other, 0 if this == other, 1 if this > other

__init__(...)
(Constructor)

 

Raises an exception This class cannot be instantiated from Python

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

getGraph(...)

 
Returns: Graph
The composition version that owns this value.

getId(...)

 
Returns: int
Unique identifier of this object within its graph.