Structure defining an architecture constraint for a field in a polymorphic struct.
More...
#include <struct_utils.hpp>
|
| arion::CPU_ARCH | arch |
| | The specific architecture required for the field to be present/used.
|
| |
| uint16_t | arch_sz |
| | The specific architecture bit size required (e.g., 32 or 64 bit).
|
| |
Structure defining an architecture constraint for a field in a polymorphic struct.
◆ POLYMORPHIC_STRUCT_CONSTRAINT() [1/3]
| arion_poly_struct::POLYMORPHIC_STRUCT_CONSTRAINT::POLYMORPHIC_STRUCT_CONSTRAINT |
( |
| ) |
|
|
inline |
◆ POLYMORPHIC_STRUCT_CONSTRAINT() [2/3]
| arion_poly_struct::POLYMORPHIC_STRUCT_CONSTRAINT::POLYMORPHIC_STRUCT_CONSTRAINT |
( |
arion::CPU_ARCH |
arch | ) |
|
|
inline |
Builder for a constraint based on architecture.
- Parameters
-
| [in] | arch | The specific CPU architecture. |
◆ POLYMORPHIC_STRUCT_CONSTRAINT() [3/3]
| arion_poly_struct::POLYMORPHIC_STRUCT_CONSTRAINT::POLYMORPHIC_STRUCT_CONSTRAINT |
( |
uint16_t |
arch_sz | ) |
|
|
inline |
Builder for a constraint based on architecture size.
- Parameters
-
| [in] | arch_sz | The specific architecture size (32 or 64). |
◆ arch
The specific architecture required for the field to be present/used.
◆ arch_sz
| uint16_t arion_poly_struct::POLYMORPHIC_STRUCT_CONSTRAINT::arch_sz |
The specific architecture bit size required (e.g., 32 or 64 bit).
The documentation for this struct was generated from the following file: