gtopt::IntegerVariable::Key struct

Lookup key into the per-(scene, phase) integer-variable map.

class_name is stored by value (LPClassName is a trivially copyable 72-byte aggregate carrying both PascalCase and snake_case forms — same convention as StateVariable::Key).

col_name is a std::string_view; it must point to storage with program lifetime — in practice the static constexpr literals on each *LP class (e.g. CommitmentLP::StatusName).

group_uid is unknown_group for Stage and Phase scopes. For Block scope it equals the block uid; for Group scope it is the group's opaque identifier from the layout table.

Public functions

auto operator<=>(const Key&) const -> auto defaulted noexcept

Public variables

LPClassName class_name
std::string_view col_name
Uid element_uid
GroupUid group_uid
LPKey lp_key
ScenarioUid scenario_uid
StageUid stage_uid