Package generic_fns :: Package structure :: Module api_base :: Class ModelContainer
[hide private]
[frames] | no frames]

Class ModelContainer

source code


Class containing all the model specific data.

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

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, model_num=None)
(Constructor)

source code 

Set up the default objects of the model 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 ModelContainer object is empty.

Returns: bool
True if this container is empty and the model number has not been set, False otherwise.