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

#include <autoarts.h>

Public Member Functions

 Time () noexcept
 
 Time (std::size_t i, void *x) noexcept
 
 ~Time () noexcept
 
 Time (const type &val) noexcept
 
typevalue () noexcept
 
const typevalue () const noexcept
 
Timeoperator= (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::Time
 

Private Attributes

std::size_t p
 
typev
 

Detailed Description

Definition at line 1612 of file autoarts.h.

Member Typedef Documentation

◆ type

Definition at line 1613 of file autoarts.h.

Constructor & Destructor Documentation

◆ Time() [1/3]

ARTS::Var::Time::Time ( )
inlinenoexcept

Definition at line 1617 of file autoarts.h.

◆ Time() [2/3]

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

Definition at line 1618 of file autoarts.h.

◆ ~Time()

ARTS::Var::Time::~Time ( )
inlinenoexcept

Definition at line 1619 of file autoarts.h.

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

◆ Time() [3/3]

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

Definition at line 1620 of file autoarts.h.

Member Function Documentation

◆ islast()

◆ isnull()

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

Definition at line 1625 of file autoarts.h.

References v.

Referenced by ~Time().

◆ name()

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

Definition at line 1627 of file autoarts.h.

References p, and Workspace::wsv_data.

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

◆ operator=()

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

Definition at line 1623 of file autoarts.h.

References value().

◆ pos()

std::size_t ARTS::Var::Time::pos ( ) const
inlinenoexcept

◆ value() [1/2]

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

Definition at line 1622 of file autoarts.h.

References v.

◆ value() [2/2]

type& ARTS::Var::Time::value ( )
inlinenoexcept

Member Data Documentation

◆ p

std::size_t ARTS::Var::Time::p
private

Definition at line 1614 of file autoarts.h.

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

◆ v

type* ARTS::Var::Time::v
private

Definition at line 1615 of file autoarts.h.

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


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