ArmNN
 24.08
BackendOptions::BackendOption Struct Reference

#include <BackendOptions.hpp>

Public Member Functions

 BackendOption (std::string name, bool value)
 
 BackendOption (std::string name, int value)
 
 BackendOption (std::string name, unsigned int value)
 
 BackendOption (std::string name, float value)
 
 BackendOption (std::string name, std::string value)
 
 BackendOption (std::string name, const char *value)
 
template<typename DisallowedType >
 BackendOption (std::string, DisallowedType)
 
 BackendOption (const BackendOption &other)=default
 
 BackendOption (BackendOption &&other)=default
 
BackendOptionoperator= (const BackendOption &other)=default
 
BackendOptionoperator= (BackendOption &&other)=default
 
 ~BackendOption ()=default
 
std::string GetName () const
 
Var GetValue () const
 

Detailed Description

Definition at line 215 of file BackendOptions.hpp.

Constructor & Destructor Documentation

◆ BackendOption() [1/9]

BackendOption ( std::string  name,
bool  value 
)
inline

Definition at line 218 of file BackendOptions.hpp.

219  : m_Name(name), m_Value(value)
220  {}

◆ BackendOption() [2/9]

BackendOption ( std::string  name,
int  value 
)
inline

Definition at line 221 of file BackendOptions.hpp.

222  : m_Name(name), m_Value(value)
223  {}

◆ BackendOption() [3/9]

BackendOption ( std::string  name,
unsigned int  value 
)
inline

Definition at line 224 of file BackendOptions.hpp.

225  : m_Name(name), m_Value(value)
226  {}

◆ BackendOption() [4/9]

BackendOption ( std::string  name,
float  value 
)
inline

Definition at line 227 of file BackendOptions.hpp.

228  : m_Name(name), m_Value(value)
229  {}

◆ BackendOption() [5/9]

BackendOption ( std::string  name,
std::string  value 
)
inline

Definition at line 230 of file BackendOptions.hpp.

231  : m_Name(name), m_Value(value)
232  {}

◆ BackendOption() [6/9]

BackendOption ( std::string  name,
const char *  value 
)
inline

Definition at line 233 of file BackendOptions.hpp.

234  : m_Name(name), m_Value(value)
235  {}

◆ BackendOption() [7/9]

BackendOption ( std::string  ,
DisallowedType   
)
inline

Definition at line 238 of file BackendOptions.hpp.

239  : m_Value(0)
240  {
241  static_assert(CheckAllowed<DisallowedType>::value, "Type is not allowed for BackendOption.");
242  assert(false && "Unreachable code");
243  }

◆ BackendOption() [8/9]

BackendOption ( const BackendOption other)
default

◆ BackendOption() [9/9]

BackendOption ( BackendOption &&  other)
default

◆ ~BackendOption()

~BackendOption ( )
default

Member Function Documentation

◆ GetName()

std::string GetName ( ) const
inline

◆ GetValue()

Var GetValue ( ) const
inline

◆ operator=() [1/2]

BackendOption& operator= ( BackendOption &&  other)
default

◆ operator=() [2/2]

BackendOption& operator= ( const BackendOption other)
default

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