Interest Generator 3.0.1
Religion, hobbies and favourite media by country, age and sex for C++23
Loading...
Searching...
No Matches
dasmig::religion_share Struct Reference

One religion's share of a country, as loaded. More...

#include <interestgen.hpp>

Public Attributes

std::string religion
 Label, for example "Roman Catholic" (full) or "Christian" (lite).
 
std::string group
 Major group: christian, muslim, hindu, buddhist, jewish, unaffiliated, other, or a group a layer adds.
 
double weight {0.0}
 Share of the population in percent; only the ratios matter.
 
int year {0}
 Survey year, or 0 when unknown.
 

Detailed Description

One religion's share of a country, as loaded.

Definition at line 157 of file interestgen.hpp.

Member Data Documentation

◆ group

std::string dasmig::religion_share::group

Major group: christian, muslim, hindu, buddhist, jewish, unaffiliated, other, or a group a layer adds.

Definition at line 160 of file interestgen.hpp.

◆ religion

std::string dasmig::religion_share::religion

Label, for example "Roman Catholic" (full) or "Christian" (lite).

Definition at line 159 of file interestgen.hpp.

◆ weight

double dasmig::religion_share::weight {0.0}

Share of the population in percent; only the ratios matter.

Definition at line 161 of file interestgen.hpp.

◆ year

int dasmig::religion_share::year {0}

Survey year, or 0 when unknown.

Definition at line 162 of file interestgen.hpp.


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