The ZX Ecosystem v5.1.0;_GUI_v3.1.0
Loading...
Searching...
No Matches
Classes
Instantiated templates for the FIntTraits type

Description

FIntTraits collects diverse traits of the fixed integer types (see any instantiation).

Collaboration diagram for Instantiated templates for the FIntTraits type:

Classes

class  FIntTraits< T >
 Collect diverse traits for the fixed integer type T. More...
 
class  FIntTraits< uint8_t >
 FIntTraits for uint8_t. More...
 
class  FIntTraits< uint16_t >
 FIntTraits for uint16_t. More...
 
class  FIntTraits< uint32_t >
 FIntTraits for uint32_t. More...
 
class  FIntTraits< uint64_t >
 FIntTraits for uint64_t. More...
 
class  FIntTraits< int8_t >
 FIntTraits for int8_t. More...
 
class  FIntTraits< int16_t >
 FIntTraits for int16_t. More...
 
class  FIntTraits< int32_t >
 FIntTraits for int32_t. More...
 
class  FIntTraits< int64_t >
 FIntTraits for int64_t. More...
 

Class Documentation

◆ FIntTraits

class FIntTraits
template<typename T>
class FIntTraits< T >

Collect diverse traits for the fixed integer type T.

This is the default case: undefined traits.

Definition at line 123 of file CppAddons.h.

◆ FIntTraits< uint8_t >

class FIntTraits< uint8_t >

FIntTraits for uint8_t.

Definition at line 129 of file CppAddons.h.

Public Types

typedef uint8_t type
 Specialized type itself. More...
 

Static Public Attributes

static constexpr unsigned char sizeinbits = 8
 Size in bits. More...
 
static constexpr type minval = 0
 Min. value that the type can hold. More...
 
static constexpr type maxval = UINT8_MAX
 Max. val. it can hold. More...
 

Member Typedef Documentation

◆ type

typedef uint8_t FIntTraits< uint8_t >::type

Specialized type itself.

Definition at line 133 of file CppAddons.h.

Member Data Documentation

◆ sizeinbits

constexpr unsigned char FIntTraits< uint8_t >::sizeinbits = 8
staticconstexpr

Size in bits.

Definition at line 134 of file CppAddons.h.

◆ minval

constexpr type FIntTraits< uint8_t >::minval = 0
staticconstexpr

Min. value that the type can hold.

Definition at line 135 of file CppAddons.h.

◆ maxval

constexpr type FIntTraits< uint8_t >::maxval = UINT8_MAX
staticconstexpr

Max. val. it can hold.

Definition at line 136 of file CppAddons.h.

◆ FIntTraits< uint16_t >

class FIntTraits< uint16_t >

FIntTraits for uint16_t.

Definition at line 141 of file CppAddons.h.

Public Types

typedef uint16_t type
 Specialized type itself. More...
 

Static Public Attributes

static constexpr unsigned char sizeinbits = 16
 Size in bits. More...
 
static constexpr type minval = 0
 Min. value that the type can hold. More...
 
static constexpr type maxval = UINT16_MAX
 Max. val. it can hold. More...
 

Member Typedef Documentation

◆ type

typedef uint16_t FIntTraits< uint16_t >::type

Specialized type itself.

Definition at line 145 of file CppAddons.h.

Member Data Documentation

◆ sizeinbits

constexpr unsigned char FIntTraits< uint16_t >::sizeinbits = 16
staticconstexpr

Size in bits.

Definition at line 146 of file CppAddons.h.

◆ minval

constexpr type FIntTraits< uint16_t >::minval = 0
staticconstexpr

Min. value that the type can hold.

Definition at line 147 of file CppAddons.h.

◆ maxval

constexpr type FIntTraits< uint16_t >::maxval = UINT16_MAX
staticconstexpr

Max. val. it can hold.

Definition at line 148 of file CppAddons.h.

◆ FIntTraits< uint32_t >

class FIntTraits< uint32_t >

FIntTraits for uint32_t.

Definition at line 153 of file CppAddons.h.

Public Types

typedef uint32_t type
 Specialized type itself. More...
 

Static Public Attributes

static constexpr unsigned char sizeinbits = 32
 Size in bits. More...
 
static constexpr type minval = 0
 Min. value that the type can hold. More...
 
static constexpr type maxval = UINT32_MAX
 Max. val. it can hold. More...
 

Member Typedef Documentation

◆ type

typedef uint32_t FIntTraits< uint32_t >::type

Specialized type itself.

Definition at line 157 of file CppAddons.h.

Member Data Documentation

◆ sizeinbits

constexpr unsigned char FIntTraits< uint32_t >::sizeinbits = 32
staticconstexpr

Size in bits.

Definition at line 158 of file CppAddons.h.

◆ minval

constexpr type FIntTraits< uint32_t >::minval = 0
staticconstexpr

Min. value that the type can hold.

Definition at line 159 of file CppAddons.h.

◆ maxval

constexpr type FIntTraits< uint32_t >::maxval = UINT32_MAX
staticconstexpr

Max. val. it can hold.

Definition at line 160 of file CppAddons.h.

◆ FIntTraits< uint64_t >

class FIntTraits< uint64_t >

FIntTraits for uint64_t.

Definition at line 165 of file CppAddons.h.

Public Types

typedef uint64_t type
 Specialized type itself. More...
 

Static Public Attributes

static constexpr unsigned char sizeinbits = 64
 Size in bits. More...
 
static constexpr type minval = 0
 Min. value that the type can hold. More...
 
static constexpr type maxval = UINT64_MAX
 Max. val. it can hold. More...
 

Member Typedef Documentation

◆ type

typedef uint64_t FIntTraits< uint64_t >::type

