#include <datadescriptionobject.h>
Interface and base implementation to allow objects to access descriptions. The base implementation automatically loads resources from the data description databases.
Public Member Functions | |
MAXON_METHOD Result< DataDescription > | GetObjectDescription (const Id &category, const LanguageRef &language, const DataDictionaryObjectRef &objectData) const |
Static Public Member Functions | |
static MAXON_METHOD Result< String > | GetObjectName (const Id &classId, const LanguageRef &language) |
Private Member Functions | |
MAXON_INTERFACE (DataDescriptionObjectInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.datadescriptionobject", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
|
private |
MAXON_METHOD Result<DataDescription> GetObjectDescription | ( | const Id & | category, |
const LanguageRef & | language, | ||
const DataDictionaryObjectRef & | objectData | ||
) | const |
GetObjectDescription returns the description of the object.
[in] | category | Description category to load (DATADESCRIPTION_CATEGORY_DATA/DATADESCRIPTION_CATEGORY_UI). |
[in] | language | Language (only valid for category DATADESCRIPTION_CATEGORY_STRING). |
[in] | objectData | Data of the object to use for evaluation. |
|
static |