datadescription_data.h File Reference

Namespaces

 maxon
 
 maxon::DESCRIPTION
 
 maxon::DESCRIPTION::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_RESOURCE_DATABASE_SCOPE ("net.maxon.description.base")
 
 MAXON_ATTRIBUTE (Id, COMMAND, "net.maxon.description.base.command", RESOURCE_DEFINE(ENUM_VALUE, Id("value")))
 
 MAXON_ATTRIBUTE (InternedId, IDENTIFIER, "net.maxon.description.base.identifier")
 
 MAXON_ATTRIBUTE (Int, DBVERSION, "net.maxon.description.base.dbversion")
 
 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_RESOURCE_DATABASE_SCOPE ("net.maxon.description.data.base")
 
 MAXON_ATTRIBUTE (Id, DATATYPE, "net.maxon.description.data.base.datatype", RESOURCE_DEFINE(ENUM_REGISTRY_MAXON_DB_DATADESCRIPTIONS, Id("registry#maxon.db.datadescriptions")))
 
 MAXON_ATTRIBUTE (Id, CLASSIFICATION, "net.maxon.description.data.base.classification", RESOURCE_DEFINE(ENUM_DATA, Id("data")))
 
 MAXON_ATTRIBUTE (Id, UNIT, "net.maxon.description.data.base.unit", RESOURCE_DEFINE(ENUM_TIME, Id("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, Id("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 >, VARIADICCOMMANDS, "net.maxon.description.data.base.variadiccommands")
 
 MAXON_ATTRIBUTE (VariadicIdsType, VARIADICIDS, "net.maxon.description.data.base.variadicids")
 
 MAXON_ATTRIBUTE (String, WARNINGS, "net.maxon.description.data.base.warnings")
 
 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 (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, GROUPDEV, "net.maxon.description.data.base.groupdev")
 
 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, Id("type")))
 
 MAXON_ATTRIBUTE (Id, PROCESSOR, "net.maxon.description.data.info.processor", RESOURCE_DEFINE(ENUM_REGISTRY_NET_MAXON_REGISTRY_DESCRIPTIONPROCESSORS, Id("registry#net.maxon.registry.descriptionprocessors")))
 
 MAXON_ATTRIBUTE (CString, PROCESSORPARAMS, "net.maxon.description.data.info.processorparams")
 
 MAXON_ATTRIBUTE (CString, IMAGEURLPORT, "net.maxon.description.data.info.imageurlport")
 
 MAXON_ATTRIBUTE (Url, INCLUDEFILE, "net.maxon.description.data.info.includefile")
 
 MAXON_ATTRIBUTE (CString, COMMENT, "net.maxon.description.data.info.comment")
 
 MAXON_ATTRIBUTE (Bool, HIDDEN, "net.maxon.description.data.info.hidden")
 
 MAXON_ATTRIBUTE (Bool, DYNAMICBUNDLE, "net.maxon.description.data.info.dynamicbundle")
 
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)