| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Boost.Python.instance --+
|
ProjectMgr
The manager class for Project administrables has a slightly different interface than the manager class for User and Machine administrables.
| Instance Methods | |||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Static Methods | |||
| Administrable |
|
||
| Project |
|
||
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 project file at the specified location and returns its wrapping Project instance (does not set it as current).
|
Utility function to create a project and open it. Creates a new project file at the specified location, loads it, sets it as current and returns its wrapping Project instance.
|
|
|
|
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.
|
Validates that the specified file is an actual Toxik project file.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Feb 8 08:00:12 2012 | http://epydoc.sourceforge.net |