PLCnext API Documentation 25.0.2.69
Public Member Functions | Public Attributes | List of all members
Arp::Base::Rsc::Commons::RscArrayInfo Class Reference

Contains information to marshal dynamic arrays. More...

#include <RscArrayInfo.hpp>

Public Member Functions

 RscArrayInfo (size_t dimensions=1)
 The default constructor constructs an empty instance of type RscArrayInfo. More...
 
 RscArrayInfo (size_t size, RscType elementType, size_t dimensions=1, size_t fieldCount=0)
 Constructs a completely initialized instance of type RscArrayInfo. More...
 

Public Attributes

size_t Size = 0
 The count of array elements.
 
size_t Dimensions = 1
 The array dimensions, the default is 1.
 
size_t FieldCount = 0
 The count of Fields of struct element type, if the array consists of structs.
 
RscType ElementType = RscType::None
 The array element type.
 

Detailed Description

Contains information to marshal dynamic arrays.

Constructor & Destructor Documentation

◆ RscArrayInfo() [1/2]

Arp::Base::Rsc::Commons::RscArrayInfo::RscArrayInfo ( size_t  dimensions = 1)
explicit

The default constructor constructs an empty instance of type RscArrayInfo.

Parameters
dimensionsThe dimension of the array, the default is 1.

◆ RscArrayInfo() [2/2]

Arp::Base::Rsc::Commons::RscArrayInfo::RscArrayInfo ( size_t  size,
RscType  elementType,
size_t  dimensions = 1,
size_t  fieldCount = 0 
)

Constructs a completely initialized instance of type RscArrayInfo.

Parameters
sizeThe array size.
elementTypeThe element type of the array.
dimensionsThe dimension of the array, the default is 1.
fieldCountIf the element type is struct, this value determines the number of fields of the struct type.

The documentation for this class was generated from the following files: