Classes | |
class | GlobalVars |
Singleton class used by slimpy to store global variables. More... | |
Functions | |
def | __new_instance__ |
def | get |
get method, see dict.get | |
def | update |
def | setglobal |
Sets the global parameters accessed by the rest of the module if the entry is None then the variable will be none. | |
def | __contains__ |
def | __getitem__ |
def | __setitem__ |
def | set |
def | applyFunc |
apply a function on a values of dict specified by keylist | |
def | keys |
def | setpath |
change values in dict specified by arglist to its absolute path | |
def | updateAbridgeMap |
same as dict.update for self['abridgeMap'] | |
def | setworkingdir |
sets the working directory for all out of core operations | |
def | printGlobals |
pretty printing of the globals | |
def | get_node_map |
Variables | |
string | __copyright__ |
Singleton class that contains all of the global variables. | |
string | __license__ |
tuple | slimGlobals = property( _get_slim_global, _set_slim_global ) |
_slim_globals | |
PATHS | |
INTS | |
BOOLS | |
EVALS | |
slimdoc |
def slimpy_base.Environment.GlobalVars.__contains__ | ( | self, | ||
key | ||||
) |
Definition at line 133 of file GlobalVars.py.
def slimpy_base.Environment.GlobalVars.__getitem__ | ( | self, | ||
item | ||||
) |
Definition at line 136 of file GlobalVars.py.
def slimpy_base.Environment.GlobalVars.__new_instance__ | ( | self, | ||
name | ||||
) |
Definition at line 53 of file GlobalVars.py.
def slimpy_base.Environment.GlobalVars.__setitem__ | ( | self, | ||
key, | ||||
val | ||||
) |
Definition at line 139 of file GlobalVars.py.
def slimpy_base.Environment.GlobalVars.applyFunc | ( | self, | ||
dict, | ||||
func, | ||||
keylist | ||||
) |
apply a function on a values of dict specified by keylist
Definition at line 169 of file GlobalVars.py.
def slimpy_base.Environment.GlobalVars.get | ( | self, | ||
key, | ||||
val | ||||
) |
def slimpy_base.Environment.GlobalVars.get_node_map | ( | self | ) |
Definition at line 236 of file GlobalVars.py.
def slimpy_base.Environment.GlobalVars.keys | ( | self | ) |
Definition at line 176 of file GlobalVars.py.
def slimpy_base.Environment.GlobalVars.printGlobals | ( | self, | ||
paths = True | ||||
) |
def slimpy_base.Environment.GlobalVars.set | ( | self, | ||
key, | ||||
value, | ||||
doc = None | ||||
) |
Definition at line 153 of file GlobalVars.py.
def slimpy_base.Environment.GlobalVars.setglobal | ( | self, | ||
kargs | ||||
) |
Sets the global parameters accessed by the rest of the module if the entry is None then the variable will be none.
Definition at line 120 of file GlobalVars.py.
def slimpy_base.Environment.GlobalVars.setpath | ( | self, | ||
dict, | ||||
arglist | ||||
) |
change values in dict specified by arglist to its absolute path
Definition at line 185 of file GlobalVars.py.
def slimpy_base.Environment.GlobalVars.setworkingdir | ( | self, | ||
path | ||||
) |
sets the working directory for all out of core operations
Definition at line 206 of file GlobalVars.py.
def slimpy_base.Environment.GlobalVars.update | ( | self, | ||
kw | ||||
) |
Definition at line 111 of file GlobalVars.py.
def slimpy_base.Environment.GlobalVars.updateAbridgeMap | ( | self, | ||
d, | ||||
k | ||||
) |
string __copyright__ |
Initial value:
""" Copyright 2008 Sean Ross-Ross """
Definition at line 6 of file GlobalVars.py.
string __license__ |
Initial value:
""" This file is part of SLIMpy . SLIMpy is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. SLIMpy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with SLIMpy . If not, see <http://www.gnu.org/licenses/>. """
Definition at line 9 of file GlobalVars.py.
Definition at line 48 of file GlobalVars.py.
Definition at line 61 of file GlobalVars.py.
Definition at line 62 of file GlobalVars.py.
Definition at line 60 of file GlobalVars.py.
Definition at line 59 of file GlobalVars.py.
Definition at line 64 of file GlobalVars.py.
slimGlobals = property( _get_slim_global, _set_slim_global ) |
Definition at line 50 of file GlobalVars.py.