diff options
| author | Dan Engelbrecht <[email protected]> | 2022-06-29 07:09:58 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-29 16:09:58 +0200 |
| commit | a90f80422242796476d46aadc29a1b3fa8ed25af (patch) | |
| tree | c7bf32a620bca0a54a9dd7b91a1f357f510348b4 /zenutil/include | |
| parent | disable macos github agent (diff) | |
| download | zen-a90f80422242796476d46aadc29a1b3fa8ed25af.tar.xz zen-a90f80422242796476d46aadc29a1b3fa8ed25af.zip | |
add optional filter when writing GetCacheRecordsRequest and GetCacheValuesRequest (#137)
Diffstat (limited to 'zenutil/include')
| -rw-r--r-- | zenutil/include/zenutil/cache/cacherequests.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zenutil/include/zenutil/cache/cacherequests.h b/zenutil/include/zenutil/cache/cacherequests.h index aeaa5beee..357063bcf 100644 --- a/zenutil/include/zenutil/cache/cacherequests.h +++ b/zenutil/include/zenutil/cache/cacherequests.h @@ -108,8 +108,8 @@ namespace cacherequests { bool Parse(const CbPackage& RpcRequest); bool Parse(const CbObjectView& RpcRequest); - bool Format(CbPackage& OutPackage) const; - bool Format(CbObjectWriter& Writer) const; + bool Format(CbPackage& OutPackage, const std::span<const size_t> OptionalRecordFilter = {}) const; + bool Format(CbObjectWriter& Writer, const std::span<const size_t> OptionalRecordFilter = {}) const; }; struct GetCacheRecordResultValue @@ -180,7 +180,7 @@ namespace cacherequests { std::vector<GetCacheValueRequest> Requests; bool Parse(const CbObjectView& BatchObject); - bool Format(CbPackage& OutPackage) const; + bool Format(CbPackage& OutPackage, const std::span<const size_t> OptionalValueFilter = {}) const; }; struct CacheValueResult |