Basic container object. Structure, Model, Chain and Residue are
subclasses of Entity. It deals with storage and lookup.
|
|
|
__len__(self)
Return the number of children. |
source code
|
|
|
__getitem__(self,
id)
Return the child with given id. |
source code
|
|
|
|
|
|
|
|
|
set_parent(self,
entity)
Set the parent Entity object. |
source code
|
|
|
|
|
|
|
add(self,
entity)
Add a child to the Entity. |
source code
|
|
|
get_iterator(self)
Return iterator over children. |
source code
|
|
|
get_list(self)
Return a copy of the list of children. |
source code
|
|
|
has_id(self,
id)
True if a child with given id exists. |
source code
|
|
|
get_parent(self)
Return the parent Entity object. |
source code
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|