Module nonmockobjects :: Class Objects
[show private | hide private]
[frames | no frames]

Type Objects

object --+
         |
        Objects


Objects is the object you instatiate to get access to your creation functions.

Your creation functions actually end up as methods of this class.

All variables documented here are technically private, but pylint and cheese throw a positive fit about all the 'external' entities accessing them, even though it's by design...
Method Summary
  __init__(self, **args)
This calls self.__dict__.update(args), so you can pass anything you want into a Objects construction, and construction functions can use that.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
dict call_name_to_func_name: Maps the use_X back to X.
dict func_to_method: Map the function back to the name of the method to use for that attribute.
set registered: The set of registered functions, so we can check that you don't use the same name twice.

Method Details

__init__(self, **args)
(Constructor)

This calls self.__dict__.update(args), so you can pass anything you want into a Objects construction, and construction functions can use that.
Parameters:
args - Things to stick on the Objects object.
Overrides:
__builtin__.object.__init__

Class Variable Details

call_name_to_func_name

Maps the use_X back to X. Necessary since you can arbitrarily change the use_X transformation.
Type:
dict
Value:
{}                                                                     

func_to_method

Map the function back to the name of the method to use for that attribute.
Type:
dict
Value:
{}                                                                     

registered

The set of registered functions, so we can check that you don't use the same name twice.
Type:
set
Value:
set([])                                                                

Generated by Epydoc 2.1 on Thu Mar 1 14:03:21 2007 http://epydoc.sf.net