Spicy
Public Member Functions | Public Attributes | List of all members
hilti::rt::type_info::enum_::Label Struct Reference

#include <type-info.h>

Public Member Functions

 Label (std::string name, int64_t value)
 

Public Attributes

const std::string name
 
const int64_t value
 

Detailed Description

Auxiliary type information going with enum types, describing one label.

Constructor & Destructor Documentation

◆ Label()

hilti::rt::type_info::enum_::Label::Label ( std::string  name,
int64_t  value 
)
inline

Constructor.

Parameters
nameID of the label
valuenumerical value of the label

Member Data Documentation

◆ name

const std::string hilti::rt::type_info::enum_::Label::name

ID of the label

◆ value

const int64_t hilti::rt::type_info::enum_::Label::value

numerical value of the label


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