#include <gtopt/schedule.hpp>
template<typename Type, typename... Uid>
OptSchedule class
Base classes
- struct InputTraits
- Input data access traits.
Public types
-
template<typename... Uid>using array_table_vector_uid_idx_t = std::tuple<array_
uid_ idx_ map_ t<Uid...>, table_ uid_ idx_ map_ t<Uid...>, vector_ uid_ idx_ t<Uid...>> -
template<typename... Uid>using array_uid_idx_map_t = base_
map_ t<CFNameUid, arrow_ array_ uid_ idx_ t<Uid...>> -
using array_vector_uid_idx_v = InputTraits::
array_vector_uid_idx_v<Uid...> -
template<typename... Uid>using arrow_array_uid_idx_t = std::pair<ArrowChunkedArray, ArrowUidIdx<Uid...>>
-
template<typename... Uid>using arrow_table_uid_idx_t = std::tuple<ArrowTable, ArrowUidIdx<Uid...>>
-
template<typename... Uid>using ArrowUidIdx = UidToArrowIdx<Uid...>::UidIdx
-
using base_map_t = gtopt::
flat_map<Key, Value> - using CFName = std::tuple<ClassNameType, FieldNameType>
- using CFNameUid = std::tuple<ClassNameType, FieldNameType, Uid>
- using ClassNameType = std::string_view
- using FieldNameType = std::string_view
-
using FSched = FieldSched<Type, vector_
type> -
template<typename... Uid>using idx_key_t = UidToVectorIdx<Uid...>::IndexKey
-
template<typename value_type, typename... Uid>using idx_vector_t = mvector_
traits<value_ type, idx_ key_ t<Uid...>>:: vector_type - using OptFSched = std::optional<FSched>
-
template<typename... Uid>using table_uid_idx_map_t = base_
map_ t<CFName, arrow_ table_ uid_ idx_ t<Uid...>> - using value_type = Type
-
using vector_type = InputTraits::
idx_vector_t<Type, Uid...> -
template<typename... Uid>using vector_uid_idx_t = VectorUidIdx<Uid...>
-
template<typename... Uid>using VectorUidIdx = UidToVectorIdx<Uid...>::UidIdx
Public static functions
-
template<typename Type, typename RType RType = Type, typename FSched, typename UidIdx, typename AccessOper AccessOper, typename... Uid>static auto access_sched(const FSched& sched, const UidIdx& uid_idx, AccessOper access_oper, Uid... uid) -> RType -> constexpr auto
- static auto at_sched(const FSched& sched, const UidIdx& uid_idx, Uid... uid) -> Type -> constexpr auto
- static auto optval_sched(const FSched& sched, const UidIdx& uid_idx, Uid... uid) -> std::optional< Type > -> constexpr auto
Constructors, destructors, conversion operators
- OptSchedule() defaulted
- OptSchedule(const InputContext& ic, std::string_view cname, const Id& id, OptFSched psched) explicit
- OptSchedule(OptFSched sched) explicit
Public functions
Typedef documentation
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
template<typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: array_table_vector_uid_idx_t = std::tuple<array_ uid_ idx_ map_ t<Uid...>, table_ uid_ idx_ map_ t<Uid...>, vector_ uid_ idx_ t<Uid...>>
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
template<typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: array_uid_idx_map_t = base_ map_ t<CFNameUid, arrow_ array_ uid_ idx_ t<Uid...>>
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
template<typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: arrow_array_uid_idx_t = std::pair<ArrowChunkedArray, ArrowUidIdx<Uid...>>
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
template<typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: arrow_table_uid_idx_t = std::tuple<ArrowTable, ArrowUidIdx<Uid...>>
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
template<typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: ArrowUidIdx = UidToArrowIdx<Uid...>::UidIdx
#include <gtopt/uid_traits.hpp>
using gtopt:: OptSchedule<Type, Uid>:: base_map_t = gtopt:: flat_map<Key, Value>
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: CFName = std::tuple<ClassNameType, FieldNameType>
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: CFNameUid = std::tuple<ClassNameType, FieldNameType, Uid>
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: ClassNameType = std::string_view
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: FieldNameType = std::string_view
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
template<typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: idx_key_t = UidToVectorIdx<Uid...>::IndexKey
#include <gtopt/uid_traits.hpp>
using gtopt:: OptSchedule<Type, Uid>:: idx_vector_t = mvector_ traits<value_ type, idx_ key_ t<Uid...>>:: vector_type
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
template<typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: table_uid_idx_map_t = base_ map_ t<CFName, arrow_ table_ uid_ idx_ t<Uid...>>
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
template<typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: vector_uid_idx_t = VectorUidIdx<Uid...>
#include <gtopt/uid_traits.hpp>
template<typename Type, typename... Uid>
template<typename... Uid>
using gtopt:: OptSchedule<Type, Uid>:: VectorUidIdx = UidToVectorIdx<Uid...>::UidIdx
Function documentation
#include <gtopt/input_traits.hpp>
template<typename Type, typename... Uid>
template<typename Type, typename RType RType = Type, typename FSched, typename UidIdx, typename AccessOper AccessOper, typename... Uid>
static constexpr auto gtopt:: OptSchedule<Type, Uid>:: access_sched(const FSched& sched,
const UidIdx& uid_idx,
AccessOper access_oper,
Uid... uid) -> RType