#include <virtual.h>
|
| PyArrayCache (const py::object &mutablemapping) |
|
const py::object | mutablemapping () const |
|
ak::ContentPtr | get (const std::string &key) const override |
| Attempts to get an array; may be nullptr if not available.
|
|
void | set (const std::string &key, const ak::ContentPtr &value) override |
| Writes or overwrites an array at key .
|
|
bool | is_broken () const override |
| Returns true if the cache cannot be used for any reason.
|
|
const std::string | tostring_part (const std::string &indent, const std::string &pre, const std::string &post) const override |
|
virtual ContentPtr | get (const std::string &key) const =0 |
| Attempts to get an array; may be nullptr if not available.
|
|
virtual void | set (const std::string &key, const ContentPtr &value)=0 |
| Writes or overwrites an array at key .
|
|
virtual bool | is_broken () const =0 |
| Returns true if the cache cannot be used for any reason.
|
|
virtual const std::string | tostring_part (const std::string &indent, const std::string &pre, const std::string &post) const =0 |
|
|
static const std::string | newkey () |
| Returns a new key that is globally unique in the current process.
|
|
◆ PyArrayCache()
◆ get()
Attempts to get an array; may be nullptr
if not available.
Implements ArrayCache.
◆ is_broken()
Returns true if the cache cannot be used for any reason.
Implements ArrayCache.
◆ mutablemapping()
const py::object mutablemapping |
( |
| ) |
const |
◆ set()
Writes or overwrites an array at key
.
Implements ArrayCache.
◆ tostring_part()
const std::string tostring_part |
( |
const std::string & |
indent, |
|
|
const std::string & |
pre, |
|
|
const std::string & |
post |
|
) |
| const |
|
overridevirtual |
The documentation for this class was generated from the following file: