Package data :: Module mol_res_spin :: Class ResidueContainer
[hide private]
[frames] | no frames]

Class ResidueContainer

source code


Class containing all the residue specific data.

Instance Methods [hide private]
 
__init__(self, res_name=None, res_num=None)
Set up the default objects of the residue data container.
source code
 
__repr__(self)
The string representation of the object.
source code
bool
is_empty(self)
Method for testing if this ResidueContainer object is empty.
source code

Inherited from prototype.Prototype: __clone__, __deepcopy__

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, res_name=None, res_num=None)
(Constructor)

source code 

Set up the default objects of the residue data container.

Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

The string representation of the object.

Rather than using the standard Python conventions (either the string representation of the value or the "<...desc...>" notation), a rich-formatted description of the object is given.

Overrides: object.__repr__

is_empty(self)

source code 

Method for testing if this ResidueContainer object is empty.

Returns: bool
True if this container is empty and the residue number and name have not been set, False otherwise.