tagval 0.2.0
Modern C++23 header-only library of tagged values (open/closed enumerations with metadata)
Loading...
Searching...
No Matches
tagval::TagValCell< TagT > Class Template Reference

#include <parcel.hpp>

+ Inheritance diagram for tagval::TagValCell< TagT >:
+ Collaboration diagram for tagval::TagValCell< TagT >:

Public Member Functions

std::string to_string () const override
 

Static Public Member Functions

::parcel::cell_t from_json (::parcel::json_t const &j, ::parcel::ParcelRegistry const &)
 
::parcel::cell_type_descriptor_t descriptor ()
 

Static Public Attributes

static constexpr std::string_view kind_id = "tagval"
 

Member Function Documentation

◆ to_string()

template<typename TagT >
std::string tagval::TagValCell< TagT >::to_string ( ) const
inlineoverride

◆ from_json()

template<typename TagT >
::parcel::cell_t tagval::TagValCell< TagT >::from_json ( ::parcel::json_t const &  j,
::parcel::ParcelRegistry const &   
)
inlinestatic

◆ descriptor()

template<typename TagT >
::parcel::cell_type_descriptor_t tagval::TagValCell< TagT >::descriptor ( )
inlinestatic

Member Data Documentation

◆ kind_id

template<typename TagT >
constexpr std::string_view tagval::TagValCell< TagT >::kind_id = "tagval"
staticconstexpr

The documentation for this class was generated from the following file: