ADTF
a_util Namespace Reference

Serves as the root component, with common functionality documented in core functionality. More...

Namespaces

 chrono
 Serves as component for code compatibility to std::chrono.
 
 concurrency
 Serves as component for concurrency handling, mainly but not exclusively for code compatibility to standard thread support.
 
 datetime
 Serves as component for date and time handling.
 
 experimental
 Serves as component for features which are considered experimental.
 
 filesystem
 Serves as component for path and filesystem functionality.
 
 logging
 Serves as component for basic logging functionality.
 
 memory
 Serves as component for memory access and management.
 
 parser
 Serves as component for common parsing functionality.
 
 preprocessor
 Solely used to structure documentation for preprocessor functionality.
 
 process
 Serves as component for interaction with operating system processes.
 
 regex
 Serves as component for regular expression functionality.
 
 result
 Serves as component for functionality handling error and return types.
 
 strings
 Serves as component for string handling and conversion functionality.
 
 system
 Serves as component for portable OS (Windows, Linux, ...) functionality.
 
 variant
 Serves as component for C++17 std::variant like functionality.
 
 xml
 Serves as component for handling XML.
 

Classes

class  ScopeGuard
 Scope guard executing a callable object of type F on scope exit. More...
 
struct  underlying_type_or_type
 Retrieves the underlying type if T is an enum, otherwise the type itself. More...
 
struct  underlying_type_or_type< T, true >
 Retrieves the underlying type of the enum type T. More...
 
struct  is_explicitly_convertible_to
 Checks if there is an explicitly defined conversion from U to T. More...
 

Typedefs

template<class T , bool is_enum = std::is_enum_v<T>>
using underlying_type_or_type_t = typename underlying_type_or_type< T, is_enum >::type
 Retrieves the underlying type if T is an enum, otherwise the type itself. More...
 

Enumerations

enum class  SortingOrder : std::int32_t { ascending = 0x00 , descending = 0x01 }
 Flags for functions that need to sort elements. More...
 

Functions

template<class F >
auto scopeExit (F &&f)
 Creates a scope guard executing callable f on scope exit. More...
 
template<typename T >
void maybe_unused (T &&)
 Mimics C++17 attribute maybe_unused to silence compiler warnings on potentially unused enitities. More...
 

Variables

template<class T , class U >
constexpr bool is_explicitly_convertible_to_v = is_explicitly_convertible_to<T, U>::value
 Helper variable template for is_explicitly_convertible_to. More...
 

Detailed Description

Serves as the root component, with common functionality documented in core functionality.

Enumeration Type Documentation

◆ SortingOrder

enum SortingOrder : std::int32_t
strong

Flags for functions that need to sort elements.

Enumerator
ascending 

Sort in ascending order.

descending 

Sort in descending order.

Definition at line 23 of file enums.h.