OnnxRuntime
Ort::MapTypeInfo Struct Reference

Wrapper around OrtMapTypeInfo. More...

#include <onnxruntime_cxx_api.h>

Inherits Ort::Base< OrtMapTypeInfo >.

Public Member Functions

 MapTypeInfo (std::nullptr_t)
 Create an empty MapTypeInfo object, must be assigned a valid one to be used. More...
 
 MapTypeInfo (OrtMapTypeInfo *p)
 Used for interop with the C API. More...
 
ONNXTensorElementDataType GetMapKeyType () const
 Wraps OrtApi::GetMapKeyType. More...
 
TypeInfo GetMapValueType () const
 Wraps OrtApi::GetMapValueType. More...
 
- Public Member Functions inherited from Ort::Base< OrtMapTypeInfo >
 Base ()=default
 
 Base (OrtMapTypeInfo *p)
 
 ~Base ()
 
 operator OrtMapTypeInfo * ()
 
 operator const OrtMapTypeInfo * () const
 
OrtMapTypeInforelease ()
 Releases ownership of the contained pointer. More...
 

Additional Inherited Members

- Public Types inherited from Ort::Base< OrtMapTypeInfo >
using contained_type = OrtMapTypeInfo
 
- Protected Member Functions inherited from Ort::Base< OrtMapTypeInfo >
 Base (const Base &)=delete
 
 Base (Base &&v) noexcept
 
Baseoperator= (const Base &)=delete
 
void operator= (Base &&v) noexcept
 
- Protected Attributes inherited from Ort::Base< OrtMapTypeInfo >
OrtMapTypeInfop_
 

Detailed Description

Wrapper around OrtMapTypeInfo.

Constructor & Destructor Documentation

◆ MapTypeInfo() [1/2]

Ort::MapTypeInfo::MapTypeInfo ( std::nullptr_t  )
inlineexplicit

Create an empty MapTypeInfo object, must be assigned a valid one to be used.

◆ MapTypeInfo() [2/2]

Ort::MapTypeInfo::MapTypeInfo ( OrtMapTypeInfo p)
inlineexplicit

Used for interop with the C API.

Member Function Documentation

◆ GetMapKeyType()

ONNXTensorElementDataType Ort::MapTypeInfo::GetMapKeyType ( ) const

◆ GetMapValueType()

TypeInfo Ort::MapTypeInfo::GetMapValueType ( ) const