ModuleVersionInfoInterface Class Reference

#include <moduleversioninfo.h>

Inheritance diagram for ModuleVersionInfoInterface:

详细描述

The new ModuleVersionInfos Interface allows to register informations about external libraries/modules and their versions and maybe additional informations. The system automatically detects in which modules the library is used (see zip lib below). This will help in the future to track the used versions of external libs and their licenses.

静态公共成员函数

static MAXON_FUNCTION Result < void >  注册 (const Id &uniqueId, const DataDictionary &moduleInfo)

私有成员函数

  MAXON_INTERFACE ( ModuleVersionInfoInterface , MAXON_REFERENCE_CONST , "net.maxon.interface.moduleversioninfo")

Static Private Member Functions

static MAXON_METHOD Result < void >  RegisterIntern (const Id &uniqueId, const DataDictionary &moduleInfo, const ModuleInfo &info)

成员函数文档编制

◆  MAXON_INTERFACE()

MAXON_INTERFACE ( ModuleVersionInfoInterface   ,
MAXON_REFERENCE_CONST   ,
"net.maxon.interface.moduleversioninfo"   
)
private

◆  RegisterIntern()

static MAXON_METHOD Result <void> RegisterIntern ( const Id uniqueId ,
const DataDictionary &  moduleInfo ,
const ModuleInfo &  info  
)
static private

Register allow to add module version informations to the registry. This is for internal use only. Use Register instead.

参数
[in] uniqueId Unique id of the module info. So if it is registered multiple twice because it's used within a header file it will collect the module dependencies for that module under this id.
[in] moduleInfo Information to store. The dictionary should contains MODULEVERSIONINFO keys.
[in] info ModuleInfo provided by PRIVATE_MAXON_MODULE.
返回
OK on success.

◆  Register()

static MAXON_FUNCTION Result <void> Register ( const Id uniqueId ,
const DataDictionary &  moduleInfo  
)
static

Register allow to add module version informations to the registry.

参数
[in] uniqueId Unique id of the module info. So if it is registered multiple twice because it's used within a header file it will collect the module dependencies for that module under this id.
[in] moduleInfo Information to store. The dictionary should contains MODULEVERSIONINFO keys.
返回
OK on success.