#pragma once #include "ExchComp.h" #include "Exchange.h" #include "WrapperBase.hpp" #include "phrqtype.h" #include #include #include #include #include class ExchangeWrapper : public WrapperBase { public: ExchangeWrapper(cxxExchange *exch, const std::vector &exchanger); void get(std::span &exchange) const; void set(const std::span &exchange); static std::vector names(cxxExchange *exchange, std::vector &exchange_formulas); private: cxxExchange *exchange; class ExchangeCompWrapper : public WrapperBase { public: ExchangeCompWrapper(cxxExchComp &comp); void get(std::span &exchange) const; void set(const std::span &exchange); private: cxxExchComp &exch_comp; static constexpr std::size_t NUM_NOT_TOTALS = 5; }; std::vector> exchange_comps; };