ARTS 2.5.0 (git: 9ee3ac6c)
ArrayOfSpeciesTag Class Referencefinal

#include <species_tags.h>

Inheritance diagram for ArrayOfSpeciesTag:
Array< SpeciesTag >

Public Member Functions

 ArrayOfSpeciesTag () noexcept
 
 ArrayOfSpeciesTag (Index n)
 
 ArrayOfSpeciesTag (Index n, const SpeciesTag &fillvalue)
 
 ArrayOfSpeciesTag (const ArrayOfSpeciesTag &A)=default
 
 ArrayOfSpeciesTag (ArrayOfSpeciesTag &&A) noexcept
 
ArrayOfSpeciesTagoperator= (SpeciesTag x)
 
ArrayOfSpeciesTagoperator= (const ArrayOfSpeciesTag &A)
 
ArrayOfSpeciesTagoperator= (ArrayOfSpeciesTag &&A) noexcept
 
 ArrayOfSpeciesTag (String names)
 
Species::Species Species () const ARTS_NOEXCEPT
 
- Public Member Functions inherited from Array< SpeciesTag >
 Array ()
 
 Array (Index n)
 
 Array (Index n, const SpeciesTag &fillvalue)
 Constructor filling with constant value. More...
 
 Array (const Array< SpeciesTag > &A)
 
 Array (Array< SpeciesTag > &&A) noexcept
 
 Array (std::initializer_list< SpeciesTag > init)
 
 Array (const std::array< base2, N > &input)
 
Arrayoperator= (SpeciesTag x)
 Assignment from base type (fill entire Array with this value). More...
 
Arrayoperator= (const Array< SpeciesTag > &A)
 Assignment from another Array. More...
 
Arrayoperator= (Array< SpeciesTag > &&A) noexcept
 
Index nelem () const ARTS_NOEXCEPT
 Number of elements. More...
 
const SpeciesTagoperator[] (const Index n) const
 Constant index operator. More...
 
SpeciesTagoperator[] (const Index n)
 Non-constant index operator. More...
 
void push_back_n (const SpeciesTag &elem, const Index n)
 Append element n times. More...
 
virtual ~Array ()=default
 

Friends

std::ostream & operator<< (std::ostream &os, const ArrayOfSpeciesTag &ot)
 

Detailed Description

Definition at line 101 of file species_tags.h.

Constructor & Destructor Documentation

◆ ArrayOfSpeciesTag() [1/6]

ArrayOfSpeciesTag::ArrayOfSpeciesTag ( )
inlinenoexcept

Definition at line 103 of file species_tags.h.

◆ ArrayOfSpeciesTag() [2/6]

ArrayOfSpeciesTag::ArrayOfSpeciesTag ( Index  n)
inlineexplicit

Definition at line 104 of file species_tags.h.

◆ ArrayOfSpeciesTag() [3/6]

ArrayOfSpeciesTag::ArrayOfSpeciesTag ( Index  n,
const SpeciesTag fillvalue 
)
inline

Definition at line 105 of file species_tags.h.

◆ ArrayOfSpeciesTag() [4/6]

ArrayOfSpeciesTag::ArrayOfSpeciesTag ( const ArrayOfSpeciesTag A)
default

◆ ArrayOfSpeciesTag() [5/6]

ArrayOfSpeciesTag::ArrayOfSpeciesTag ( ArrayOfSpeciesTag &&  A)
inlinenoexcept

Definition at line 107 of file species_tags.h.

◆ ArrayOfSpeciesTag() [6/6]

ArrayOfSpeciesTag::ArrayOfSpeciesTag ( String  names)

Member Function Documentation

◆ operator=() [1/3]

ArrayOfSpeciesTag & ArrayOfSpeciesTag::operator= ( ArrayOfSpeciesTag &&  A)
inlinenoexcept

Definition at line 119 of file species_tags.h.

References Array< base >::operator=().

◆ operator=() [2/3]

ArrayOfSpeciesTag & ArrayOfSpeciesTag::operator= ( const ArrayOfSpeciesTag A)
inline

Definition at line 114 of file species_tags.h.

References copy().

◆ operator=() [3/3]

ArrayOfSpeciesTag & ArrayOfSpeciesTag::operator= ( SpeciesTag  x)
inline

Definition at line 110 of file species_tags.h.

References Zeeman::end().

◆ Species()

Species::Species ArrayOfSpeciesTag::Species ( ) const
inline

Returns the species of the first elements, it is not allowed to have an empty list calling this

Definition at line 133 of file species_tags.h.

References ARTS_ASSERT, and Array< SpeciesTag >::operator[]().

Referenced by main().

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const ArrayOfSpeciesTag ot 
)
friend

Definition at line 126 of file species_tags.h.


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