ASL  0.1.7
Advanced Simulation Library
Public Member Functions | Public Attributes | Related Functions | List of all members
asl::UValue< T > Class Template Reference

Updatable value. This class stores value and its TimeStamp. More...

#include <aslBasicBC.h>

Inheritance diagram for asl::UValue< T >:
Inheritance graph
[legend]
Collaboration diagram for asl::UValue< T >:
Collaboration graph
[legend]

Public Member Functions

 UValue ()
 
 UValue (const T &a)
 
const T & operator= (const T &a)
 updates UValue::ts automaticaly More...
 
const T & v () const
 
T & v ()
 

Public Attributes

std::shared_ptr< T > p
 
TimeStamp ts
 

Related Functions

(Note that these are not member functions.)

template<typename T >
bool operator== (const asl::UValue< T > &a, const T &v)
 
template<typename T >
bool operator!= (const asl::UValue< T > &a, const T &v)
 

Detailed Description

template<typename T>
class asl::UValue< T >

Updatable value. This class stores value and its TimeStamp.

Examples
acousticWaves.cc, and testVectorOfElements.cc.

Definition at line 41 of file aslBasicBC.h.

Constructor & Destructor Documentation

◆ UValue() [1/2]

template<typename T>
asl::UValue< T >::UValue ( )
inlineexplicit

Definition at line 39 of file aslUValue.h.

◆ UValue() [2/2]

template<typename T>
asl::UValue< T >::UValue ( const T &  a)
inlineexplicit

Definition at line 40 of file aslUValue.h.

Member Function Documentation

◆ operator=()

template<typename T>
const T& asl::UValue< T >::operator= ( const T &  a)
inline

updates UValue::ts automaticaly

Definition at line 42 of file aslUValue.h.

◆ v() [1/2]

template<typename T>
const T& asl::UValue< T >::v ( ) const
inline

Definition at line 43 of file aslUValue.h.

◆ v() [2/2]

template<typename T>
T& asl::UValue< T >::v ( )
inline

Definition at line 44 of file aslUValue.h.

Friends And Related Function Documentation

◆ operator!=()

template<typename T >
bool operator!= ( const asl::UValue< T > &  a,
const T &  v 
)
related

Definition at line 60 of file aslUValue.h.

◆ operator==()

template<typename T >
bool operator== ( const asl::UValue< T > &  a,
const T &  v 
)
related

Definition at line 55 of file aslUValue.h.

Member Data Documentation

◆ p

template<typename T>
std::shared_ptr<T> asl::UValue< T >::p

Definition at line 37 of file aslUValue.h.

◆ ts

template<typename T>
TimeStamp asl::UValue< T >::ts

Definition at line 38 of file aslUValue.h.


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