Citlali
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
RawObs::CalItem Struct Reference

@breif a generic cal item holder More...

#include <io.h>

Inheritance diagram for RawObs::CalItem:
Inheritance graph
Collaboration diagram for RawObs::CalItem:
Collaboration graph

Public Types

using Base = ConfigMapper< CalItem >
 
using Base = ConfigMapper< CalItem >
 

Public Member Functions

 CalItem (config_t config)
 
const std::string & typestr () const
 
auto type () const
 
template<auto type_>
auto is_type () -> bool
 
template<auto type_>
auto get () const -> const auto &
 
 CalItem (config_t config)
 
const std::string & typestr () const
 
auto type () const
 
template<auto type_>
bool is_type ()
 
template<auto type_>
const auto & get () const
 

Static Public Member Functions

static auto check_config (config_t &config) -> std::optional< std::string >
 
static auto check_config (config_t &config) -> std::optional< std::string >
 

Private Member Functions

void resolve ()
 
void resolve ()
 

Private Attributes

std::string m_typestr {}
 
cal_item_var_t m_cal_item {}
 

Friends

template<typename OStream >
auto operator<< (OStream &os, const CalItem &d) -> decltype(auto)
 

Detailed Description

@breif a generic cal item holder

Member Typedef Documentation

◆ Base [1/2]

◆ Base [2/2]

Constructor & Destructor Documentation

◆ CalItem() [1/2]

RawObs::CalItem::CalItem ( config_t  config)
inline
Here is the call graph for this function:

◆ CalItem() [2/2]

RawObs::CalItem::CalItem ( config_t  config)
inline
Here is the call graph for this function:

Member Function Documentation

◆ check_config() [1/2]

static auto RawObs::CalItem::check_config ( config_t &  config) -> std::optional<std::string>
inlinestatic
Here is the call graph for this function:

◆ check_config() [2/2]

static auto RawObs::CalItem::check_config ( config_t &  config) -> std::optional<std::string>
inlinestatic
Here is the call graph for this function:

◆ get() [1/2]

template<auto type_>
const auto & RawObs::CalItem::get ( ) const
inline

◆ get() [2/2]

template<auto type_>
auto RawObs::CalItem::get ( ) const -> const auto &
inline
Here is the caller graph for this function:

◆ is_type() [1/2]

template<auto type_>
bool RawObs::CalItem::is_type ( )
inline
Here is the call graph for this function:

◆ is_type() [2/2]

template<auto type_>
auto RawObs::CalItem::is_type ( ) -> bool
inline
Here is the call graph for this function:

◆ resolve() [1/2]

void RawObs::CalItem::resolve ( )
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resolve() [2/2]

void RawObs::CalItem::resolve ( )
inlineprivate
Here is the call graph for this function:

◆ type() [1/2]

auto RawObs::CalItem::type ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ type() [2/2]

auto RawObs::CalItem::type ( ) const
inline
Here is the call graph for this function:

◆ typestr() [1/2]

const std::string & RawObs::CalItem::typestr ( ) const
inline
Here is the caller graph for this function:

◆ typestr() [2/2]

const std::string & RawObs::CalItem::typestr ( ) const
inline

Friends And Related Symbol Documentation

◆ operator<<

template<typename OStream >
auto operator<< ( OStream os,
const CalItem d 
) -> decltype(auto)
friend

Member Data Documentation

◆ m_cal_item

cal_item_var_t RawObs::CalItem::m_cal_item {}
private

◆ m_typestr

std::string RawObs::CalItem::m_typestr {}
private

The documentation for this struct was generated from the following files: