Country Generator 3.3.2
Procedural country generation for C++23
Loading...
Searching...
No Matches
dasmig::holiday_request Struct Reference

What cntg::holidays() returns. More...

#include <countrygen.hpp>

Public Attributes

std::string country
 ISO 3166-1 alpha-2 code, any case; required.
 
int year {}
 The year; required.
 
bool optional {false}
 Include the days off for some (holiday_kind::optional).
 
bool observances {false}
 Include the days that are not days off (holiday_kind::observance).
 

Detailed Description

What cntg::holidays() returns.

Definition at line 1672 of file countrygen.hpp.

Member Data Documentation

◆ country

std::string dasmig::holiday_request::country

ISO 3166-1 alpha-2 code, any case; required.

Definition at line 1674 of file countrygen.hpp.

◆ observances

bool dasmig::holiday_request::observances {false}

Include the days that are not days off (holiday_kind::observance).

Definition at line 1677 of file countrygen.hpp.

◆ optional

bool dasmig::holiday_request::optional {false}

Include the days off for some (holiday_kind::optional).

Definition at line 1676 of file countrygen.hpp.

◆ year

int dasmig::holiday_request::year {}

The year; required.

Definition at line 1675 of file countrygen.hpp.


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