Class representing a folder stored in a version control database.

Public Member Functions |
|
| __init__ (str pName, object pObject=None) | |
| Constructor. |
|
| IObject_Declare (Implementation) | |
| bool | FBCreate () |
| Open Reality Creation function. |
|
| int | GetChildCount () |
| Get the number of items in this folder.
|
|
| HFBAssetItem | GetChild (int pIndex) |
| Get the child at index pIndex.
|
|
| HFBAssetFile | GetFile (str pName) |
| Get a file present in this folder by using
it's name. |
|
| HFBAssetFolder | GetFolder (str pName) |
| Get a folder present in this folder by using
it's name. |
|
| HFBAssetFile | AddFile (str pLocalPath, str pComment="", bool pCheckOut=False, bool pSilent=False) |
| Add a specified file into the database.
|
|
| HFBAssetFolder | AddFolder (str pName, str pComment="", bool pSilent=False) |
| Add a folder in the database. |
|
Constructor.
| pName | Name of Command. |
| pObject | Internal parent object to own FBComponent (default is NULL). |
Reimplemented from FBAssetItem.
| IObject_Declare | ( | Implementation | ) |
Reimplemented from FBComponent.
| bool FBCreate | ( | ) |
Open Reality Creation function.
Reimplemented from FBComponent.
| int GetChildCount | ( | ) |
Get the number of items in this folder.
| HFBAssetItem GetChild | ( | int | pIndex | ) |
Get the child at index pIndex.
| HFBAssetFile GetFile | ( | str | pName | ) |
Get a file present in this folder by using it's name.
| HFBAssetFolder GetFolder | ( | str | pName | ) |
Get a folder present in this folder by using it's name.
| HFBAssetFile AddFile | ( | str | pLocalPath, |
| str | pComment = "", |
||
| bool | pCheckOut = False, |
||
| bool | pSilent =
False |
||
| ) |
Add a specified file into the database.
It will be added in this folder.
| pLocalPath | The full path to the file on the local disk. |
| pComment | Comment to be applied for the operation. |
| pCheckOut | Whether the file should be checked out or not. |
| pSilent | If pSilent is set to true, no dialog will be displayed by this method. |
Add a folder in the database.
It will be added in this folder.
| pName | Name of the folder to be created. |
| pComment | Comment to be applied for the operation. |
| pSilent | If pSilent is set to true, no dialog will be displayed by this method. |