datadescription_data.h File Reference

Namespaces

 maxon
 
 maxon::DESCRIPTION
 
 maxon::DESCRIPTION::BASE
 
 maxon::DESCRIPTION::BASE::INCLUDE
 
 maxon::DESCRIPTION::BASE::INCLUDE::GROUP
 
 maxon::DESCRIPTION::CLASSIFICATION
 
 maxon::DESCRIPTION::CLASSIFICATION::BASE
 
 maxon::DESCRIPTION::DATA
 
 maxon::DESCRIPTION::DATA::BASE
 
 maxon::DESCRIPTION::DATA::INFO
 

Typedefs

using VariadicIdsElement = Tuple< Int, Id, String, HashMap< Id, Int > >
 
using VariadicIdsType = Array< VariadicIdsElement >
 

Functions

 MAXON_DATATYPE (VariadicIdsElement, "net.maxon.datatype.variadicidselement", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel"))
 
 MAXON_RESOURCE_DATABASE_SCOPE ("net.maxon.description.base")
 
 MAXON_ATTRIBUTE (Id, COMMAND, "net.maxon.description.base.command", RESOURCE_DEFINE(ENUM_VALUE, LiteralId("value")))
 
 MAXON_ATTRIBUTE (InternedId, IDENTIFIER, "net.maxon.description.base.identifier")
 
 MAXON_ATTRIBUTE (Int, DBVERSION, "net.maxon.description.base.dbversion")
 
 MAXON_RESOURCE_DATABASE_SCOPE ("net.maxon.description.base.include.group")
 
 MAXON_ATTRIBUTE (Group, GROUP, "net.maxon.description.base.group")
 
 MAXON_ATTRIBUTE (Group, DATA_BASE_GROUP, "net.maxon.description.data.base.group")
 
 MAXON_ATTRIBUTE (Group, UI_BASE_GROUP, "net.maxon.description.ui.base.group")
 
 MAXON_ATTRIBUTE (Group, STRING_BASE_GROUP, "net.maxon.description.string.base.group")
 
 MAXON_ATTRIBUTE (Group, DATA_BASE_GROUPDEV, "net.maxon.description.data.base.groupdev")
 
 MAXON_RESOURCE_DATABASE_SCOPE ("net.maxon.description.classification.base")
 
 MAXON_ATTRIBUTE (Id, ENUM, "net.maxon.description.classification.base.enum", RESOURCE_DEFINE(ENUM_DATA, LiteralId("data")))
 
 MAXON_RESOURCE_DATABASE_SCOPE ("net.maxon.description.data.base")
 
 MAXON_ATTRIBUTE (Id, DATATYPE, "net.maxon.description.data.base.datatype")
 
 MAXON_ATTRIBUTE (Id, CLASSIFICATION, "net.maxon.description.data.base.classification", RESOURCE_DEFINE(ENUM_DATA, LiteralId("data")))
 
 MAXON_ATTRIBUTE (void, GUIANDLIMITPRESET, "net.maxon.description.data.base.guiandlimitpreset")
 
 MAXON_ATTRIBUTE (Id, UNIT, "net.maxon.description.data.base.unit", RESOURCE_DEFINE(ENUM_TIME, LiteralId("time")))
 
 MAXON_ATTRIBUTE (Data, DEFAULTVALUE, "net.maxon.description.data.base.defaultvalue")
 
 MAXON_ATTRIBUTE (Id, LIMITVALUE, "net.maxon.description.data.base.limitvalue", RESOURCE_DEFINE(ENUM_BOTH, LiteralId("both")))
 
 MAXON_ATTRIBUTE (Data, MINVALUE, "net.maxon.description.data.base.minvalue")
 
 MAXON_ATTRIBUTE (Data, MAXVALUE, "net.maxon.description.data.base.maxvalue")
 
 MAXON_ATTRIBUTE (Id, INCLUDE, "net.maxon.description.data.base.include")
 
 MAXON_ATTRIBUTE (Array< Id >, INCLUDERENAME, "net.maxon.description.data.base.includerename")
 
 MAXON_ATTRIBUTE (Array< Id >, INCLUDEFILTER, "net.maxon.description.data.base.includefilter")
 
 MAXON_ATTRIBUTE (MAXON_MACROARG_TYPE(Array< Tuple< Id, Data >>), ENUM, "net.maxon.description.data.base.enum")
 
 MAXON_ATTRIBUTE (Id, DATABASEID, "net.maxon.description.data.base.databaseid")
 
 MAXON_ATTRIBUTE (Bool, OVERWRITABLE, "net.maxon.description.data.base.overwritable")
 
 MAXON_ATTRIBUTE (Bool, ISVARIADIC, "net.maxon.description.data.base.isvariadic")
 
 MAXON_ATTRIBUTE (Int, VARIADICCOUNT, "net.maxon.description.data.base.variadiccount")
 
 MAXON_ATTRIBUTE (Array< Id >, COMMANDS, "net.maxon.description.data.base.commands")
 
 MAXON_ATTRIBUTE (VariadicIdsType, VARIADICIDS, "net.maxon.description.data.base.variadicids")
 
 MAXON_ATTRIBUTE (Id, TYPECONSTRAINT, "net.maxon.description.data.base.typeconstraint")
 
 MAXON_ATTRIBUTE (CString, COMMENT, "net.maxon.description.data.base.comment")
 
 MAXON_ATTRIBUTE (Bool, GENERATEIGNOREHEADER, "net.maxon.description.data.base.generateignoreheader")
 
 MAXON_ATTRIBUTE (Bool, INHERITSTRING, "net.maxon.description.data.base.inheritstring")
 
 MAXON_ATTRIBUTE (Bool, OPTIONALSTRING, "net.maxon.description.data.base.optionalstring")
 
 MAXON_ATTRIBUTE (Bool, EXCLUDEFROMPRESETS, "net.maxon.description.data.base.excludefrompresets")
 
 MAXON_ATTRIBUTE (String, WARNINGS, "net.maxon.description.data.base.warnings")
 
 MAXON_ATTRIBUTE (CString, NAMESPACE, "net.maxon.description.data.base.namespace")
 
 MAXON_ATTRIBUTE (MAXON_MACROARG_TYPE(Tuple< Id, InternedId >), INCLUDEDFROM, "net.maxon.description.data.base.includedfrom")
 
 MAXON_ATTRIBUTE (Id, ORIGIN, "net.maxon.description.data.base.origin")
 
 MAXON_ATTRIBUTE (Group, GROUPINFO, "net.maxon.description.data.base.groupinfo")
 
 MAXON_RESOURCE_DATABASE_SCOPE ("net.maxon.description.data.info")
 
 MAXON_ATTRIBUTE (Id, CLASSIFICATION, "net.maxon.description.data.info.classification", RESOURCE_DEFINE(ENUM_TYPE, LiteralId("type")))
 
 MAXON_ATTRIBUTE (CString, IMAGEURLPORT, "net.maxon.description.data.info.imageurlport")
 
 MAXON_ATTRIBUTE (Bool, HIDDEN, "net.maxon.description.data.info.hidden")
 
 MAXON_ATTRIBUTE (String, ENABLING, "net.maxon.description.data.info.enabling")
 
 MAXON_ATTRIBUTE (Id, PROCESSOR, "net.maxon.description.data.info.processor")
 
 MAXON_ATTRIBUTE (Id, PROCESSORBASENODE, "net.maxon.description.data.info.processorbasenode")
 
 MAXON_ATTRIBUTE (Id, PROCESSORCALLBACK, "net.maxon.description.data.info.processorcallback", RESOURCE_DEFINE(ENUM_NONE, LiteralId("none")))
 
 MAXON_ATTRIBUTE (CString, PROCESSORPARAMS, "net.maxon.description.data.info.processorparams")
 
 MAXON_ATTRIBUTE (Url, INCLUDEFILE, "net.maxon.description.data.info.includefile")
 
 MAXON_ATTRIBUTE (CString, COMMENT, "net.maxon.description.data.info.comment")
 
 MAXON_ATTRIBUTE (Bool, DYNAMICBUNDLE, "net.maxon.description.data.info.dynamicbundle")
 
 MAXON_ATTRIBUTE (CString, VERSION, "version")
 
 MAXON_ATTRIBUTE (Group, INFOGROUP, "infogroup")
 
 MAXON_ATTRIBUTE (Group, PROCESSORGROUP, "processorgroup")
 
 MAXON_ATTRIBUTE (Group, EXPORTGROUP, "exportgroup")
 
template<typename T >
Result< void > AddResourceDefault (DataDictionary &props, const T &t, OverloadRank0)
 
template<typename T >
SFINAEHelper< Result< void >, typename T::HasDefault >::type AddResourceDefault (DataDictionary &props, const T &t, OverloadRank1)
 
template<typename TYPE >
Result< BaseArray< Tuple< Id, Data > > > BlockToEnumArray (const Block< TYPE > &enumBlock)
 
template<typename T >
Result< void > AddResourceProperty (DataDescription &description, const T &t, const Delegate< Result< void >(DataDictionary &props)> &addProps=nullptr)
 
template<typename T >
Result< void > EraseResourceProperty (DataDescription &description, const T &t)