ADTF  3.15.1
a_util::variant Namespace Reference

Serves as component for C++17 std::variant like functionality. More...

Classes

class  Variant
 Container type, able to store any primitive data type (and arrays thereof) More...
 

Enumerations

enum  VariantType {
  VT_Empty = 0 , VT_Bool = 1 , VT_Int8 = 2 , VT_UInt8 = 3 ,
  VT_Int16 = 4 , VT_UInt16 = 5 , VT_Int32 = 6 , VT_UInt32 = 7 ,
  VT_Int64 = 8 , VT_UInt64 = 9 , VT_Float = 10 , VT_Double = 11 ,
  VT_String = 12 , VT_Float32 = VT_Float , VT_Float64 = VT_Double
}
 Enumeration of supported Variant types. More...
 

Functions

bool operator!= (const Variant &lhs, const Variant &rhs)
 Compare for inequality. More...
 

Detailed Description

Serves as component for C++17 std::variant like functionality.

Enumeration Type Documentation

◆ VariantType

Enumeration of supported Variant types.

Enumerator
VT_Empty 

Variant type is empty.

VT_Bool 

Variant type is bool.

VT_Int8 

Variant type is std::int8_t.

VT_UInt8 

Variant type is std::uint8_t.

VT_Int16 

Variant type is std::int16_t.

VT_UInt16 

Variant type is std::uint16_t.

VT_Int32 

Variant type is std::int32_t.

VT_UInt32 

Variant type is std::uint32_t.

VT_Int64 

Variant type is std::int64_t.

VT_UInt64 

Variant type is std::uint64_t.

VT_Float 

Variant type is float.

VT_Double 

Variant type is double.

VT_String 

Variant type is const char*.

VT_Float32 

Variant type is float.

VT_Float64 

Variant type is double.

Definition at line 30 of file conan_home_relwithdebinfo/.conan/data/dev_essential/1.2.1/fep/stable/package/5bba22a1f4e8057d230d54fdd86f43a9aa5ca5fe/include/a_util/variant/variant.h.

Function Documentation

◆ operator!=()

bool a_util::variant::operator!= ( const Variant lhs,
const Variant rhs 
)

Compare for inequality.

Parameters
[in]lhsLeft hand side operand
[in]rhsRight hand side operand
Returns
true if both are not equal, false otherwise