Package mrv :: Package maya :: Package nt :: Module base :: Class ComponentListData
[hide private]
[frames] | no frames]

Class ComponentListData

source code

OpenMaya.MObject --+    
                   |    
                Data --+
                       |
                      ComponentListData

Improves the default wrap by adding some required methods to deal with component lists
Nested Classes [hide private]

Inherited from Data: _base_cls_

Instance Methods [hide private]
 
__getitem__(self, index)
Returns: the item at the given index
source code
 
__len__(self)
Returns: number of components stored in this data
source code
 
__contains__(self, component)
Returns: True if the given component is contained in this data
source code

Inherited from Data: __new__

Class Methods [hide private]

Inherited from Data: create

Class Variables [hide private]

Inherited from Data: __metaclass__, _mfn_suffix_

Method Details [hide private]

__getitem__(self, index)
(Indexing operator)

source code 
Returns:
the item at the given index

__len__(self)
(Length operator)

source code 
Returns:
number of components stored in this data

__contains__(self, component)
(In operator)

source code 
Returns:
True if the given component is contained in this data