daw::json namespace

Namespaces

namespace detail

Classes

struct FlowRightConstructor
template<>
struct json_data_contract<Aperture>
template<>
struct json_data_contract<Battery>
template<>
struct json_data_contract<Block>
template<>
struct json_data_contract<Bus>
template<>
struct json_data_contract<CascadeLevel>
template<>
struct json_data_contract<CascadeLevelMethod>
template<>
struct json_data_contract<CascadeOptions>
template<>
struct json_data_contract<CascadeTransition>
template<>
struct json_data_contract<Converter>
template<>
struct json_data_contract<Demand>
template<>
struct json_data_contract<DemandAttrs>
template<>
struct json_data_contract<DemandProfile>
template<>
struct json_data_contract<Flow>
template<>
struct json_data_contract<FlowRight>
template<>
struct json_data_contract<Generator>
template<>
struct json_data_contract<GeneratorAttrs>
template<>
struct json_data_contract<GeneratorProfile>
template<>
struct json_data_contract<Iteration>
template<>
struct json_data_contract<Junction>
template<>
struct json_data_contract<Line>
template<>
struct json_data_contract<LpMatrixOptions>
template<>
struct json_data_contract<ModelOptions>
template<>
struct json_data_contract<MonolithicOptions>
template<>
struct json_data_contract<Phase>
template<>
struct json_data_contract<Planning>
template<>
struct json_data_contract<PlanningOptions>
template<>
struct json_data_contract<ProductionFactorSegment>
template<>
struct json_data_contract<ReserveProvision>
template<>
struct json_data_contract<ReserveZone>
template<>
struct json_data_contract<Reservoir>
template<>
struct json_data_contract<ReservoirDischargeLimit>
template<>
struct json_data_contract<ReservoirDischargeLimitSegment>
template<>
struct json_data_contract<ReservoirProductionFactor>
template<>
struct json_data_contract<ReservoirSeepage>
template<>
struct json_data_contract<ReservoirSeepageSegment>
template<>
struct json_data_contract<RightBoundRule>
template<>
struct json_data_contract<RightBoundSegment>
template<>
struct json_data_contract<Scenario>
template<>
struct json_data_contract<Scene>
template<>
struct json_data_contract<SddpOptions>
template<>
struct json_data_contract<Simulation>
template<>
struct json_data_contract<SolverOptions>
template<>
struct json_data_contract<Stage>
template<>
struct json_data_contract<System>
template<>
struct json_data_contract<Turbine>
template<>
struct json_data_contract<UserConstraint>
template<>
struct json_data_contract<UserParam>
template<>
struct json_data_contract<VariableScale>
template<>
struct json_data_contract<VolumeRight>
template<>
struct json_data_contract<Waterway>
struct LpMatrixOptionsConstructor
struct MonolithicOptionsConstructor
Custom constructor: converts JSON strings → typed enums.
struct PlanningOptionsConstructor
Custom constructor: converts JSON strings → typed enums for PlanningOptions.
struct RightBoundRuleConstructor
Constructs RightBoundRule from nullable JSON fields, applying defaults.
struct SddpOptionsConstructor
Custom constructor: converts JSON strings → typed enums.
struct SimulationConstructor
Custom constructor: converts JSON strings → typed enums for Simulation.
struct SolverOptionsConstructor
Constructs SolverOptions from nullable JSON fields, applying defaults.
struct StageConstructor
Custom constructor: converts JSON month string → MonthType enum.
struct VolumeRightConstructor
Custom constructor: converts JSON reset_month string → MonthType enum.

Typedefs

template<typename Type>
using Array = gtopt::Array<Type>
using Bool = gtopt::Bool
using FileSched = gtopt::FileSched
using Int = gtopt::Int
using IntBool = gtopt::IntBool
using jvtl_Active = jvtl_IntBoolFieldSched
using jvtl_IntBoolFieldSched = json_variant_type_list<IntBool, json_link_no_name<std::vector<IntBool>>, FileSched>
using jvtl_IntFieldSched = json_variant_type_list<Int, json_link_no_name<std::vector<Int>>, FileSched>
using jvtl_RealFieldSched = json_variant_type_list<Real, json_link_no_name<std::vector<Real>>, FileSched>
using jvtl_RealFieldSched1 = jvtl_RealFieldSched
using jvtl_RealFieldSched2 = json_variant_type_list<Real, json_link_no_name<std::vector<std::vector<Real>>>, FileSched>
using jvtl_RealFieldSched3 = json_variant_type_list<Real, json_link_no_name<std::vector<std::vector<std::vector<Real>>>>, FileSched>
using jvtl_SingleId = json_variant_type_list<Uid, Name>
using jvtl_STBRealFieldSched = jvtl_RealFieldSched3
using jvtl_TBRealFieldSched = jvtl_RealFieldSched2
using jvtl_TRealFieldSched = jvtl_RealFieldSched1
using Name = gtopt::Name
using OptBool = gtopt::OptBool
using OptInt = gtopt::OptInt
using OptIntBool = gtopt::OptIntBool
using OptLPAlgo = std::optional<LPAlgo>
using OptName = gtopt::OptName
using OptReal = gtopt::OptReal
using OptSingleId = gtopt::OptSingleId
using OptSolverLogMode = std::optional<SolverLogMode>
using OptSolverScaling = std::optional<SolverScaling>
using OptUid = gtopt::OptUid
using Real = gtopt::Real
using SingleId = gtopt::SingleId
using Size = gtopt::Size
using Uid = gtopt::Uid

Typedef documentation

template<typename Type>
using daw::json::Array = gtopt::Array<Type>

using daw::json::Bool = gtopt::Bool

using daw::json::Int = gtopt::Int

using daw::json::jvtl_IntBoolFieldSched = json_variant_type_list<IntBool, json_link_no_name<std::vector<IntBool>>, FileSched>

using daw::json::jvtl_IntFieldSched = json_variant_type_list<Int, json_link_no_name<std::vector<Int>>, FileSched>

using daw::json::jvtl_RealFieldSched = json_variant_type_list<Real, json_link_no_name<std::vector<Real>>, FileSched>

using daw::json::jvtl_RealFieldSched2 = json_variant_type_list<Real, json_link_no_name<std::vector<std::vector<Real>>>, FileSched>

using daw::json::jvtl_RealFieldSched3 = json_variant_type_list<Real, json_link_no_name<std::vector<std::vector<std::vector<Real>>>>, FileSched>

using daw::json::jvtl_SingleId = json_variant_type_list<Uid, Name>

typedef gtopt::Name daw::json::Name

using daw::json::OptLPAlgo = std::optional<LPAlgo>

using daw::json::OptSolverLogMode = std::optional<SolverLogMode>

using daw::json::OptSolverScaling = std::optional<SolverScaling>

using daw::json::Real = gtopt::Real

using daw::json::Size = gtopt::Size

using daw::json::Uid = gtopt::Uid