| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Boost.Python.instance --+
|
UserMgr
For projects, users and machines (administrables) a common interface is implemented by their respective manager classes: ProjectMgr, UserMgr and MachineMgr.
| Instance Methods | |||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Static Methods | |||
| Administrable |
|
||
|
|||
str
|
|
||
| Administrable |
|
||
bool
|
|
||
| Administrable |
|
||
| Administrable |
|
||
|
|||
| Class Variables | |
__instance_size__ = 24
|
|
| Properties | |
|
Inherited from |
| Method Details |
The <Administrable>Mgr() constructor can be used to access the administrable manager singleton. This is optional however, since all administrable manager methods are static and therefore can be invoked on the class itself or on an instance of it. For example, the following two lines of code are equivalent: admin.ProjectMgr().create(...) admin.ProjectMgr.create(...)
|
helper for pickle
|
Creates a new administrable file at the specified location and returns its wrapping Administrable derived instance (does not set it as current). Note: ProjectMgr.create() actually has more parameters; refer to the ProjectMgr specific interface.
|
Utility function to create a user and open it. Creates a new user file at the specified location, loads it, sets it as current and returns its wrapping Administrable derived instance. See Also: create(). |
|
|
|
Loads the specified administrable file and returns the resulting Administrable derived instance. For example:
user = admin.UserMgr.load("/path/to/user.txuser")
|
Loads the specified administrable file, sets it as the current one and returns the resulting Administrable derived instance. For example:
curProj = admin.ProjectMgr.open("/path/to/project.txproject")
|
Sets the current Administrable. i.e. the one used to query preferences by default.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Feb 8 08:00:12 2012 | http://epydoc.sourceforge.net |