ARTS 2.5.4 (git: 31ce4f0e)
AgendaManip::SetWsv Struct Reference

#include <agenda_set.h>

Public Types

enum class  opt : char { NameOnly , ValueOnly , NameAndValue }
 Checks for which type of information should be used later on. More...
 

Public Member Functions

 SetWsv (const std::string &x, const std::string &y)
 For named wsv1=wsv2. More...
 
 SetWsv (std::string_view x)
 For either named "wsv1=wsv2" or positional wsv1. More...
 
 SetWsv (ArtsType auto &&t)
 For position value. More...
 
 SetWsv (std::string_view x, ArtsType auto &&t)
 For named value. More...
 

Public Attributes

opt test
 
std::string str {""}
 
TokVal val {}
 

Detailed Description

Definition at line 33 of file agenda_set.h.

Member Enumeration Documentation

◆ opt

enum class AgendaManip::SetWsv::opt : char
strong

Checks for which type of information should be used later on.

Enumerator
NameOnly 
ValueOnly 
NameAndValue 

Definition at line 35 of file agenda_set.h.

Constructor & Destructor Documentation

◆ SetWsv() [1/4]

AgendaManip::SetWsv::SetWsv ( const std::string &  x,
const std::string &  y 
)

For named wsv1=wsv2.

Definition at line 82 of file agenda_set.cc.

◆ SetWsv() [2/4]

AgendaManip::SetWsv::SetWsv ( std::string_view  x)

For either named "wsv1=wsv2" or positional wsv1.

Definition at line 85 of file agenda_set.cc.

◆ SetWsv() [3/4]

AgendaManip::SetWsv::SetWsv ( ArtsType auto &&  t)
inline

For position value.

Definition at line 48 of file agenda_set.h.

◆ SetWsv() [4/4]

AgendaManip::SetWsv::SetWsv ( std::string_view  x,
ArtsType auto &&  t 
)
inline

For named value.

Definition at line 51 of file agenda_set.h.

Member Data Documentation

◆ str

std::string AgendaManip::SetWsv::str {""}

Definition at line 38 of file agenda_set.h.

Referenced by AgendaManip::MethodVariable::MethodVariable().

◆ test

opt AgendaManip::SetWsv::test

Definition at line 37 of file agenda_set.h.

Referenced by AgendaManip::MethodVariable::MethodVariable().

◆ val

TokVal AgendaManip::SetWsv::val {}

Definition at line 39 of file agenda_set.h.

Referenced by AgendaManip::MethodVariable::MethodVariable().


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