SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
std::formatter< serif::utils::laneemden::Sample > Struct Reference

Select all sample values, or one named component with :xi, :theta, or :derivative. More...

#include <solution.hpp>

Public Types

enum class  Component { all , xi , theta , derivative }
 

Public Member Functions

constexpr auto parse (std::format_parse_context &ctx)
 Validate the selector during literal format checking or runtime format parsing.
 
template<typename FormatContext>
auto format (const serif::utils::laneemden::Sample &sample, FormatContext &ctx) const
 Keep the labeled tuple for complete samples and emit a bare number for a selected component.
 

Public Attributes

Component component {Component::all}
 

Detailed Description

Select all sample values, or one named component with :xi, :theta, or :derivative.

Member Enumeration Documentation

◆ Component

enum class std::formatter< serif::utils::laneemden::Sample >::Component
strong
Enumerator
all 
xi 
theta 
derivative 

Member Function Documentation

◆ format()

template<typename FormatContext>
auto std::formatter< serif::utils::laneemden::Sample >::format ( const serif::utils::laneemden::Sample & sample,
FormatContext & ctx ) const
inline

Keep the labeled tuple for complete samples and emit a bare number for a selected component.

◆ parse()

auto std::formatter< serif::utils::laneemden::Sample >::parse ( std::format_parse_context & ctx)
inlineconstexpr

Validate the selector during literal format checking or runtime format parsing.

Member Data Documentation

◆ component


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