#include <Cache.h>
Classes | |
struct | Node |
Public Member Functions | |
Cache () | |
Cache (const Functor *const functorPtr, const unsigned int maxSize) | |
Cache (const Cache &other) | |
AResult | operator() (const AArgument &arg) |
Cache & | operator= (const Cache &other) |
void | Reset () |
~Cache () | |
Protected Attributes | |
boost::shared_ptr< const Functor > | fFunctorPtr |
unsigned int | fMaxSize = 0 |
Node * | fRoot = nullptr |
unsigned int | fSize = 0 |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 31 of file Cache.h.
References utl::Cache< AResult, Functor, AArgument >::Reset().
|
inline |
Definition at line 47 of file Cache.h.
References utl::Cache< AResult, Functor, AArgument >::Node::arg, utl::Cache< AResult, Functor, AArgument >::fFunctorPtr, utl::Cache< AResult, Functor, AArgument >::fMaxSize, utl::Cache< AResult, Functor, AArgument >::fRoot, utl::Cache< AResult, Functor, AArgument >::fSize, utl::Cache< AResult, Functor, AArgument >::Node::next, and utl::Cache< AResult, Functor, AArgument >::Node::res.
|
inline |
Definition at line 21 of file Cache.h.
References utl::Cache< AResult, Functor, AArgument >::fFunctorPtr, utl::Cache< AResult, Functor, AArgument >::fMaxSize, and utl::Cache< AResult, Functor, AArgument >::Reset().
|
inline |
Definition at line 34 of file Cache.h.
References utl::Cache< AResult, Functor, AArgument >::fRoot, utl::Cache< AResult, Functor, AArgument >::fSize, and utl::Cache< AResult, Functor, AArgument >::Node::next.
Referenced by utl::Cache< AResult, Functor, AArgument >::operator=(), and utl::Cache< AResult, Functor, AArgument >::~Cache().
|
protected |
Definition at line 102 of file Cache.h.
Referenced by utl::Cache< AResult, Functor, AArgument >::operator()(), and utl::Cache< AResult, Functor, AArgument >::operator=().
|
protected |
Definition at line 103 of file Cache.h.
Referenced by utl::Cache< AResult, Functor, AArgument >::operator()(), and utl::Cache< AResult, Functor, AArgument >::operator=().
|
protected |
Definition at line 105 of file Cache.h.
Referenced by utl::Cache< AResult, Functor, AArgument >::operator()(), and utl::Cache< AResult, Functor, AArgument >::Reset().
|
protected |
Definition at line 104 of file Cache.h.
Referenced by utl::Cache< AResult, Functor, AArgument >::operator()(), and utl::Cache< AResult, Functor, AArgument >::Reset().