ASL  0.1.6
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>

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 ()
 
 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)
 
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

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

Definition at line 39 of file aslUValue.h.

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

Definition at line 40 of file aslUValue.h.

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

Definition at line 39 of file aslUValue.h.

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

Definition at line 40 of file aslUValue.h.

Member Function Documentation

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.

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.

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

Definition at line 43 of file aslUValue.h.

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

Definition at line 43 of file aslUValue.h.

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

Definition at line 44 of file aslUValue.h.

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

Definition at line 44 of file aslUValue.h.

Friends And Related Function Documentation

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

Definition at line 60 of file aslUValue.h.

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

Definition at line 60 of file aslUValue.h.

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

Definition at line 55 of file aslUValue.h.

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

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

Definition at line 37 of file aslUValue.h.

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: