CoolProp 6.8.1dev
An open-source fluid property and humid air property database
|
Definition at line 93 of file CachedElement.h.
#include <CachedElement.h>
Public Member Functions | |
CacheArrayElement (NumType &val, bool &is_cached) | |
void | _do_cache (double value) |
Function to carry out the caching. More... | |
void | operator= (const double &value) |
Assignment operator - sets the value and sets the flag. More... | |
operator bool () | |
Cast to boolean, for checking if cached. More... | |
operator double () | |
Cast to double, for returning value. More... | |
void | clear () |
Clear the flag and the value. More... | |
NumType & | pt () |
|
inline |
Definition at line 103 of file CachedElement.h.
|
inline |
Function to carry out the caching.
Definition at line 106 of file CachedElement.h.
|
inline |
Clear the flag and the value.
Definition at line 139 of file CachedElement.h.
|
inline |
Cast to boolean, for checking if cached.
Definition at line 117 of file CachedElement.h.
|
inline |
Cast to double, for returning value.
Definition at line 122 of file CachedElement.h.
|
inline |
Assignment operator - sets the value and sets the flag.
Definition at line 112 of file CachedElement.h.
|
inline |
Definition at line 143 of file CachedElement.h.