momemta::AttrDef Struct Reference

Defines an attribute. More...

#include <ModuleDef.h>

Detailed Description

Defines an attribute.

Definition at line 27 of file ModuleDef.h.

Public Attributes

std::string name
 
std::string type
 
std::string default_value
 
bool global
 
bool optional
 

Member Data Documentation

◆ global

bool momemta::AttrDef::global

If true, this attribute is global and must be declared in the global parameters table. Such an attribute must be ignored when doing validation, as the user is not supposed to define it.

Definition at line 35 of file ModuleDef.h.


The documentation for this struct was generated from the following file: