ASNA.QSys.Runtime Structs
Estimated reading time: 3 minutes
Remarks
The ASNA.QSys.Runtime assembly contains a collection of structs that are used throughout the ASNA QSys system. These structs are value types that encapsulate small groups of related variables, such as the parameters of a method or the elements of a data structure.
These structs cover a wide range of functionalities, from defining fixed-size arrays of various data types, to holding fixed-date, fixed-time, and fixed-timestamp values in specified formats, to representing IBM i RPG Indicators.
Here are some key points to remember when working with these structs:
- Efficiency: Structs are value types and are typically more efficient than classes when they encapsulate small amounts of data.
- Immutability: Structs are immutable by default, which can make your code safer and easier to reason about.
- Data Structures: Many of these structs are used to define data structures, making it easier to work with complex data in a structured way.
Remember to refer to the individual struct documentation for specific details about each struct’s fields, properties, methods, and usage.
| Type | Description |
|---|---|
| CharArray<T> | Represents a unidimensional fixed-size array of characters. |
| CharArrayInDS<T> | Describes a fixed size array of characters contained in a DataStructure. |
| FixedArray<T1, T2> | Defines the functionality of a fixed-sized unidimensional array. |
| FixedDate<T1, T2> | Holds a fixed-date value in the specified format and with the given separator. |
| FixedDateArray<T1, T2, T3> | Defines the functionality of a fixed-sized unidimensional array of FixedDate elements. |
| FixedDateArrayInDS<T1, T2, T3> | Describes a fixed size array of FixedDate contained in a DataStructure. |
| FixedDecimal<T1, T2> | Holds a fixed-decimal value with the specified number of digits and decimal positions. |
| FixedDecimalArray<T1, T2, T3> | Defines the functionality of a fixed-sized unidimensional array of FixedDecimal elements. |
| FixedDecimalArrayInDS<T1, T2, T3> | Describes a fixed size array of FixedDecimal contained in a DataStructure. |
| FixedString<T> | Holds a fixed-string value with the specified length. |
| FixedStringArray<T1, T2> | Defines the functionality of a fixed-sized unidimensional array of FixedString elements. |
| FixedStringArrayInDS<T1, T2> | Describes a fixed size array of FixedString contained in a DataStructure. |
| FixedTime<T1, T2> | Holds a fixed-time value in the specified format and with the given separator. |
| FixedTimeArray<T1, T2, T3> | Defines the functionality of a fixed-sized unidimensional array of FixedTime elements. |
| FixedTimeArrayInDS<T1, T2, T3> | Describes a fixed size array of FixedTime contained in a DataStructure. |
| FixedTimestamp<T> | Holds a fixed-timestamp value with the given separator. |
| FixedTimestampArray<T1, T2> | Defines the functionality of a fixed-sized unidimensional array of FixedTimestamp elements. |
| FixedTimestampArrayInDS<T1, T2> | Describes a fixed size array of FixedTimestamp contained in a DataStructure. |
| Indicator | This class represents an IBM i RPG Indicator. |
| IndicatorArray<T> | Defines the functionality of a fixed-sized unidimensional array of Indicator elements. |
| IndicatorArrayInDS<T> | Describes a fixed size array of Indicators contained in a DataStructure. |
| IntArrayInDS<T> | Describes a fixed size array of integers contained in a DataStructure. |
| Layout | Defines a layout for a field in a data structure. |
| LongArrayInDS<T> | Describes a fixed size array of long numbers contained in a DataStructure. |
| ShortArrayInDS<T> | Describes a fixed size array of short numbers contained in a DataStructure. |