WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
internal::arg_ref< Char > Struct Template Reference

#include <format.h>

Public Types

enum  Kind { NONE, INDEX, NAME }
 

Public Member Functions

FMT_CONSTEXPR arg_ref ()
 
FMT_CONSTEXPR arg_ref (unsigned index)
 
 arg_ref (basic_string_view< Char > nm)
 
FMT_CONSTEXPR arg_refoperator= (unsigned idx)
 

Public Attributes

Kind kind
 
union {
   unsigned   index
 
   string_value< Char >   name
 
}; 
 

Detailed Description

template<typename Char>
struct internal::arg_ref< Char >

Definition at line 1707 of file format.h.

Member Enumeration Documentation

◆ Kind

template<typename Char>
enum internal::arg_ref::Kind
Enumerator
NONE 
INDEX 
NAME 

Definition at line 1708 of file format.h.

Constructor & Destructor Documentation

◆ arg_ref() [1/3]

template<typename Char>
FMT_CONSTEXPR internal::arg_ref< Char >::arg_ref ( )
inline

Definition at line 1710 of file format.h.

◆ arg_ref() [2/3]

template<typename Char>
FMT_CONSTEXPR internal::arg_ref< Char >::arg_ref ( unsigned  index)
inlineexplicit

Definition at line 1711 of file format.h.

◆ arg_ref() [3/3]

template<typename Char>
internal::arg_ref< Char >::arg_ref ( basic_string_view< Char >  nm)
inlineexplicit

Definition at line 1712 of file format.h.

Member Function Documentation

◆ operator=()

template<typename Char>
FMT_CONSTEXPR arg_ref& internal::arg_ref< Char >::operator= ( unsigned  idx)
inline

Definition at line 1716 of file format.h.

Member Data Documentation

◆ @12

union { ... }

◆ index

template<typename Char>
unsigned internal::arg_ref< Char >::index

Definition at line 1724 of file format.h.

◆ kind

template<typename Char>
Kind internal::arg_ref< Char >::kind

Definition at line 1722 of file format.h.

◆ name

template<typename Char>
string_value<Char> internal::arg_ref< Char >::name

Definition at line 1725 of file format.h.


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