Country Generator 1.0.1
Procedural country generation for C++23
Loading...
Searching...
No Matches
countrygen.hpp File Reference

Country generator library — procedural country generation for C++23. More...

#include "random.hpp"
#include <algorithm>
#include <array>
#include <charconv>
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <fstream>
#include <ostream>
#include <random>
#include <ranges>
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  dasmig::country
 Return type for country generation, holding all data fields. More...
 
class  dasmig::cntg
 Country generator that produces random countries from aggregated open-data sources. More...
 

Macros

#define DASMIG_DATASET_DEFINED
 Dataset size tier for resource loading.
 

Enumerations

enum class  dasmig::dataset : std::uint8_t { lite , full }
 

Detailed Description

Country generator library — procedural country generation for C++23.

Author
Diego Dasso Migotto (diegomigotto at hotmail dot com)
See also
See doc/usage.md for the narrative tutorial.

Definition in file countrygen.hpp.

Macro Definition Documentation

◆ DASMIG_DATASET_DEFINED

#define DASMIG_DATASET_DEFINED

Dataset size tier for resource loading.

Definition at line 31 of file countrygen.hpp.

Enumeration Type Documentation

◆ dataset

enum class dasmig::dataset : std::uint8_t
strong
Enumerator
lite 

~195 sovereign states only.

full 

~250 countries and territories.

Definition at line 32 of file countrygen.hpp.