Module virtualbuildarea :: Class VirtualProject |
[hide private]
[frames] | no frames]

# Class VirtualProject

source code

          object --+
                   |
    ccm.FourPartName --+
                       |
           ccm.CCMObject --+
                           |
                 ccm.Project --+
                               |
                              VirtualProject

Create a fake project containing on fake directory. The four part name will be <projectname>-1:project:fakedb#1.

Instance Methods | [hide private]
__init__(self, session, name) Create a FourPartName object based on a ifpn string. | source code
root_dir(self) Returns the associated virtual directory object. | source code
Inherited from `ccm.Project`: `add_folder`, `add_task`, `apply_update_properties`, `checkout`, `conflicts`, `create_baseline`, `folders`, `get_latest_baseline`, `get_members`, `reconcile`, `refresh`, `remove_folder`, `remove_task`, `set_baseline`, `set_update_method`, `snapshot`, `subprojects`, `sync`, `tasks`, `update`, `work_area` Inherited from `ccm.Project` (private): `_getbaseline`, `_getfolders`, `_getrelease`, `_getsubprojects`, `_gettasks`, `_setrelease` Inherited from `ccm.CCMObject`: `__getitem__`, `__setitem__`, `create_attribute`, `exists`, `finduse`, `is_predecessor_of`, `is_recursive_predecessor_of`, `is_recursive_predecessor_of_fast`, `is_recursive_successor_of_fast`, `is_recursive_sucessor_of`, `keys`, `predecessors`, `relate`, `session`, `successors` Inherited from `ccm.CCMObject` (private): `_getsession` Inherited from `ccm.FourPartName`: `__eq__`, `__ne__`, `__repr__`, `__str__`, `family`, `instance`, `is_same_family`, `name`, `objectname`, `type`, `version` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Static Methods | [hide private]
Inherited from `ccm.FourPartName`: `convert`, `is_valid`

Class Variables | [hide private]
Inherited from `ccm.Project`: `baseline`, `release`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, session, name) (Constructor) | source code
Create a FourPartName object based on a ifpn string. The string have to match the following patterns: - name-version:type:instance - name:version:releasedef:instance - Task database#id - Folder database#id Anything else is considered as old release string format. Overrides: ccm.Project.__init__

### root_dir(self) | source code
Returns the associated virtual directory object. Overrides: ccm.Project.root_dir