cohtml::IDataStorageRequest
Encapsulates a data storage request.
#include <DataStorage.h>
Public Types
Section titled “Public Types”| Name | |
|---|---|
| enum | RequestType { Key, Value} |
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| IDataStorageRequest() | |
| virtual | ~IDataStorageRequest() |
| virtual RequestType | GetRequestType() const =0 Get the request type. |
| virtual const char * | GetId() const =0 The ID for which the data is requested. |
| virtual const char * | GetKey() const =0 The key for which the data is requested This should be called when the request type is RequestType::Value. |
| virtual unsigned long | GetIndex() const =0 The index for which the data is requested This should be called when the request type is RequestType::Key. |
Public Types Documentation
Section titled “Public Types Documentation”enum RequestType
Section titled “enum RequestType”| Enumerator | Value | Description |
|---|---|---|
| Key | ||
| Value |
Public Functions Documentation
Section titled “Public Functions Documentation”function IDataStorageRequest
Section titled “function IDataStorageRequest”IDataStorageRequest()function ~IDataStorageRequest
Section titled “function ~IDataStorageRequest”virtual ~IDataStorageRequest()function GetRequestType
Section titled “function GetRequestType”virtual RequestType GetRequestType() const =0Get the request type.
function GetId
Section titled “function GetId”virtual const char * GetId() const =0The ID for which the data is requested.
function GetKey
Section titled “function GetKey”virtual const char * GetKey() const =0The key for which the data is requested This should be called when the request type is RequestType::Value.
function GetIndex
Section titled “function GetIndex”virtual unsigned long GetIndex() const =0The index for which the data is requested This should be called when the request type is RequestType::Key.
© 2026 Coherent Labs. All rights reserved.