HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ort::detail::ConstSessionOptionsImpl< T > Struct Template Reference

#include <onnxruntime_cxx_api.h>

+ Inheritance diagram for Ort::detail::ConstSessionOptionsImpl< T >:

Public Types

using B = Base< T >
 
- Public Types inherited from Ort::detail::Base< T >
using contained_type = T
 

Public Member Functions

SessionOptions Clone () const
 Creates and returns a copy of this SessionOptions object. Wraps OrtApi::CloneSessionOptions. More...
 
std::string GetConfigEntry (const char *config_key) const
 Wraps OrtApi::GetSessionConfigEntry. More...
 
bool HasConfigEntry (const char *config_key) const
 Wraps OrtApi::HasSessionConfigEntry. More...
 
std::string GetConfigEntryOrDefault (const char *config_key, const std::string &def)
 
- Public Member Functions inherited from Ort::detail::Base< T >
constexpr Base ()=default
 
constexpr Base (contained_type *p) noexcept
 
 ~Base ()
 
 Base (const Base &)=delete
 
Baseoperator= (const Base &)=delete
 
 Base (Base &&v) noexcept
 
Baseoperator= (Base &&v) noexcept
 
constexpr operator contained_type * () const noexcept
 
contained_typerelease ()
 Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. More...
 

Additional Inherited Members

- Protected Attributes inherited from Ort::detail::Base< T >
contained_typep_ {}
 

Detailed Description

template<typename T>
struct Ort::detail::ConstSessionOptionsImpl< T >

Definition at line 829 of file onnxruntime_cxx_api.h.

Member Typedef Documentation

template<typename T>
using Ort::detail::ConstSessionOptionsImpl< T >::B = Base<T>

Definition at line 830 of file onnxruntime_cxx_api.h.

Member Function Documentation

template<typename T >
Ort::SessionOptions Ort::detail::ConstSessionOptionsImpl< T >::Clone ( ) const
inline

Creates and returns a copy of this SessionOptions object. Wraps OrtApi::CloneSessionOptions.

Definition at line 605 of file onnxruntime_cxx_inline.h.

template<typename T >
std::string Ort::detail::ConstSessionOptionsImpl< T >::GetConfigEntry ( const char *  config_key) const
inline

Wraps OrtApi::GetSessionConfigEntry.

Definition at line 612 of file onnxruntime_cxx_inline.h.

template<typename T >
std::string Ort::detail::ConstSessionOptionsImpl< T >::GetConfigEntryOrDefault ( const char *  config_key,
const std::string def 
)
inline

Definition at line 633 of file onnxruntime_cxx_inline.h.

template<typename T >
bool Ort::detail::ConstSessionOptionsImpl< T >::HasConfigEntry ( const char *  config_key) const
inline

Wraps OrtApi::HasSessionConfigEntry.

Definition at line 626 of file onnxruntime_cxx_inline.h.


The documentation for this struct was generated from the following files: