CacheableMixin#

class numpy::CacheableMixin#

numpy C++ class.

Example#

#include <numpy/np_ndarray.h>
using namespace numpy;

// Use CacheableMixin
CacheableMixin obj;
// ... operations ...

Other Methods#

Signature

Return Type

Location

Example

virtual size_t cache_memory_usage() const

virtual size_t

df_cacheable_mixin.h:74

virtual void clear_cache() const = 0

virtual void

df_cacheable_mixin.h:48

\* Default implementation clears all caches (calls clear_cache()).

* Default implementation clears all caches (calls

df_cacheable_mixin.h:54

virtual bool clear_cache(const char\* /\*key\*/) const

virtual bool

df_cacheable_mixin.h:61

virtual bool has_cached_values() const

virtual bool

df_cacheable_mixin.h:84