libjmmcg  build_2226
A C++ library containing an eclectic mix of useful, advanced components.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
iso_3166_country_codes.hpp File Reference
#include "core/enum_as_char_array.hpp"
#include <boost/hana/integral_constant.hpp>
#include <boost/hana/map.hpp>
#include <boost/hana/pair.hpp>
#include <boost/hana/type.hpp>
#include <array>
#include <cstdint>
#include <iostream>
Include dependency graph for iso_3166_country_codes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  isimud::exchanges::common::ctry_codes::alpha_2::hash
 
struct  isimud::exchanges::common::ctry_codes::private_::ctry_details_Europe_Germany
 
struct  isimud::exchanges::common::ctry_codes::private_::ctry_details_Europe_Italy
 
struct  isimud::exchanges::common::ctry_codes::private_::ctry_details_Europe_Norway
 
struct  isimud::exchanges::common::ctry_codes::private_::ctry_details_Africa_South_Africa
 
struct  isimud::exchanges::common::ctry_codes::private_::ctry_details_Europe_United_Kingdom_of_Great_Britain_and_Northern_Ireland
 
struct  isimud::exchanges::common::ctry_codes::private_::ctry_details_Americas_United_States_of_America
 

Namespaces

 isimud
 
 isimud::exchanges
 
 isimud::exchanges::common
 
 isimud::exchanges::common::ctry_codes
 
 isimud::exchanges::common::ctry_codes::alpha_2
 
 isimud::exchanges::common::ctry_codes::alpha_3
 
 isimud::exchanges::common::ctry_codes::ctry_code
 
 isimud::exchanges::common::ctry_codes::private_
 

Typedefs

using isimud::exchanges::common::ctry_codes::alpha_2::country_t = std::array< char, >
 
using isimud::exchanges::common::ctry_codes::alpha_3::country_t = std::array< char, sizeof(std::underlying_type< ISO_3166_Country_Codes >::type)-1 >
 
using isimud::exchanges::common::ctry_codes::ctry_code::country_t = std::array< char, sizeof(std::underlying_type< ISO_3166_Country_Codes >::type)-1 >
 
using isimud::exchanges::common::ctry_codes::ctry_details_colln_type = decltype(ctry_details_colln)
 

Enumerations

enum  isimud::exchanges::common::ctry_codes::alpha_2::ISO_3166_Country_Codes : std::uint16_t {
  isimud::exchanges::common::ctry_codes::alpha_2::ISO_3166_Country_Codes::ISO_3166_Europe_Germany, isimud::exchanges::common::ctry_codes::alpha_2::ISO_3166_Country_Codes::ISO_3166_Europe_Italy, isimud::exchanges::common::ctry_codes::alpha_2::ISO_3166_Country_Codes::ISO_3166_Europe_Norway, isimud::exchanges::common::ctry_codes::alpha_2::ISO_3166_Country_Codes::ISO_3166_Africa_South_Africa,
  isimud::exchanges::common::ctry_codes::alpha_2::ISO_3166_Country_Codes::ISO_3166_Europe_United_Kingdom_of_Great_Britain_and_Northern_Ireland, isimud::exchanges::common::ctry_codes::alpha_2::ISO_3166_Country_Codes::ISO_3166_Americas_United_States_of_America
}
 ISO 3166: Country Codes, with the value of the tag having the currency encoded in the tag-value. More...
 
enum  isimud::exchanges::common::ctry_codes::alpha_3::ISO_3166_Country_Codes : std::uint32_t {
  isimud::exchanges::common::ctry_codes::alpha_3::ISO_3166_Country_Codes::ISO_3166_Europe_Germany, isimud::exchanges::common::ctry_codes::alpha_3::ISO_3166_Country_Codes::ISO_3166_Europe_Italy, isimud::exchanges::common::ctry_codes::alpha_3::ISO_3166_Country_Codes::ISO_3166_Europe_Norway, isimud::exchanges::common::ctry_codes::alpha_3::ISO_3166_Country_Codes::ISO_3166_Africa_South_Africa,
  isimud::exchanges::common::ctry_codes::alpha_3::ISO_3166_Country_Codes::ISO_3166_Europe_United_Kingdom_of_Great_Britain_and_Northern_Ireland, isimud::exchanges::common::ctry_codes::alpha_3::ISO_3166_Country_Codes::ISO_3166_Americas_United_States_of_America
}
 ISO 3166: Country Codes, with the value of the tag having the currency encoded in the tag-value. More...
 
enum  isimud::exchanges::common::ctry_codes::ctry_code::ISO_3166_Country_Codes : std::uint32_t {
  isimud::exchanges::common::ctry_codes::ctry_code::ISO_3166_Country_Codes::ISO_3166_Europe_Germany =276, isimud::exchanges::common::ctry_codes::ctry_code::ISO_3166_Country_Codes::ISO_3166_Europe_Italy =380, isimud::exchanges::common::ctry_codes::ctry_code::ISO_3166_Country_Codes::ISO_3166_Europe_Norway =578, isimud::exchanges::common::ctry_codes::ctry_code::ISO_3166_Country_Codes::ISO_3166_Africa_South_Africa =710,
  isimud::exchanges::common::ctry_codes::ctry_code::ISO_3166_Country_Codes::ISO_3166_Europe_United_Kingdom_of_Great_Britain_and_Northern_Ireland =826, isimud::exchanges::common::ctry_codes::ctry_code::ISO_3166_Country_Codes::ISO_3166_Americas_United_States_of_America =840
}
 ISO 3166: Country Codes, with the value of the tag having the currency encoded in the tag-value. More...
 

Functions

bool isimud::exchanges::common::ctry_codes::alpha_2::operator== (ISO_3166_Country_Codes const lhs, char const *const rhs) noexcept(true)
 
template<ISO_3166_Country_Codes CC>
std::ostream & isimud::exchanges::common::ctry_codes::alpha_2::to_stream (std::ostream &os) noexcept(false)
 A function to extract the ISO Country-Code as a character string. More...
 
template<ISO_3166_Country_Codes CC>
std::ostream & isimud::exchanges::common::ctry_codes::alpha_3::to_stream (std::ostream &os) noexcept(false)
 A function to extract the ISO Country-Code as a character string. More...
 
template<ISO_3166_Country_Codes CC>
std::ostream & isimud::exchanges::common::ctry_codes::ctry_code::to_stream (std::ostream &os) noexcept(false)
 A function to extract the ISO Country-Code as a character string. More...