Used to access asset manager functionity to get files locally or from a server.
Public Member Functions |
|
__init__ (str pName, object pObject=None) | |
Constructor. |
|
IObject_Declare (Implementation) | |
bool | Initialize () |
Initialize the connection to the server.
|
|
HFBAssetFile | BrowseForFile () |
Let the user browse the asset database to
select a file. |
|
HFBAssetFolder | BrowseForFolder () |
Let the user browse the asset database to
select a folder. |
|
HFBAssetFolder | CreateServerPath (str pServerPath) |
Create a folder path on the server side by
adding each missing folders. |
|
bool | FileIsManaged (str pFilename) |
Is the specified local file managed (ie.
|
|
bool | WithinManagedPath (str pLocalPath) |
Is the specified local path below a managed
path. |
|
str | MapLocalPathToServerPath (str pLocalPath) |
Convert the local path to a server path by
using managed paths mapping. |
|
HFBAssetFile | GetAssetFile (str pServerFilename) |
Get a file object using it's server path.
|
|
HFBAssetFile | GetAssetFileFromLocalPath (str pLocalFilename) |
Get a file object using it's local path.
|
|
HFBAssetFolder | GetAssetFolder (str pServerPath) |
Get a folder object using it's server path.
|
|
HFBAssetFolder | GetAssetFolderFromLocalPath (str pLocalPath) |
Get a folder object using it's local path.
|
|
ShowSettings () | |
Display a dialog that let the user changes
settings. |
|
int | GetFileOptions () |
Get the file options (i.e. |
|
bool | CheckAvailability () |
Check if this manager can be used on the
computer. |
|
Public Attributes |
|
FBPropertyString | Name |
Read Write Property: Unique Name.
|
|
FBPropertyString | Description |
Read Write Property: Description of
the manager. |
|
FBPropertyBase | MenuFlags |
Read Write Property: Flags specifing
which menu items are added by the manager. |
|
str | LastError |
Last error string. |
Constructor.
pName | Name of Command. |
pObject | Internal parent object to own FBComponent (default is NULL). |
IObject_Declare | ( | Implementation | ) |
Reimplemented from FBComponent.
bool Initialize | ( | ) |
Initialize the connection to the server.
HFBAssetFile BrowseForFile | ( | ) |
Let the user browse the asset database to select a file.
HFBAssetFolder BrowseForFolder | ( | ) |
Let the user browse the asset database to select a folder.
HFBAssetFolder CreateServerPath | ( | str | pServerPath | ) |
Create a folder path on the server side by adding each missing folders.
pServerPath | The path to create on the server side. |
Is the specified local file managed (ie.
also present in the database).
pFilename | Path to the file on the local disk. |
Is the specified local path below a managed path.
pLocalPath | Local path to be checked. |
Convert the local path to a server path by using managed paths mapping.
pLocalPath | Local path to be mapped. |
HFBAssetFile GetAssetFile | ( | str | pServerFilename | ) |
Get a file object using it's server path.
pServerFilename | Path to the file on the server. |
HFBAssetFile GetAssetFileFromLocalPath | ( | str | pLocalFilename | ) |
Get a file object using it's local path.
pLocalFilename | Path to the file on the local disk. |
HFBAssetFolder GetAssetFolder | ( | str | pServerPath | ) |
Get a folder object using it's server path.
pServerPath | Path the the folder on the server. |
HFBAssetFolder GetAssetFolderFromLocalPath | ( | str | pLocalPath | ) |
Get a folder object using it's local path.
pLocalPath | Path to the folder on the local disk. |
ShowSettings | ( | ) |
Display a dialog that let the user changes settings.
int GetFileOptions | ( | ) |
Get the file options (i.e.
what to do when loading, saving or closing managed files).
bool CheckAvailability | ( | ) |
Check if this manager can be used on the computer.
Read Write Property: Description of the manager.
FBPropertyBase MenuFlags |
Read Write Property: Flags specifing which menu items are added by the manager.
Last error string.