PLCnext API Documentation  22.9.0.33
Namespaces | Classes | Enumerations | Functions
Arp::Plc::Commons Namespace Reference

Namespace for classes shared between PLC components More...

Namespaces

 Domain
 Namespace for interfaces and classes of the PLC Domain
 
 Esm
 Namespace for interfaces and classes of Execution and Sychronization Manager (ESM)
 
 Gds
 Namespace for the Global Data Space (GDS)
 
 Meta
 Namespace for the Meta component
 

Classes

class  DataTypeEnum
 

Enumerations

enum class  DataType : uint32 {
  None = 0 , Void = 1 , Bit = 2 , Boolean = 3 ,
  UInt8 = 4 , Int8 = 5 , Char8 = 6 , Char16 = 7 ,
  UInt16 = 8 , Int16 = 9 , UInt32 = 10 , Int32 = 11 ,
  UInt64 = 12 , Int64 = 13 , Float32 = 14 , Float64 = 15 ,
  Primitive = 32 , DateTime = 33 , IecTime = 34 , IecTime64 = 35 ,
  IecDate = 36 , IecDate64 = 37 , IecDateTime = 38 , IecDateTime64 = 39 ,
  IecTimeOfDay = 40 , IecTimeOfDay64 = 41 , StaticString = 42 , IecString = 43 ,
  ClrString = 44 , String = 45 , StaticWString = 46 , IecWString = 47 ,
  Elementary = 64 , ArrayElement = 65 , Struct = 66 , Class = 67 ,
  FunctionBlock = 68 , Subsystem = 69 , Program = 70 , Component = 71 ,
  Library = 72 , Complex = 254 , Pointer = (1 << 9) , Array = (1 << 10) ,
  Enum = (1 << 11) , Reference = (1 << 12) , BaseTypeMask = 0x00FF
}
 

Functions

ARP_CXX_SYMBOL_EXPORT std::ostream & operator<< (std::ostream &os, DataType value)
 
ARP_CXX_SYMBOL_EXPORT std::istream & operator>> (std::istream &is, DataType &value)
 
constexpr DataType operator| (DataType lhs, DataType rhs)
 
constexpr DataType operator& (DataType lhs, DataType rhs)
 
constexpr DataType operator~ (DataType arg)
 
DataTypeoperator&= (DataType &lhs, DataType rhs)
 
DataTypeoperator|= (DataType &lhs, DataType rhs)
 

Detailed Description

Namespace for classes shared between PLC components

Enumeration Type Documentation

◆ DataType

Enumerator
None 

summary>Unspecified.

Void 

summary>Void - Arp C++ empty type

summary>Bit - Arp C++ data type (1 Byte)

Bit 

summary>Boolean - Arp C++ data type (1 Byte)

Boolean 

summary>UInt8 - Arp C++ data type (1 Byte)

UInt8 

summary>Int8 - Arp C++ data type (1 Byte)

Int8 

summary>Char8 - Arp C++ data type (1 Byte)

Char8 

summary>Char16 - Arp C++ data type (2 Byte)

Char16 

summary>UInt16 - Arp C++ data type (2 Byte)

UInt16 

summary>Int16 - Arp C++ data type (2 Byte)

Int16 

summary>UInt32 - Arp C++ data type (4 Byte)

UInt32 

summary>Int32 - Arp C++ data type (4 Byte)

Int32 

summary>UInt64 - Arp C++ data type (8 Byte)

UInt64 

summary>Int64 - Arp C++ data type (8 Byte)

Int64 

summary>Float32 - Arp C++ data type (4 Byte)

Float32 

summary>Float64 - Arp C++ data type (8 Byte)

Float64 

summary>Limit of primitive types.

DateTime 

summary>C++ DateTime type

summary>IEC type: TIME [int32]

IecTime 

summary>IEC type: LTIME [int64]

IecTime64 

summary>IEC type: DATE [N/A] remarks>Not supported by PCWE.

IecDate 

summary>IEC type: LDATE [int64]

IecDate64 

summary>IEC type: DATE_AND_TIME, DT [N/A] remarks>Not supported by PCWE.

IecDateTime 

summary>IEC type: LDATE_AND_TIME, LDT [int64]

IecDateTime64 

summary>IEC type: TIME_OF_DAY, TOD [N/A] remarks>Not supported by PCWE.

IecTimeOfDay 

summary>IEC type: LTIME_OF_DAY, LTOD [int64]

IecTimeOfDay64 

summary>Static String type

StaticString 

summary>Iec String type, only for internal use

IecString 

summary>.NET/C# String type, only for internal use (not supported yet)

ClrString 

summary>C++ String type, only for internal use (not supported yet)

String 

summary>Static Wide String type (UTF-16)

StaticWString 

summary>Iec Wide String type (UTF-16), only for internal use

IecWString 

summary>Limit of elementary types.

ArrayElement 

summary>ArrayOfArray

summary>Struct

Struct 

summary>Class

Class 

summary>Function Block

FunctionBlock 

summary>Subsystem

Subsystem 

summary>Program

Program 

summary>Component

Component 

summary>Library

Library 

summary>Limit of complex types.

Pointer 

summary>Determines a pointer type. remarks>Pointer are declared as Elementary kind.

summary>Determines an array type.

remarks>Arrays are declared as Elementary kind.

Array 

summary>Determines an Enumeration type. remarks>Enums are declared as Elementary kind.

Enum 

summary>Determines a C# reference type. remarks>References are declared as Elementary kind.

BaseTypeMask 

summary>For removing all flags