|
25.11
|
Very basic type safe variant. More...
#include <BackendOptions.hpp>
Public Member Functions | |
| Var (int i) | |
| Constructors. | |
| Var (unsigned int u) | |
| Var (float f) | |
| Var (bool b) | |
| Var (const char *s) | |
| Var (std::string s) | |
| template<typename DisallowedType> | |
| Var (DisallowedType) | |
| Disallow implicit conversions from types not explicitly allowed below. | |
| Var (const Var &other) | |
| Copy Construct. | |
| Var & | operator= (const Var &other) |
| Copy operator. | |
| bool | IsBool () const |
| Type getters. | |
| bool | IsInt () const |
| bool | IsUnsignedInt () const |
| bool | IsFloat () const |
| bool | IsString () const |
| bool | AsBool () const |
| Value getters. | |
| int | AsInt () const |
| unsigned int | AsUnsignedInt () const |
| float | AsFloat () const |
| std::string | AsString () const |
| std::string | ToString () |
| ~Var () | |
| Destructor. | |
Very basic type safe variant.
Definition at line 38 of file BackendOptions.hpp.
|
inlineexplicit |
Constructors.
Definition at line 43 of file BackendOptions.hpp.
Referenced by operator=(), and Var().
|
inlineexplicit |
Definition at line 44 of file BackendOptions.hpp.
|
inlineexplicit |
Definition at line 45 of file BackendOptions.hpp.
|
inlineexplicit |
Definition at line 46 of file BackendOptions.hpp.
|
inlineexplicit |
Definition at line 47 of file BackendOptions.hpp.
|
inlineexplicit |
Definition at line 48 of file BackendOptions.hpp.
|
inline |
Disallow implicit conversions from types not explicitly allowed below.
Definition at line 52 of file BackendOptions.hpp.
Copy Construct.
Definition at line 59 of file BackendOptions.hpp.
References Var().
|
inline |
Destructor.
Definition at line 138 of file BackendOptions.hpp.
|
inline |
Value getters.
Definition at line 119 of file BackendOptions.hpp.
References IsBool().
Referenced by armnn::CheckFastMathSupport(), armnn::HasMatchingCapability(), armnn::ParseBooleanBackendOption(), and ToString().
|
inline |
Definition at line 122 of file BackendOptions.hpp.
References IsFloat().
Referenced by armnn::HasMatchingCapability(), and ToString().
|
inline |
Definition at line 120 of file BackendOptions.hpp.
References IsInt().
Referenced by armnn::HasMatchingCapability(), armnn::ParseIntBackendOption(), armnn::ParseTuningLevel(), and ToString().
|
inline |
Definition at line 123 of file BackendOptions.hpp.
References IsString().
Referenced by armnn::HasMatchingCapability(), armnn::ParseStringBackendOption(), and ToString().
|
inline |
Definition at line 121 of file BackendOptions.hpp.
References IsUnsignedInt().
Referenced by armnn::HasMatchingCapability(), and ToString().
|
inline |
Type getters.
Definition at line 112 of file BackendOptions.hpp.
Referenced by AsBool(), armnn::HasMatchingCapability(), armnn::ParseBooleanBackendOption(), and ToString().
|
inline |
Definition at line 115 of file BackendOptions.hpp.
Referenced by AsFloat(), armnn::HasMatchingCapability(), and ToString().
|
inline |
Definition at line 113 of file BackendOptions.hpp.
Referenced by AsInt(), armnn::HasMatchingCapability(), armnn::ParseIntBackendOption(), armnn::ParseTuningLevel(), and ToString().
|
inline |
Definition at line 116 of file BackendOptions.hpp.
Referenced by AsString(), armnn::HasMatchingCapability(), armnn::ParseStringBackendOption(), and ToString().
|
inline |
Definition at line 114 of file BackendOptions.hpp.
Referenced by AsUnsignedInt(), armnn::HasMatchingCapability(), and ToString().
Copy operator.
Definition at line 81 of file BackendOptions.hpp.
References Var().
|
inline |
Definition at line 124 of file BackendOptions.hpp.
References AsBool(), AsFloat(), AsInt(), AsString(), AsUnsignedInt(), IsBool(), IsFloat(), IsInt(), IsString(), and IsUnsignedInt().
Referenced by OptimizerOptions::ToString(), and OptimizerOptionsOpaque::ToString().