diff options
| author | Dan Engelbrecht <[email protected]> | 2022-06-30 00:42:54 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-30 00:42:54 -0700 |
| commit | 658f75ed9917ccdc616d046b41c2dc05c4c32167 (patch) | |
| tree | f67a4357bca1fab4e370d44ff5670d5ab4481556 /zenutil/include | |
| parent | add optional filter when writing GetCacheRecordsRequest and GetCacheValuesReq... (diff) | |
| download | zen-658f75ed9917ccdc616d046b41c2dc05c4c32167.tar.xz zen-658f75ed9917ccdc616d046b41c2dc05c4c32167.zip | |
Add ability to control where in the result array results go in GetCacheRecordsResult::Parse and CacheValuesResult::Parse (#138)
Diffstat (limited to 'zenutil/include')
| -rw-r--r-- | zenutil/include/zenutil/cache/cacherequests.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zenutil/include/zenutil/cache/cacherequests.h b/zenutil/include/zenutil/cache/cacherequests.h index 357063bcf..fff16d2d5 100644 --- a/zenutil/include/zenutil/cache/cacherequests.h +++ b/zenutil/include/zenutil/cache/cacherequests.h @@ -131,7 +131,7 @@ namespace cacherequests { { std::vector<std::optional<GetCacheRecordResult>> Results; - bool Parse(const CbPackage& Package); + bool Parse(const CbPackage& Package, const std::span<const size_t> OptionalRecordResultIndexes = {}); bool Format(CbPackage& OutPackage) const; }; @@ -194,7 +194,7 @@ namespace cacherequests { { std::vector<CacheValueResult> Results; - bool Parse(const CbPackage& Package); + bool Parse(const CbPackage& Package, const std::span<const size_t> OptionalValueResultIndexes = {}); bool Format(CbPackage& OutPackage) const; }; |