diff --git a/common/ZeroCopyReturnValue.cpp b/common/ZeroCopyReturnValue.cpp index 9e7f3e85..5f376f7a 100644 --- a/common/ZeroCopyReturnValue.cpp +++ b/common/ZeroCopyReturnValue.cpp @@ -42,3 +42,7 @@ void ZeroCopyReturnValue::SetIndexed(bool input) { bool ZeroCopyReturnValue::IsIndexed() const { return indexed; } + +uint32_t ZeroCopyReturnValue::GetHandle() const { + return handle; +} diff --git a/common/ZeroCopyReturnValue.h b/common/ZeroCopyReturnValue.h index 1f774407..11e5de0d 100644 --- a/common/ZeroCopyReturnValue.h +++ b/common/ZeroCopyReturnValue.h @@ -23,6 +23,7 @@ public: void SetIndexed(bool input); void *GetImage() const; + [[nodiscard]] uint32_t GetHandle() const; [[nodiscard]] size_t GetImageSize() const; [[nodiscard]] int64_t GetImageNumber() const; [[nodiscard]] bool IsIndexed() const;