Specialized type itself.

Definition at line 169 of file CppAddons.h.

Member Data Documentation

◆ sizeinbits

constexpr unsigned char FIntTraits< uint64_t >::sizeinbits = 64
staticconstexpr

Size in bits.

Definition at line 170 of file CppAddons.h.

◆ minval

constexpr type FIntTraits< uint64_t >::minval = 0
staticconstexpr

Min. value that the type can hold.

Definition at line 171 of file CppAddons.h.

◆ maxval

constexpr type FIntTraits< uint64_t >::maxval = UINT64_MAX
staticconstexpr

Max. val. it can hold.

Definition at line 172 of file CppAddons.h.

◆ FIntTraits< int8_t >

class FIntTraits< int8_t >

FIntTraits for int8_t.

Definition at line 177 of file CppAddons.h.

Public Types

typedef int8_t type
 Specialized type itself. More...
 

Static Public Attributes

static constexpr unsigned char sizeinbits = 8
 Size in bits. More...
 
static constexpr type minval = INT8_MIN
 Min. value the type can hold. More...
 
static constexpr type maxval = INT8_MAX
 Max. val. it can hold. More...
 

Member Typedef Documentation

◆ type

typedef int8_t FIntTraits< int8_t >::type

Specialized type itself.

Definition at line 181 of file CppAddons.h.

Member Data Documentation

◆ sizeinbits

constexpr unsigned char FIntTraits< int8_t >::sizeinbits = 8
staticconstexpr

Size in bits.

Definition at line 182 of file CppAddons.h.

◆ minval

constexpr type FIntTraits< int8_t >::minval = INT8_MIN
staticconstexpr

Min. value the type can hold.

Definition at line 183 of file CppAddons.h.

◆ maxval

constexpr type FIntTraits< int8_t >::maxval = INT8_MAX
staticconstexpr

Max. val. it can hold.

Definition at line 184 of file CppAddons.h.

◆ FIntTraits< int16_t >

class FIntTraits< int16_t >

FIntTraits for int16_t.

Definition at line 189 of file CppAddons.h.

Public Types

typedef int16_t type
 Specialized type itself. More...
 

Static Public Attributes

static constexpr unsigned char sizeinbits = 16
 Size in bits. More...
 
static constexpr type minval = INT16_MIN
 Min. value the type can hold. More...
 
static constexpr type maxval = INT16_MAX
 Max. val. it can hold. More...
 

Member Typedef Documentation

◆ type

typedef int16_t FIntTraits< int16_t >::type

Specialized type itself.

Definition at line 193 of file CppAddons.h.

Member Data Documentation

◆ sizeinbits

constexpr unsigned char FIntTraits< int16_t >::sizeinbits = 16
staticconstexpr

Size in bits.

Definition at line 194 of file CppAddons.h.

◆ minval

constexpr type FIntTraits< int16_t >::minval = INT16_MIN
staticconstexpr

Min. value the type can hold.

Definition at line 195 of file CppAddons.h.

◆ maxval

constexpr type FIntTraits< int16_t >::maxval = INT16_MAX
staticconstexpr

Max. val. it can hold.

Definition at line 196 of file CppAddons.h.

◆ FIntTraits< int32_t >

class FIntTraits< int32_t >

FIntTraits for int32_t.

Definition at line 201 of file CppAddons.h.

Public Types

typedef int32_t type
 Specialized type itself. More...
 

Static Public Attributes

static constexpr unsigned char sizeinbits = 32
 Size in bits. More...
 
static constexpr type minval = INT32_MIN
 Min. value the type can hold. More...
 
static constexpr type maxval = INT32_MAX
 Max. val. it can hold. More...
 

Member Typedef Documentation

◆ type

typedef int32_t FIntTraits< int32_t >::type

Specialized type itself.

Definition at line 205 of file CppAddons.h.

Member Data Documentation

◆ sizeinbits

constexpr unsigned char FIntTraits< int32_t >::sizeinbits = 32
staticconstexpr

Size in bits.

Definition at line 206 of file CppAddons.h.

◆ minval

constexpr type FIntTraits< int32_t >::minval = INT32_MIN
staticconstexpr

Min. value the type can hold.

Definition at line 207 of file CppAddons.h.

◆ maxval

constexpr type FIntTraits< int32_t >::maxval = INT32_MAX
staticconstexpr

Max. val. it can hold.

Definition at line 208 of file CppAddons.h.

◆ FIntTraits< int64_t >

class FIntTraits< int64_t >

FIntTraits for int64_t.

Definition at line 213 of file CppAddons.h.

Public Types

typedef int64_t type
 Specialized type itself. More...
 

Static Public Attributes

static constexpr unsigned char sizeinbits = 64
 Size in bits. More...
 
static constexpr type minval = INT64_MIN
 Min. value the type can hold. More...
 
static constexpr type maxval = INT64_MAX
 Max. val. it can hold. More...
 

Member Typedef Documentation

◆ type

typedef int64_t FIntTraits< int64_t >::type

Specialized type itself.

Definition at line 217 of file CppAddons.h.

Member Data Documentation

◆ sizeinbits

constexpr unsigned char FIntTraits< int64_t >::sizeinbits = 64
staticconstexpr

Size in bits.

Definition at line 218 of file CppAddons.h.

◆ minval

constexpr type FIntTraits< int64_t >::minval = INT64_MIN
staticconstexpr

Min. value the type can hold.

Definition at line 219 of file CppAddons.h.

◆ maxval

constexpr type FIntTraits< int64_t >::maxval = INT64_MAX
staticconstexpr

Max. val. it can hold.

Definition at line 220 of file CppAddons.h.