PLCnext API Documentation 24.0.0.71
PrimitiveTypes.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include <cstdint>
9#include <limits>
10
11#ifndef ARP_INSIDE_ARP_H
12 #error Never include 'TypeSystem.h' directly, just include 'Arp.h'
13#endif
14
15namespace Arp
16{
17
20
22using boolean = bool;
24using byte = unsigned char;
26using sbyte = signed char;
28using uint8 = std::uint8_t;
30using int8 = std::int8_t;
32using uint16 = std::uint16_t;
34using int16 = std::int16_t;
36using uint32 = std::uint32_t;
38using int32 = std::int32_t;
40using uint64 = std::uint64_t;
42using int64 = std::int64_t;
44using float32 = float;
46using float64 = double;
48using char8 = char;
50using char16 = char16_t;
51
53
54} // end of namespace Arp
std::uint64_t uint64
The Arp unsigned integer type of 8 byte size.
Definition: PrimitiveTypes.hpp:40
double float64
The Arp floating point numbers type of 8 byte size.
Definition: PrimitiveTypes.hpp:46
unsigned char byte
The Arp character type.
Definition: PrimitiveTypes.hpp:24
char16_t char16
The Arp character type of 2 byte size.
Definition: PrimitiveTypes.hpp:50
bool boolean
The Arp boolean type.
Definition: PrimitiveTypes.hpp:22
signed char sbyte
The Arp signed byte type.
Definition: PrimitiveTypes.hpp:26
std::int64_t int64
The Arp integer type of 8 byte size.
Definition: PrimitiveTypes.hpp:42
float float32
The Arp floating point numbers type of 4 byte size.
Definition: PrimitiveTypes.hpp:44
char char8
The Arp character type of 1 byte size.
Definition: PrimitiveTypes.hpp:48
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:36
std::int8_t int8
The Arp integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:30
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:32
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:28
std::int32_t int32
The Arp integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:38
std::int16_t int16
The Arp integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:34
Root namespace for the PLCnext API