Package AEConstants
[hide private]
[frames] | no frames]

Package AEConstants

source code

Wraps all global constants in a convenient package.


Authors:
Pete Brunet, Peter Parente, Brett Clippingdale

Organization: IBM Corporation

Copyright: Copyright (c) 2005, 2007 IBM Corporation

License: The BSD License

All rights reserved. This program and the accompanying materials are made available under the terms of the BSD license which accompanies this distribution, and is available at http://www.opensource.org/licenses/bsd-license.php

Submodules [hide private]

Functions [hide private]
 
register(kwargs)
Registers new constant names and values.
source code
Function Details [hide private]

register(kwargs)

source code 

Registers new constant names and values. As soon as a repeat constants between those that are already registered and those that are going to be registered is found, registration ceases. This is an optimization for Perks that appear in all Tiers but don't want to wait to have all their constants registered numerous times.

Parameters:
  • kwargs (dictionary) - Constant name/value pairs