#include <database_asset.h>
Implementation of DatabaseAsset.
Static Public Member Functions | |
static MAXON_METHOD Result< DatabaseAsset > | Create () |
static MAXON_METHOD Result< String > | GetRepositoryName (const AssetRepositoryRef &repository, const LanguageRef &language, const String &fallbackName, Bool addDetails) |
static MAXON_METHOD Result< void > | SetRepositoryName (const AssetRepositoryRef &repository, const String &name, const LanguageRef &language) |
Private Member Functions | |
MAXON_INTERFACE (DatabaseAssetInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxon.interface.databaseasset") | |
|
private |
|
static |
Create creates a new database asset.
|
static |
GetRepositoryName returns the database name.
[in] | repository | Asset repository to use. |
[in] | language | Optional Language. Default is the program language. |
[in] | fallbackName | Fall back string of no name was found. |
[in] | addDetails | Add additional details (like database name/url) to the name. |
|
static |
SetRepositoryName stores a asset database name.
[in] | repository | Asset repository to modify. |
[in] | name | Name to store. |
[in] | language | Optional Language. Default is the program language. |