Arion 1.0.2-alpha
A high-performance C++ framework for emulating executable binaries.
 
Loading...
Searching...
No Matches
arion_poly_struct::POLYMORPHIC_STRUCT_CONSTRAINT Struct Reference

Structure defining an architecture constraint for a field in a polymorphic struct. More...

#include <struct_utils.hpp>

Public Member Functions

 POLYMORPHIC_STRUCT_CONSTRAINT ()
 
 POLYMORPHIC_STRUCT_CONSTRAINT (arion::CPU_ARCH arch)
 
 POLYMORPHIC_STRUCT_CONSTRAINT (uint16_t arch_sz)
 

Public Attributes

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).
 

Detailed Description

Structure defining an architecture constraint for a field in a polymorphic struct.

Constructor & Destructor Documentation

◆ POLYMORPHIC_STRUCT_CONSTRAINT() [1/3]

arion_poly_struct::POLYMORPHIC_STRUCT_CONSTRAINT::POLYMORPHIC_STRUCT_CONSTRAINT ( )
inline

Builder for an unconstrained POLYMORPHIC_STRUCT_CONSTRAINT instance.

◆ 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]archThe 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_szThe specific architecture size (32 or 64).

Member Data Documentation

◆ arch

arion::CPU_ARCH arion_poly_struct::POLYMORPHIC_STRUCT_CONSTRAINT::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: