datadescriptiondatabase.h File Reference

Classes

class  DataDescriptionDatabaseInterface
 

Namespaces

 maxon
 

Macros

#define ENUMSEPARATOR
 
#define ENUMCOMMAND
 
#define ENUMREMOVE
 
#define VARIABLEID_PREFIX
 
#define DATADESCRIPTION_ID_COMMAND
 
#define DATADESCRIPTION_ID_ENUM
 
#define DATADESCRIPTION_ID_PRESET
 

Typedefs

using ProcessEnumListDelegate = Delegate< Result< void >(const Id &epId, const DataDictionary &guiEntry, const AssetRepositoryRef &repository, const Data *filterData, const ValueReceiver< Tuple< Id, Data, String > && > &addValue)>
 
using EnumVariableResolveDelegate = Delegate< Result< CString >(const CString &variable, const CString &fullString, const AssetRepositoryRef &repository, const GetDataCallbackType &getDataCallback, Opt< const DataDictionary & > dataEntry, Opt< const DataDictionary & > guiEntry)>
 

Functions

 MAXON_DATATYPE (ProcessEnumListDelegate, "net.maxon.datatype.processenumlistdelegate")
 
 MAXON_REGISTRY (ProcessEnumListDelegate, ProcessEnumListDelegates, "net.maxon.datadescription.registry.processenumlist")
 
 MAXON_DATATYPE (EnumVariableResolveDelegate, "net.maxon.datatype.delegate.enumvariableresolve")
 
 MAXON_REGISTRY (EnumVariableResolveDelegate, EnumVariableResolveDelegates, "net.maxon.datadescription.registry.enumvariableresolve")
 
Bool UseFilterData (const Data *filterData, const Data &compare)
 

Variables

const Id DATADESCRIPTION_CATEGORY_DATA
 
const Id DATADESCRIPTION_CATEGORY_UI
 
const Id DATADESCRIPTION_CATEGORY_STRING
 
const Id DATADESCRIPTION_SCOPE_LOCAL
 

Macro Definition Documentation

◆ ENUMSEPARATOR

#define ENUMSEPARATOR

◆ ENUMCOMMAND

#define ENUMCOMMAND

◆ ENUMREMOVE

#define ENUMREMOVE

Prepend this tag before an enumeration Id in a GUI Enum List to filter out certain ids. Useful when enums are populated dynamically with "enum#", "registry#", "node#", ...

◆ VARIABLEID_PREFIX

#define VARIABLEID_PREFIX

Prefix used in identifiers such as "net.maxon.{var#somevariabletoresolve}" to identify pieces to be resolved to get the final identifier.

◆ DATADESCRIPTION_ID_COMMAND

#define DATADESCRIPTION_ID_COMMAND

Special identifier markers used in description identifiers for command, enum and presets. Identifier in JSON data could look like this: "databaseurlin#command#reload" or "splinetype#enum#net.maxon.registry.geometryabstraction.curve.types.bezier" or "alignaxis#enum#xpos" or "alignaxis#enum#ypos" It is preprended with the port identifier which needs the child entry and appended with the identifier of the command/enum/preset itself.

◆ DATADESCRIPTION_ID_ENUM

#define DATADESCRIPTION_ID_ENUM

◆ DATADESCRIPTION_ID_PRESET

#define DATADESCRIPTION_ID_PRESET