CacheableMixin ============== .. cpp:class:: numpy::CacheableMixin numpy C++ class. Example ------- .. code-block:: cpp #include using namespace numpy; // Use CacheableMixin CacheableMixin obj; // ... operations ... Other Methods ------------- .. list-table:: :widths: 40 20 15 25 :header-rows: 1 * - 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 -