Spicy
Public Member Functions | Public Attributes | Friends | List of all members
hilti::rt::type_info::tuple::Element Class Reference

#include <type-info.h>

Public Member Functions

 Element (const char *name, const TypeInfo *type, std::ptrdiff_t offset)
 

Public Attributes

const std::string name
 
const TypeInfotype
 

Friends

class type_info::Tuple
 

Detailed Description

Auxiliary type information for type tuple describing one tuple element.

Constructor & Destructor Documentation

◆ Element()

hilti::rt::type_info::tuple::Element::Element ( const char *  name,
const TypeInfo type,
std::ptrdiff_t  offset 
)
inline

Constructor.

Parameters
nameID of the element, with an empty string indicating no name
typetype of the field
offsetoffset of the field inside the tuple

Member Data Documentation

◆ name

const std::string hilti::rt::type_info::tuple::Element::name

ID of the element, with an empty string indicating no name

◆ type

const TypeInfo* hilti::rt::type_info::tuple::Element::type

type of the element


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