ARTS  2.4.0(git:4fb77825)
ARTS::Var::Sparse Class Reference

#include <autoarts.h>

Public Member Functions

 Sparse () noexcept
 
 Sparse (std::size_t i, void *x) noexcept
 
 ~Sparse () noexcept
 
 Sparse (const type &val) noexcept
 
typevalue () noexcept
 
const typevalue () const noexcept
 
Sparseoperator= (const type &t) noexcept
 
std::size_t pos () const noexcept
 
bool isnull () const noexcept
 
bool islast () const noexcept
 
const Group::Stringname () const noexcept
 

Private Types

using type = Group::Sparse
 

Private Attributes

std::size_t p
 
typev
 

Detailed Description

Definition at line 1414 of file autoarts.h.

Member Typedef Documentation

◆ type

Definition at line 1415 of file autoarts.h.

Constructor & Destructor Documentation

◆ Sparse() [1/3]

ARTS::Var::Sparse::Sparse ( )
inlinenoexcept

Definition at line 1419 of file autoarts.h.

◆ Sparse() [2/3]

ARTS::Var::Sparse::Sparse ( std::size_t  i,
void *  x 
)
inlinenoexcept

Definition at line 1420 of file autoarts.h.

◆ ~Sparse()

ARTS::Var::Sparse::~Sparse ( )
inlinenoexcept

Definition at line 1421 of file autoarts.h.

References islast(), isnull(), and v.

◆ Sparse() [3/3]

ARTS::Var::Sparse::Sparse ( const type val)
inlinenoexcept

Definition at line 1422 of file autoarts.h.

Member Function Documentation

◆ islast()

◆ isnull()

bool ARTS::Var::Sparse::isnull ( ) const
inlinenoexcept

Definition at line 1427 of file autoarts.h.

References v.

Referenced by ~Sparse().

◆ name()

const Group::String& ARTS::Var::Sparse::name ( ) const
inlinenoexcept

Definition at line 1429 of file autoarts.h.

References p, and Workspace::wsv_data.

Referenced by ARTS::Method::Copy(), and ARTS::Method::Delete().

◆ operator=()

Sparse& ARTS::Var::Sparse::operator= ( const type t)
inlinenoexcept

Definition at line 1425 of file autoarts.h.

References value().

◆ pos()

◆ value() [1/2]

const type& ARTS::Var::Sparse::value ( ) const
inlinenoexcept

Definition at line 1424 of file autoarts.h.

References v.

◆ value() [2/2]

Member Data Documentation

◆ p

std::size_t ARTS::Var::Sparse::p
private

Definition at line 1416 of file autoarts.h.

Referenced by islast(), name(), and pos().

◆ v

type* ARTS::Var::Sparse::v
private

Definition at line 1417 of file autoarts.h.

Referenced by isnull(), value(), and ~Sparse().


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