Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
shambase::arg_group Struct Reference

A context group containing a section name and a list of arguments. More...

#include <shambase/include/shambase/exception_ctx.hpp>

+ Collaboration diagram for shambase::arg_group:

Public Member Functions

template<typename... Args>
 arg_group (std::string name, Args &&...args_list)
 

Public Attributes

std::string section_name
 
std::vector< args_infoargs
 

Detailed Description

A context group containing a section name and a list of arguments.

This struct is used to group arguments under a named section when creating exceptions with context.

Definition at line 55 of file exception_ctx.hpp.

Constructor & Destructor Documentation

◆ arg_group()

template<typename... Args>
shambase::arg_group::arg_group ( std::string  name,
Args &&...  args_list 
)
inline

Definition at line 62 of file exception_ctx.hpp.

Member Data Documentation

◆ args

std::vector<args_info> shambase::arg_group::args

Definition at line 57 of file exception_ctx.hpp.

◆ section_name

std::string shambase::arg_group::section_name

Definition at line 56 of file exception_ctx.hpp.


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