chronon::params
Namespaces
| Name |
|---|
| chronon::params::detail |
Classes
| Name | |
|---|---|
| class | chronon::params::StandaloneParameter Generic parameter descriptor with default, validation, and string serialization. |
| class | chronon::params::Size Memory size with automatic unit parsing (B/KiB/MiB/GiB/KB/MB/GB). |
| class | chronon::params::ParameterSet Base for parameter sets backed by self-registering Param |
| class | chronon::params::ParamBase Type-erased interface for self-registering parameters. |
| class | chronon::params::Param Self-registering parameter that hooks into its owning ParameterSet. |
| class | chronon::params::Latency Latency/time value with automatic unit parsing (ns/us/ms/s). |
| class | chronon::params::Frequency Frequency value with automatic unit parsing (Hz/kHz/MHz/GHz). |
| class | chronon::params::Bandwidth Bandwidth value with automatic unit parsing (" |
Types
| Name | |
|---|---|
| template <ParameterType T> using StandaloneParameter< T > | Parameter |
Functions
| Name | |
|---|---|
| template <typename T > void | toYAML(YAML::Emitter & out, const T & value) |
| void | toYAML(YAML::Emitter & out, const std::string & value) |
| void | toYAML(YAML::Emitter & out, bool value) |
| void | toYAML(YAML::Emitter & out, const Frequency & freq) |
| void | toYAML(YAML::Emitter & out, const Latency & lat) |
| void | toYAML(YAML::Emitter & out, const Size & size) |
| void | toYAML(YAML::Emitter & out, const Bandwidth & bw) |
| template <typename T > std::string | toString(T value) |
| std::string | toString(bool value) |
| std::string | toString(const std::string & value) |
| std::string | toString(const Frequency & f) |
| std::string | toString(const Latency & l) |
| std::string | toString(const Size & s) |
| std::string | toString(const Bandwidth & b) |
| template <ParameterType T> void | serializeStandaloneParameter(YAML::Emitter & out, const StandaloneParameter< T > & param) |
| void | serializeParameterSet(YAML::Emitter & out, const ParameterSet & params) |
| template <ParameterType T> void | serializeParameter(YAML::Emitter & out, const StandaloneParameter< T > & param) |
| template <typename T > void | serializeParamValue(YAML::Emitter & out, const StandaloneParameter< T > & param) |
| template <ParameterType T> void | serializeParamValue(YAML::Emitter & out, const Param< T > & param) |
| template <typename T > T | fromYAML(const YAML::Node & node, std::type_identity< T > ={}) |
| template <typename T > T | fromYAML(const YAML::Node & node, std::type_identity< T > ={}) |
| std::string | fromYAML(const YAML::Node & node, std::type_identity< std::string > ) |
| Frequency | fromYAML(const YAML::Node & node, std::type_identity< Frequency > ) |
| Latency | fromYAML(const YAML::Node & node, std::type_identity< Latency > ) |
| Size | fromYAML(const YAML::Node & node, std::type_identity< Size > ) |
| Bandwidth | fromYAML(const YAML::Node & node, std::type_identity< Bandwidth > ) |
| template <typename T > T | fromString(const std::string & s, std::type_identity< T > ={}) Parse string to integer with tag-dispatched return type. |
| template <typename T > T | fromString(const std::string & s, std::type_identity< T > ={}) Parse string to floating-point value with tag-dispatched return type. |
| std::string | fromString(const std::string & s, std::type_identity< std::string > ) |
| Frequency | fromString(const std::string & s, std::type_identity< Frequency > ) |
| Latency | fromString(const std::string & s, std::type_identity< Latency > ) |
| Size | fromString(const std::string & s, std::type_identity< Size > ) |
| Bandwidth | fromString(const std::string & s, std::type_identity< Bandwidth > ) |
| template <ParameterType T> void | deserializeStandaloneParameter(const YAML::Node & node, StandaloneParameter< T > & param) |
| template <ParameterType T> void | deserializeParameter(const YAML::Node & node, StandaloneParameter< T > & param) |
| template <typename T > void | deserializeParamValue(const YAML::Node & node, const std::string & name, StandaloneParameter< T > & param) |
Types Documentation
using Parameter
template <ParameterType T>
using chronon::params::Parameter = StandaloneParameter<T>;
Backward-compatible name for standalone, non-self-registering parameters. Use Param
Functions Documentation
function toYAML
template <typename T >
inline void toYAML(
YAML::Emitter & out,
const T & value
)
function toYAML
inline void toYAML(
YAML::Emitter & out,
const std::string & value
)
function toYAML
inline void toYAML(
YAML::Emitter & out,
bool value
)
function toYAML
inline void toYAML(
YAML::Emitter & out,
const Frequency & freq
)
function toYAML
inline void toYAML(
YAML::Emitter & out,
const Latency & lat
)
function toYAML
inline void toYAML(
YAML::Emitter & out,
const Size & size
)
function toYAML
inline void toYAML(
YAML::Emitter & out,
const Bandwidth & bw
)
function toString
template <typename T >
inline std::string toString(
T value
)
function toString
inline std::string toString(
bool value
)
function toString
inline std::string toString(
const std::string & value
)
function toString
inline std::string toString(
const Frequency & f
)
function toString
inline std::string toString(
const Latency & l
)
function toString
inline std::string toString(
const Size & s
)
function toString
inline std::string toString(
const Bandwidth & b
)
function serializeStandaloneParameter
template <ParameterType T>
void serializeStandaloneParameter(
YAML::Emitter & out,
const StandaloneParameter< T > & param
)
function serializeParameterSet
inline void serializeParameterSet(
YAML::Emitter & out,
const ParameterSet & params
)
function serializeParameter
template <ParameterType T>
void serializeParameter(
YAML::Emitter & out,
const StandaloneParameter< T > & param
)
function serializeParamValue
template <typename T >
inline void serializeParamValue(
YAML::Emitter & out,
const StandaloneParameter< T > & param
)
function serializeParamValue
template <ParameterType T>
inline void serializeParamValue(
YAML::Emitter & out,
const Param< T > & param
)
function fromYAML
template <typename T >
inline T fromYAML(
const YAML::Node & node,
std::type_identity< T > ={}
)
function fromYAML
template <typename T >
inline T fromYAML(
const YAML::Node & node,
std::type_identity< T > ={}
)
function fromYAML
inline std::string fromYAML(
const YAML::Node & node,
std::type_identity< std::string >
)
function fromYAML
inline Frequency fromYAML(
const YAML::Node & node,
std::type_identity< Frequency >
)
function fromYAML
inline Latency fromYAML(
const YAML::Node & node,
std::type_identity< Latency >
)
function fromYAML
inline Size fromYAML(
const YAML::Node & node,
std::type_identity< Size >
)
function fromYAML
inline Bandwidth fromYAML(
const YAML::Node & node,
std::type_identity< Bandwidth >
)
function fromString
template <typename T >
inline T fromString(
const std::string & s,
std::type_identity< T > ={}
)
Parse string to integer with tag-dispatched return type.
function fromString
template <typename T >
inline T fromString(
const std::string & s,
std::type_identity< T > ={}
)
Parse string to floating-point value with tag-dispatched return type.
function fromString
inline std::string fromString(
const std::string & s,
std::type_identity< std::string >
)
function fromString
inline Frequency fromString(
const std::string & s,
std::type_identity< Frequency >
)
function fromString
inline Latency fromString(
const std::string & s,
std::type_identity< Latency >
)
function fromString
inline Size fromString(
const std::string & s,
std::type_identity< Size >
)
function fromString
inline Bandwidth fromString(
const std::string & s,
std::type_identity< Bandwidth >
)
function deserializeStandaloneParameter
template <ParameterType T>
void deserializeStandaloneParameter(
const YAML::Node & node,
StandaloneParameter< T > & param
)
function deserializeParameter
template <ParameterType T>
void deserializeParameter(
const YAML::Node & node,
StandaloneParameter< T > & param
)
function deserializeParamValue
template <typename T >
inline void deserializeParamValue(
const YAML::Node & node,
const std::string & name,
StandaloneParameter< T > & param
)
Updated on 2026-05-26 at 05:42:32 +0000