Region Struct Reference

CPP API: mio::regions::Region Struct Reference
mio::regions::Region Struct Reference

Index for enumerating subregions (cities, counties, etc.) of the modelled area. More...

#include <regions.h>

Inheritance diagram for mio::regions::Region:
Collaboration diagram for mio::regions::Region:

Public Member Functions

 Region (const size_t num_regions)
 
- Public Member Functions inherited from mio::Index< Region >
 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from mio::Index< Region >
static IOResult< Indexdeserialize (IOContext &io)
 deserialize an object of this class. More...
 
static constexpr Index Zero ()
 Construct an Index filled with zeroes. More...
 
- Public Attributes inherited from mio::Index< Region >
std::tuple< Index< CategoryTag >... > indices
 
- Static Public Attributes inherited from mio::Index< Region >
static constexpr bool has_duplicates
 
static constexpr size_t size
 

Detailed Description

Index for enumerating subregions (cities, counties, etc.) of the modelled area.

Constructor & Destructor Documentation

◆ Region()

mio::regions::Region::Region ( const size_t  num_regions)
inline