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

Covers unowned pointers owned by either the ORT or some other instance of CPP wrappers. Used for ConstXXX and UnownedXXXX types that are copyable. Also convenient to wrap raw OrtXX pointers . More...

#include <onnxruntime_cxx_api.h>

Public Types

using contained_type = typename Unowned< T >::Type
 

Public Member Functions

constexpr Base ()=default
 
constexpr Base (contained_type *p) noexcept
 
 ~Base ()=default
 
 Base (const Base &)=default
 
Baseoperator= (const Base &)=default
 
 Base (Base &&v) noexcept
 
Baseoperator= (Base &&v) noexcept
 
constexpr operator contained_type * () const noexcept
 

Protected Attributes

contained_typep_ {}
 

Detailed Description

template<typename T>
struct Ort::detail::Base< Unowned< T > >

Covers unowned pointers owned by either the ORT or some other instance of CPP wrappers. Used for ConstXXX and UnownedXXXX types that are copyable. Also convenient to wrap raw OrtXX pointers .

Template Parameters
T

Definition at line 299 of file onnxruntime_cxx_api.h.

Member Typedef Documentation

template<typename T >
using Ort::detail::Base< Unowned< T > >::contained_type = typename Unowned<T>::Type

Definition at line 300 of file onnxruntime_cxx_api.h.

Constructor & Destructor Documentation

template<typename T >
constexpr Ort::detail::Base< Unowned< T > >::Base ( )
default
template<typename T >
constexpr Ort::detail::Base< Unowned< T > >::Base ( contained_type p)
inlineexplicitnoexcept

Definition at line 303 of file onnxruntime_cxx_api.h.

template<typename T >
Ort::detail::Base< Unowned< T > >::~Base ( )
default
template<typename T >
Ort::detail::Base< Unowned< T > >::Base ( const Base< Unowned< T > > &  )
default
template<typename T >
Ort::detail::Base< Unowned< T > >::Base ( Base< Unowned< T > > &&  v)
inlinenoexcept

Definition at line 310 of file onnxruntime_cxx_api.h.

Member Function Documentation

template<typename T >
constexpr Ort::detail::Base< Unowned< T > >::operator contained_type * ( ) const
inlinenoexcept

Definition at line 317 of file onnxruntime_cxx_api.h.

template<typename T >
Base& Ort::detail::Base< Unowned< T > >::operator= ( const Base< Unowned< T > > &  )
default
template<typename T >
Base& Ort::detail::Base< Unowned< T > >::operator= ( Base< Unowned< T > > &&  v)
inlinenoexcept

Definition at line 311 of file onnxruntime_cxx_api.h.

Member Data Documentation

template<typename T >
contained_type* Ort::detail::Base< Unowned< T > >::p_ {}
protected

Definition at line 320 of file onnxruntime_cxx_api.h.


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