ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::enumrecords::detail::EnumRecordHook< TEnum >::Node Struct Reference

Description:

template<typename TEnum>
struct alib::enumrecords::detail::EnumRecordHook< TEnum >::Node

A node of the forward list that contains the custom record data.

Definition at line 109 of file records.inl.

Collaboration diagram for alib::enumrecords::detail::EnumRecordHook< TEnum >::Node:
[legend]

Public Field Index:

TIntegral integral
 The enum element's underlying integral value.
 
Nodenext
 Pointer to the next node.
 
TRecord record
 The data record.
 

Public Method Index:

 Node () noexcept=default
 Default constructor.
 
template<typename... TArgs>
 Node (TEnum element, TArgs &&... args) noexcept
 

Field Details:

◆ integral

template<typename TEnum>
TIntegral alib::enumrecords::detail::EnumRecordHook< TEnum >::Node::integral

The enum element's underlying integral value.

Definition at line 112 of file records.inl.

◆ next

template<typename TEnum>
Node* alib::enumrecords::detail::EnumRecordHook< TEnum >::Node::next

Pointer to the next node.

Definition at line 118 of file records.inl.

◆ record

template<typename TEnum>
TRecord alib::enumrecords::detail::EnumRecordHook< TEnum >::Node::record

The data record.

Definition at line 115 of file records.inl.

Constructor(s) / Destructor Details:

◆ Node()

template<typename TEnum>
template<typename... TArgs>
alib::enumrecords::detail::EnumRecordHook< TEnum >::Node::Node ( TEnum element,
TArgs &&... args )
inlinenoexcept

Constructs this instance taking variadic template arguments to construct the contained enum record of custom type.

Template Parameters
TArgsTypes of the variadic arguments args.
Parameters
elementThe enum element
argsVariadic arguments forwarded to constructor of field record.

Definition at line 127 of file records.inl.


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