Skip to content

Class SpiceQL::Memo::Cache

ClassList > SpiceQL > Memo > Cache

Public Attributes

Type Name
std::vector< std::string > m_dependants

Public Functions

Type Name
Cache (std::vector< std::string > deps)
decltype(f(params...)) const operator() (const Func & f, Params &&... params)
decltype(f(params...)) const operator() (const std::string & descr, const Func & f, Params &&... params)
decltype(f(params...)) const operator() (const std::string & descr, std::size_t seed, const Func & f, Params &&... params)
decltype(f(params...)) const use_disk_cache (const std::string & descr, std::size_t seed, const Func & f, Params &&... params)

Public Attributes Documentation

variable m_dependants

std::vector<std::string> SpiceQL::Memo::Cache::m_dependants;

Public Functions Documentation

function Cache

inline SpiceQL::Memo::Cache::Cache (
    std::vector< std::string > deps
) 

function operator() [1/3]

template<typename Func, typename... Params>
inline decltype(f(params...)) const SpiceQL::Memo::Cache::operator() (
    const Func & f,
    Params &&... params
) 

function operator() [2/3]

template<typename Func, typename... Params>
inline decltype(f(params...)) const SpiceQL::Memo::Cache::operator() (
    const std::string & descr,
    const Func & f,
    Params &&... params
) 

function operator() [3/3]

template<typename Func, typename... Params>
inline decltype(f(params...)) const SpiceQL::Memo::Cache::operator() (
    const std::string & descr,
    std::size_t seed,
    const Func & f,
    Params &&... params
) 

function use_disk_cache

template<typename Func, typename... Params>
inline decltype(f(params...)) const SpiceQL::Memo::Cache::use_disk_cache (
    const std::string & descr,
    std::size_t seed,
    const Func & f,
    Params &&... params
) 


The documentation for this class was generated from the following file SpiceQL/include/memo.h