AgeGroup Struct Reference

CPP API: mio::AgeGroup Struct Reference

The AgeGroup struct is used as a dynamically sized tag for all age dependent categories. More...

#include <age_group.h>

Inheritance diagram for mio::AgeGroup:
Collaboration diagram for mio::AgeGroup:

Public Member Functions

 AgeGroup (size_t val)
 
- Public Member Functions inherited from mio::Index< AgeGroup >
 Index (Index< CategoryTag > const &... _indices)
 Constructor from individual Indices. More...
 
bool operator!= (Index const &other) const
 
bool operator< (Index const &other) const
 
bool operator<= (Index const &other) const
 
bool operator== (Index const &other) const
 
 requires (sizeof...(IndexArgs) > 1) Index(IndexArgs &&... subindices)
 Constructor from mixed Indices and MultiIndices. More...
 
void serialize (IOContext &io) const
 serialize this. More...
 

Static Public Member Functions

template<class IOContext >
static IOResult< AgeGroupdeserialize (IOContext &io)
 Override deserialize of base class. More...
 
- Static Public Member Functions inherited from mio::Index< AgeGroup >
static IOResult< Indexdeserialize (IOContext &io)
 deserialize an object of this class. More...
 
static constexpr Index Zero ()
 Construct an Index filled with zeroes. More...
 

Additional Inherited Members

- Public Attributes inherited from mio::Index< AgeGroup >
std::tuple< Index< CategoryTag >... > indices
 
- Static Public Attributes inherited from mio::Index< AgeGroup >
static constexpr bool has_duplicates
 
static constexpr size_t size
 

Detailed Description

The AgeGroup struct is used as a dynamically sized tag for all age dependent categories.

Constructor & Destructor Documentation

◆ AgeGroup()

mio::AgeGroup::AgeGroup ( size_t  val)
inline

Member Function Documentation

◆ deserialize()

template<class IOContext >
static IOResult<AgeGroup> mio::AgeGroup::deserialize ( IOContext &  io)
inlinestatic

Override deserialize of base class.

See also
mio::Index::deserialize