ARTS 2.5.4 (git: 31ce4f0e)
Quantum::Number::LocalState Struct Reference

A logical struct for local quantum numbers. More...

#include <quantum_numbers.h>

Public Member Functions

 LocalState ()=default
template<typename... Values>
 LocalState (Values... vals)
void set_unsorted_qns (const Array< Type > &vals)
String keys () const
String values () const
bool same_types_as (const LocalState &that) const
bool good () const
 Test if there are bad quantum numbers (undefined ones) More...

Public Attributes

ValueList val {}


std::ostream & operator<< (std::ostream &os, const LocalState &vl)
 ouptut stream if all values More...
std::istream & operator>> (std::istream &is, LocalState &vl)
 input stream must have pre-set size More...

Detailed Description

A logical struct for local quantum numbers.

Definition at line 965 of file quantum_numbers.h.

Constructor & Destructor Documentation

◆ LocalState() [1/2]

Quantum::Number::LocalState::LocalState ( )

◆ LocalState() [2/2]

template<typename... Values>
Quantum::Number::LocalState::LocalState ( Values...  vals)

Definition at line 971 of file quantum_numbers.h.

Member Function Documentation

◆ good()

bool Quantum::Number::LocalState::good ( ) const

Test if there are bad quantum numbers (undefined ones)

Definition at line 1151 of file

◆ keys()

String Quantum::Number::LocalState::keys ( ) const

Definition at line 374 of file

References val.

◆ same_types_as()

bool Quantum::Number::LocalState::same_types_as ( const LocalState that) const

◆ set_unsorted_qns()

void Quantum::Number::LocalState::set_unsorted_qns ( const Array< Type > &  vals)

Definition at line 1059 of file

References Quantum::Number::ValueList::add_type_wo_sort(), and val.

◆ values()

String Quantum::Number::LocalState::values ( ) const

Definition at line 386 of file

References val.

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const LocalState vl 

ouptut stream if all values

Definition at line 991 of file

◆ operator>>

std::istream & operator>> ( std::istream &  is,
LocalState vl 

input stream must have pre-set size

Definition at line 995 of file

Member Data Documentation

◆ val

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