TType<T>
Provides type information for type T.
Definition
Unit: Neslib.Iceoryx2.System
Type Parameters
T:
Properties
| Name | Description |
|---|---|
| Align | The alignment for this type. Similar to C++'s "alignof()" intrinsic. |
| IsSlice | Whether this type is a slice (TSlice |
| Name | The Rust and C++ compatible name of this type |
| Size | The size in bytes needed to store a value of this type. Similar to Delphi's/C++'s "SizeOf()" intrinsic. |
Constructors
| Name | Description |
|---|---|
| Create |
Methods
| Name | Description |
|---|---|
| IsSliceElementType<TElem> | Returns True if T is a TSlice |
Property Descriptions
Align
The alignment for this type. Similar to C++'s "alignof()" intrinsic.
class property Align: NativeUInt read GAlign
Type: NativeUInt
Remarks
For slices (TSlice<>), this is the alignment of the element type.
IsSlice
Whether this type is a slice (TSlice<>)
class property IsSlice: Boolean read GIsSlice
Type: Boolean
Name
The Rust and C++ compatible name of this type
class property Name: AnsiString read GName
Type: AnsiString
Size
The size in bytes needed to store a value of this type. Similar to Delphi's/C++'s "SizeOf()" intrinsic.
class property Size: NativeUInt read GSize
Type: NativeUInt
Remarks
For slices (TSlice<>), this is the size of the element type.
Constructor Descriptions
Create
class constructor Create
Method Descriptions
IsSliceElementType<TElem>
Returns True if T is a TSlice
class function IsSliceElementType<TElem>: Boolean; static
Type Parameters
TElem:
Returns
Boolean