ONNX Runtime
Loading...
Searching...
No Matches
Ort::ValueInfo Struct Reference

Wrapper around OrtValueInfo. More...

#include <onnxruntime_cxx_api.h>

Inheritance diagram for Ort::ValueInfo:
Ort::detail::ValueInfoImpl< OrtValueInfo > Ort::detail::Base< T >

Public Member Functions

 ValueInfo (std::nullptr_t)
 
 ValueInfo (OrtValueInfo *p)
 Take ownership of a pointer created by C API.
 
 ValueInfo (const std::string &name, const ConstTypeInfo &type_info)
 
ConstValueInfo GetConst () const
 
- Public Member Functions inherited from Ort::detail::ValueInfoImpl< OrtValueInfo >
std::string Name () const
 
ConstTypeInfo TypeInfo () const
 
- 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.
 

Additional Inherited Members

- Public Types inherited from Ort::detail::ValueInfoImpl< OrtValueInfo >
using B = Ort::detail::Base< OrtValueInfo >
 
- Public Types inherited from Ort::detail::Base< T >
using contained_type = T
 
- Protected Attributes inherited from Ort::detail::Base< T >
contained_typep_ {}
 

Detailed Description

Wrapper around OrtValueInfo.

Constructor & Destructor Documentation

◆ ValueInfo() [1/3]

Ort::ValueInfo::ValueInfo ( std::nullptr_t  )
inlineexplicit

No instance is created

◆ ValueInfo() [2/3]

Ort::ValueInfo::ValueInfo ( OrtValueInfo p)
inlineexplicit

Take ownership of a pointer created by C API.

◆ ValueInfo() [3/3]

Ort::ValueInfo::ValueInfo ( const std::string &  name,
const ConstTypeInfo type_info 
)
explicit

Member Function Documentation

◆ GetConst()

ConstValueInfo Ort::ValueInfo::GetConst ( ) const
inline