Sygaldry
Loading...
Searching...
No Matches
sygah-metadata: Metadata Helpers

Classes

struct  sygaldry::name_< str >
 Document the name of an entity, e.g. an endpoint, component, or binding. More...
 
struct  sygaldry::description_< str >
 Document a textual description of an entity, e.g. an endpoint, component or binding. More...
 
struct  sygaldry::unit_< str >
 Document a textual description of the unit of measurement used by an entity, especially an endpoint. More...
 
struct  sygaldry::author_< str >
 Document the author of an entity, e.g. a component or binding. More...
 
struct  sygaldry::designer_< str >
 Document the designer of an entity, if different from the author, e.g. designer of an instrument vs author of the firmware. More...
 
struct  sygaldry::email_< str >
 Document the author's contact email of an entity, e.g. a component or binding. More...
 
struct  sygaldry::license_< str >
 Document the copyright license of an entity, e.g. a component or binding. More...
 
struct  sygaldry::copyright_< str >
 Document the copyright statement of an entity, e.g. a component or binding. More...
 
struct  sygaldry::uuid_< str >
 Document an unambiguous unique identifier for the type of an entity e.g. a component or binding. More...
 
struct  sygaldry::version_< str >
 Document a textual description of the version number of an entity, e.g. a component or binding. More...
 
struct  sygaldry::date_< str >
 Document a textual description of the date when an entity was released, e.g. a component or binding. More...
 
#define metadata_struct(NAME)
 Helper macro used in the definition of metadata structs; This get's undefined immediately so don't try to use it!
 

Detailed Description

Macro Definition Documentation

◆ metadata_struct

#define metadata_struct (   NAME)
Value:
template<string_literal str>\
struct NAME##_\
{\
\
static _consteval auto NAME() {return str.value;}\
}

Helper macro used in the definition of metadata structs; This get's undefined immediately so don't try to use it!