![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
All information stored for a single gate in the circuit cache. More...
#include "CircuitCache.h"

Public Member Functions | |
| unsigned | size () const |
| Estimated memory footprint of this entry in bytes. | |
Public Attributes | |
| pg_uuid_t | token |
| UUID identifying this gate. | |
| gate_type | type |
| Kind of gate (input, plus, times, …) | |
| std::vector< pg_uuid_t > | children |
| Ordered list of child gate UUIDs. | |
All information stored for a single gate in the circuit cache.
Each cache entry tracks the gate's UUID token, its type, and the list of its children (also as UUIDs).
Definition at line 40 of file CircuitCache.h.
|
inline |
Estimated memory footprint of this entry in bytes.
Used by CircuitCache to track the total size of the cache so that it can enforce its byte budget.
CircuitCacheInfos plus the children array. Definition at line 54 of file CircuitCache.h.

| std::vector<pg_uuid_t> CircuitCacheInfos::children |
Ordered list of child gate UUIDs.
Definition at line 44 of file CircuitCache.h.
| pg_uuid_t CircuitCacheInfos::token |
UUID identifying this gate.
Definition at line 42 of file CircuitCache.h.
| gate_type CircuitCacheInfos::type |
Kind of gate (input, plus, times, …)
Definition at line 43 of file CircuitCache.h.