gtopt/single_id.hpp file

Single-value identifier types (UID or name) for component lookup.

This module provides SingleId (a std::variant<Uid, Name>) and the ObjectSingleId wrapper used to reference system components either by their numeric UID or their string name in JSON/Parquet input files.

Namespaces

namespace gtopt

Classes

template<typename Object Object>
struct gtopt::ObjectId
template<typename Object Object>
struct gtopt::ObjectSingleId