Public Member Functions | Static Public Attributes | List of all members
instant Class Reference

An instant of time. Contains the time value and name. More...

Inheritance diagram for instant:
Inheritance graph
[legend]
Collaboration diagram for instant:
Collaboration graph
[legend]

Public Member Functions

 instant ()=default
 
 instant (const instant &)=default
 
 instant (instant &&)=default
 
 instant (scalar timeValue)
 
 instant (const word &timeName)
 
 instant (word &&timeName)
 
instantoperator= (const instant &)=default
 
instantoperator= (instant &&)=default
 
- Public Member Functions inherited from Instant< word >
 Instant ()
 
 Instant (scalar val, const word &key)
 
 Instant (scalar val, word &&key)
 
 Instant (const Instant &)=default
 
 Instant (Instant &&)=default
 
scalar value () const
 
scalar & value ()
 
const wordname () const
 
wordname ()
 
bool equal (scalar val) const
 
bool equal (const Instant< T2 > &other) const
 
Instantoperator= (const Instant &)=default
 
Instantoperator= (Instant &&)=default
 

Static Public Attributes

static const char *const typeName = "instant"
 

Detailed Description

An instant of time. Contains the time value and name.

Source files

Definition at line 48 of file instant.H.

Constructor & Destructor Documentation

◆ instant() [1/6]

instant ( )
default

◆ instant() [2/6]

instant ( const instant )
default

◆ instant() [3/6]

instant ( instant &&  )
default

◆ instant() [4/6]

instant ( scalar  timeValue)
explicit

Definition at line 33 of file instant.C.

◆ instant() [5/6]

instant ( const word timeName)
explicit

Definition at line 39 of file instant.C.

◆ instant() [6/6]

instant ( word &&  timeName)
explicit

Definition at line 45 of file instant.C.

Member Function Documentation

◆ operator=() [1/2]

instant& operator= ( const instant )
default

◆ operator=() [2/2]

instant& operator= ( instant &&  )
default

Member Data Documentation

◆ typeName

const char *const typeName = "instant"
static

Definition at line 56 of file instant.H.


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