Functions
el::base::utils::bitwise Namespace Reference

Bitwise operations for C++11 strong enum class. This casts e into Flag_T and returns value after bitwise operation Use these function as. More...

Functions

template<typename Enum >
static base::type::EnumType And (Enum e, base::type::EnumType flag)
 
template<typename Enum >
static base::type::EnumType Not (Enum e, base::type::EnumType flag)
 
template<typename Enum >
static base::type::EnumType Or (Enum e, base::type::EnumType flag)
 

Detailed Description

Bitwise operations for C++11 strong enum class. This casts e into Flag_T and returns value after bitwise operation Use these function as.

flag = bitwise::Or<MyEnum>(MyEnum::val1, flag);

Function Documentation

template<typename Enum >
static base::type::EnumType el::base::utils::bitwise::And ( Enum  e,
base::type::EnumType  flag 
)
inlinestatic

Definition at line 861 of file easylogging++.h.

template<typename Enum >
static base::type::EnumType el::base::utils::bitwise::Not ( Enum  e,
base::type::EnumType  flag 
)
inlinestatic

Definition at line 865 of file easylogging++.h.

template<typename Enum >
static base::type::EnumType el::base::utils::bitwise::Or ( Enum  e,
base::type::EnumType  flag 
)
inlinestatic

Definition at line 869 of file easylogging++.h.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36