Stay organized with collections
Save and categorize content based on your preferences.
litert::OpaqueOptions
#include <litert_opaque_options.h>
A C++ wrapper for LiteRtOpaqueOptions, providing a way to manage and access type-erased configuration data.
Summary
Inheritance
Inherits from: internal::BaseHandle< LiteRtOpaqueOptions >
Public static functions
|
Create(const std::string & payload_identifier, void *payload_data, void(*)(void *payload_data) payload_destructor)
|
|
WrapCObject(LiteRtOpaqueOptions options, OwnHandle owned)
|
|
Protected functions
|
OpaqueOptions(LiteRtOpaqueOptions options, OwnHandle owned)
|
|
Public types
Friend classes
RuntimeOptions
friend class RuntimeOptions
Public functions
GetIdentifier
Expected< absl::string_view > GetIdentifier() const
OpaqueOptions
OpaqueOptions()=default
SetHash
Expected< void > SetHash(
LiteRtOpaqueOptionsHashFunc payload_hash_func
)
Public static functions
Create
Expected< OpaqueOptions > Create(
const std::string & payload_identifier,
void *payload_data,
void(*)(void *payload_data) payload_destructor
)
WrapCObject
OpaqueOptions WrapCObject(
LiteRtOpaqueOptions options,
OwnHandle owned
)
Protected functions
OpaqueOptions
OpaqueOptions(
LiteRtOpaqueOptions options,
OwnHandle owned
)
| Details |
| Parameters |
owned
|
Indicates if the created AcceleratorCompilationOptions object should take ownership of the provided options handle.
|
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-28 UTC.
[null,null,["Last updated 2026-05-28 UTC."],[],[]]