Namespaces | Classes | Functions
el::base::utils Namespace Reference

Namespace containing utility functions/static classes used internally. More...

Namespaces

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

Classes

class  AbstractRegistry
 Abstract registry (aka repository) that provides basic interface for pointer repository specified by T_Ptr type. More...
 
class  CommandLineArgs
 Command line arguments for application if specified using el::Helpers::setArgs(..) or START_EASYLOGGINGPP(..) More...
 
class  DateTime
 Contains utilities for cross-platform date/time. This class make use of el::base::utils::Str. More...
 
class  File
 
class  OS
 Operating System helper static class used internally. You should not use it. More...
 
class  Registry
 A pointer registry mechanism to manage memory and provide search functionalities. (non-predicate version) More...
 
class  RegistryWithPred
 A pointer registry mechanism to manage memory and provide search functionalities. (predicate version) More...
 
class  Str
 String utilities helper class used internally. You should not use it. More...
 
class  Utils
 

Functions

static void abort (int status, const std::string &reason)
 Aborts application due with user-defined status. More...
 
template<typename Enum >
static void addFlag (Enum e, base::type::EnumType *flag)
 
template<typename Enum >
static bool hasFlag (Enum e, base::type::EnumType flag)
 
base::type::ostream_toperator<< (base::type::ostream_t &os, const CommandLineArgs &c)
 
template<typename Enum >
static void removeFlag (Enum e, base::type::EnumType *flag)
 
template<typename T >
static std::enable_if< std::is_pointer< T * >::value, void >::type safeDelete (T *&pointer)
 Deletes memory safely and points to null. More...
 

Detailed Description

Namespace containing utility functions/static classes used internally.

Function Documentation

static void el::base::utils::abort ( int  status,
const std::string reason 
)
static

Aborts application due with user-defined status.

Definition at line 121 of file easylogging++.cc.

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

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

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

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

base::type::ostream_t& el::base::utils::operator<< ( base::type::ostream_t os,
const CommandLineArgs c 
)

Definition at line 1389 of file easylogging++.cc.

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

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

template<typename T >
static std::enable_if<std::is_pointer<T*>::value, void>::type el::base::utils::safeDelete ( T *&  pointer)
static

Deletes memory safely and points to null.

Definition at line 851 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