PLCnext API Documentation 23.0.2.9
PrimitiveTypes.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
7#include <cstdint>
8#include <limits>
9
10#ifndef ARP_INSIDE_ARP_H
11 #error Never include 'TypeSystem.h' directly, just include 'Arp.h'
12#endif
13
14namespace Arp
15{
16
19
21using boolean = bool;
23using byte = unsigned char;
25using sbyte = signed char;
27using uint8 = std::uint8_t;
29using int8 = std::int8_t;
31using uint16 = std::uint16_t;
33using int16 = std::int16_t;
35using uint32 = std::uint32_t;
37using int32 = std::int32_t;
39using uint64 = std::uint64_t;
41using int64 = std::int64_t;
43using float32 = float;
45using float64 = double;
47using char8 = char;
49using char16 = char16_t;
50
52
53} // end of namespace Arp
std::uint64_t uint64
The Arp unsigned integer type of 8 byte size.
Definition: PrimitiveTypes.hpp:39
double float64
The Arp floating point numbers type of 8 byte size.
Definition: PrimitiveTypes.hpp:45
unsigned char byte
The Arp character type.
Definition: PrimitiveTypes.hpp:23
char16_t char16
The Arp character type of 2 byte size.
Definition: PrimitiveTypes.hpp:49
bool boolean
The Arp boolean type.
Definition: PrimitiveTypes.hpp:21
signed char sbyte
The Arp signed byte type.
Definition: PrimitiveTypes.hpp:25
std::int64_t int64
The Arp integer type of 8 byte size.
Definition: PrimitiveTypes.hpp:41
float float32
The Arp floating point numbers type of 4 byte size.
Definition: PrimitiveTypes.hpp:43
char char8
The Arp character type of 1 byte size.
Definition: PrimitiveTypes.hpp:47
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:35
std::int8_t int8
The Arp integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:29
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:31
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:27
std::int32_t int32
The Arp integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:37
std::int16_t int16
The Arp integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:33
Root namespace for the PLCnext API