Package mrv :: Package maya :: Package nt :: Module storage :: Class StorageNode
[hide private]
[frames] | no frames]

Class StorageNode

source code

             object --+        
                      |        
              base.Node --+    
                          |    
         object --+       |    
                  |       |    
interface.Interface --+   |    
                      |   |    
interface.iDuplicatable --+    
                          |    
            base.DependNode --+
                              |
         object --+           |
                  |           |
interface.Interface --+       |
                      |       |
interface.iDuplicatable --+   |
                          |   |
                StorageBase --+
                              |
                             StorageNode

This node can be used as pythonic and easy-to-access value container - it could be connected to your node, and queried for values actually being queried on your node. As value container, it can easily be replaced by another one, or keep different sets of information

Note: the storage node can only use generic attributes and recover them properly during scene reload if the configuration of the generic attributes have been setup properly - they are unique only per node type, not per instance of the node type. Thus it is recommened to use the storage node attribute base on your own custom type that setsup the generic attributes as it requires during plugin load

Nested Classes [hide private]

Inherited from StorageBase: PyPickleValue

Instance Methods [hide private]

Inherited from base.DependNode: duplicate, setLocked

Inherited from base.Node: __hash_2009__, __new__

Inherited from StorageBase: attributePrefix, dataPrefix, setAttributePrefix, setDataPrefix, setStorageNode, storageNode

Inherited from interface.iDuplicatable: copyTo, copyToOther

Inherited from interface.Interface: supports

Inherited from object: __delattr__, __format__, __getattribute__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

    Overrriden Methods
 
__init__(self, *args)
initialize bases properly
source code
    Overridden Methods

Inherited from base.DependNode: __getattr__, __repr__, __str__

Inherited from base.Node: __eq__, __hash__, __ne__

    Sets Handling

Inherited from base.DependNode: addTo, connectedSets, isMemberOf, removeFrom, sets

Inherited from base.DependNode (private): _getSetPlug

    Edit

Inherited from base.DependNode: addAttribute, delete, removeAttribute, rename, setNamespace

Inherited from base.DependNode (private): _addRemoveAttr

Inherited from StorageBase: clearAllData, clearData, makePlug

    Connections and Attributes

Inherited from base.DependNode: connections, dependencyInfo

    Status

Inherited from base.DependNode: isAlive, isValid

    General Query

Inherited from base.DependNode: apiObject, basename, object, referenceFile

    Interface

Inherited from base.Node: apiType, hasFn

Inherited from StorageBase: copyFrom, createInstance

    Query Plugs

Inherited from StorageBase: dataIDs, findStoragePlug, masterPlug, storagePlug

Inherited from StorageBase (private): _elementPlug

    Query Data

Inherited from StorageBase: pythonData

    Set Handling

Inherited from StorageBase: deleteObjectSet, objectSet, partition, setPartition, setsByID

Class Methods [hide private]
    Interface

Inherited from base.Node: getMFnClasses

    Query Data

Inherited from StorageBase: pythonDataFromPlug

Class Variables [hide private]

Inherited from base.Node: __metaclass__

Inherited from StorageBase: kPartitionIdAttr

    preset type filters

Inherited from base.DependNode: fSets, fSetsObject

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args)
(Constructor)

source code 
initialize bases properly
Overrides: object.__init__