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

#include <autoarts.h>

Public Member Functions

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

Private Attributes

std::size_t p
 
typev
 

Detailed Description

Definition at line 1630 of file autoarts.h.

Member Typedef Documentation

◆ type

Definition at line 1631 of file autoarts.h.

Constructor & Destructor Documentation

◆ Timer() [1/3]

ARTS::Var::Timer::Timer ( )
inlinenoexcept

Definition at line 1635 of file autoarts.h.

◆ Timer() [2/3]

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

Definition at line 1636 of file autoarts.h.

◆ ~Timer()

ARTS::Var::Timer::~Timer ( )
inlinenoexcept

Definition at line 1637 of file autoarts.h.

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

◆ Timer() [3/3]

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

Definition at line 1638 of file autoarts.h.

Member Function Documentation

◆ islast()

bool ARTS::Var::Timer::islast ( ) const
inlinenoexcept

◆ isnull()

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

Definition at line 1643 of file autoarts.h.

References v.

Referenced by ~Timer().

◆ name()

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

Definition at line 1645 of file autoarts.h.

References p, and Workspace::wsv_data.

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

◆ operator=()

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

Definition at line 1641 of file autoarts.h.

References value().

◆ pos()

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

◆ value() [1/2]

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

Definition at line 1640 of file autoarts.h.

References v.

◆ value() [2/2]

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

Member Data Documentation

◆ p

std::size_t ARTS::Var::Timer::p
private

Definition at line 1632 of file autoarts.h.

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

◆ v

type* ARTS::Var::Timer::v
private

Definition at line 1633 of file autoarts.h.

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


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