Package PyDSTool :: Package Generator :: Module baseclasses :: Class genDBClass
[hide private]
[frames] | no frames]

Class genDBClass

source code

object --+
         |
        genDBClass

This class keeps a record of which non-Python Generators have been created in a session. A single global instance of this class is created, and prevents the user from re-using the name of a low-level DLL (such as that for a Dopri_ODEsystem vector field) unless the system is identical (according to its FuncSpec).

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
check(self, gen)
Look up generator instance and return Boolean of whether it is already registered.
source code
 
unregister(self, gen) source code
 
register(self, gen) source code
 
__repr__(self)
str(x)
source code
 
__str__(self)
str(x)
source code
 
clearall(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

check(self, gen)

source code 

Look up generator instance and return Boolean of whether it is already registered. Only non-python based generators are registered, so all others will return False.

__repr__(self)
(Representation operator)

source code 

str(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)