Support Class Library
A set of tools providing classes and utility
Typedefs
scl::alias Namespace Reference

Namespace for all the type aliases. More...

Typedefs

template<class Key , class Value , class... Ts>
using Map = std::unordered_map< Key, Value, Ts... >
 A collection of key-value pairs. More...
 
template<class Key , class Value , class... Ts>
using SortedMap = std::map< Key, Value, Ts... >
 A sorted collection of key-value pairs. More...
 
template<class Value , class... Ts>
using Set = std::unordered_set< Value, Ts... >
 A set of unique values. More...
 
template<class Value , class... Ts>
using SortedSet = std::set< Value, Ts... >
 A sorted set of unique values. More...
 
using uchar = unsigned char
 Unsigned character type. More...
 
using ushort = unsigned short
 Unsigned short integer. More...
 
using uint = unsigned int
 Unsigned integer. More...
 
using ulong = unsigned long
 Unsigned long integer. More...
 
using ullong = unsigned long long
 Unsigned long long integer. More...
 
using usize = std::size_t
 Unsigned size type. More...
 
using u8 = uint8_t
 8-bit unsigned integer More...
 
using u16 = uint16_t
 16-bit unsigned integer More...
 
using u32 = uint32_t
 32-bit unsigned integer More...
 
using u64 = uint64_t
 64-bit unsigned integer More...
 
using i8 = int8_t
 8-bit integer More...
 
using i16 = int16_t
 16-bit integer More...
 
using i32 = int32_t
 32-bit integer More...
 
using i64 = int64_t
 64-bit integer More...
 
using c16 = char16_t
 16-bit character More...
 
using c32 = char32_t
 32-bit character More...
 
using ldouble = long double
 Long double. More...
 
using nanoseconds = std::chrono::nanoseconds
 Duration in nanoseconds. More...
 
using microseconds = std::chrono::microseconds
 Duration in microseconds. More...
 
using milliseconds = std::chrono::milliseconds
 Duration in milliseconds. More...
 
using seconds = std::chrono::seconds
 Duration in seconds. More...
 
using minutes = std::chrono::minutes
 Duration in minutes. More...
 
using hours = std::chrono::hours
 Duration in hours. More...
 

Detailed Description

Namespace for all the type aliases.

Typedef Documentation

◆ c16

using scl::alias::c16 = typedef char16_t

16-bit character

Definition at line 115 of file aliases.h.

◆ c32

using scl::alias::c32 = typedef char32_t

32-bit character

Definition at line 120 of file aliases.h.

◆ hours

using scl::alias::hours = typedef std::chrono::hours

Duration in hours.

Definition at line 157 of file aliases.h.

◆ i16

using scl::alias::i16 = typedef int16_t

16-bit integer

Definition at line 100 of file aliases.h.

◆ i32

using scl::alias::i32 = typedef int32_t

32-bit integer

Definition at line 105 of file aliases.h.

◆ i64

using scl::alias::i64 = typedef int64_t

64-bit integer

Definition at line 110 of file aliases.h.

◆ i8

using scl::alias::i8 = typedef int8_t

8-bit integer

Definition at line 95 of file aliases.h.

◆ ldouble

using scl::alias::ldouble = typedef long double

Long double.

Definition at line 125 of file aliases.h.

◆ Map

template<class Key , class Value , class... Ts>
using scl::alias::Map = typedef std::unordered_map<Key, Value, Ts...>

A collection of key-value pairs.

Template Parameters
Keybeing the type of the keys
Valuebeing the type of the values

Definition at line 17 of file aliases.h.

◆ microseconds

using scl::alias::microseconds = typedef std::chrono::microseconds

Duration in microseconds.

Definition at line 135 of file aliases.h.

◆ milliseconds

using scl::alias::milliseconds = typedef std::chrono::milliseconds

Duration in milliseconds.

Definition at line 141 of file aliases.h.

◆ minutes

using scl::alias::minutes = typedef std::chrono::minutes

Duration in minutes.

Definition at line 152 of file aliases.h.

◆ nanoseconds

using scl::alias::nanoseconds = typedef std::chrono::nanoseconds

Duration in nanoseconds.

Definition at line 130 of file aliases.h.

◆ seconds

using scl::alias::seconds = typedef std::chrono::seconds

Duration in seconds.

Definition at line 147 of file aliases.h.

◆ Set

template<class Value , class... Ts>
using scl::alias::Set = typedef std::unordered_set<Value, Ts...>

A set of unique values.

Template Parameters
Valuebeing the type of values stored

Definition at line 32 of file aliases.h.

◆ SortedMap

template<class Key , class Value , class... Ts>
using scl::alias::SortedMap = typedef std::map<Key, Value, Ts...>

A sorted collection of key-value pairs.

Template Parameters
Keybeing the type of the keys (used for sorting)
Valuebeing the type of the values

Definition at line 25 of file aliases.h.

◆ SortedSet

template<class Value , class... Ts>
using scl::alias::SortedSet = typedef std::set<Value, Ts...>

A sorted set of unique values.

Template Parameters
Valuebeing the type of values stored (used for sorting)

Definition at line 39 of file aliases.h.

◆ u16

using scl::alias::u16 = typedef uint16_t

16-bit unsigned integer

Definition at line 80 of file aliases.h.

◆ u32

using scl::alias::u32 = typedef uint32_t

32-bit unsigned integer

Definition at line 85 of file aliases.h.

◆ u64

using scl::alias::u64 = typedef uint64_t

64-bit unsigned integer

Definition at line 90 of file aliases.h.

◆ u8

using scl::alias::u8 = typedef uint8_t

8-bit unsigned integer

Definition at line 75 of file aliases.h.

◆ uchar

using scl::alias::uchar = typedef unsigned char

Unsigned character type.

Definition at line 45 of file aliases.h.

◆ uint

using scl::alias::uint = typedef unsigned int

Unsigned integer.

Definition at line 55 of file aliases.h.

◆ ullong

using scl::alias::ullong = typedef unsigned long long

Unsigned long long integer.

Definition at line 65 of file aliases.h.

◆ ulong

using scl::alias::ulong = typedef unsigned long

Unsigned long integer.

Definition at line 60 of file aliases.h.

◆ ushort

using scl::alias::ushort = typedef unsigned short

Unsigned short integer.

Definition at line 50 of file aliases.h.

◆ usize

using scl::alias::usize = typedef std::size_t

Unsigned size type.

Definition at line 70 of file aliases.h.