#include <generic_shared.hpp>
template<typename K, typename T>
class casadi::WeakCache< K, T >
Definition at line 240 of file generic_shared.hpp.
|
void | tocache (const K &key, const T &f, bool needs_lock=true) |
|
void | tocache_if_missing (const K &key, T &f) |
|
bool | incache (const K &key, T &f, bool needs_lock=true) const |
|
void | cache (std::vector< K > &keys, std::vector< T > &entries) const |
|
◆ cache()
template<typename K , typename T >
void casadi::WeakCache< K, T >::cache |
( |
std::vector< K > & |
keys, |
|
|
std::vector< T > & |
entries |
|
) |
| const |
|
inline |
◆ incache()
template<typename K , typename T >
bool casadi::WeakCache< K, T >::incache |
( |
const K & |
key, |
|
|
T & |
f, |
|
|
bool |
needs_lock = true |
|
) |
| const |
|
inline |
◆ tocache()
template<typename K , typename T >
void casadi::WeakCache< K, T >::tocache |
( |
const K & |
key, |
|
|
const T & |
f, |
|
|
bool |
needs_lock = true |
|
) |
| |
|
inline |
◆ tocache_if_missing()
template<typename K , typename T >
The documentation for this class was generated from the following file: