Package mrv :: Package maya :: Package automation :: Module qa :: Class QAMetaMel
[hide private]
[frames] | no frames]

Type QAMetaMel

source code

        object --+        
                 |        
              type --+    
                     |    
dge._NodeBaseCheckMeta --+
                         |
                        QAMetaMel

Metaclass allowing to create plugs based on a MEL implementation, allowing to decide whether checks are Python or MEL implemented, but still running natively in python
Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(metacls, name, bases, clsdict)
Search for configuration attributes allowing to auto-generate plugs referring to the respective mel implementation
source code

Inherited from type: __call__, __delattr__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __init__, __le__, __lt__, __ne__, __repr__, __setattr__, __subclasses__, mro

Inherited from object: __format__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
_getMelChecks(metacls, index_proc, check_cls)
Returns: list( checkInstance, ...
source code
Properties [hide private]

Inherited from type: __abstractmethods__, __base__, __bases__, __basicsize__, __dictoffset__, __flags__, __instancecheck__, __itemsize__, __mro__, __name__, __subclasscheck__, __weakrefoffset__

Inherited from object: __class__

Method Details [hide private]

_getMelChecks(metacls, index_proc, check_cls)
Class Method

source code 
Parameters:
  • index_proc - method returning the index declaring the tests
  • check_cls - class used to instance new checks
Returns:
list( checkInstance, ... ) list of checkinstances represeting mel based checkes

__new__(metacls, name, bases, clsdict)

source code 
Search for configuration attributes allowing to auto-generate plugs referring to the respective mel implementation
Returns: a new object with type S, a subtype of T
Overrides: object.__new__