5#include "../forms_export.h"
33 bool operator==(
const country& value)
const {
return name_ == value.name_ && alpha_2_code_ == value.alpha_2_code_ && alpha_3_code_ == value.alpha_3_code_ && numeric_code_ == value.numeric_code_;}
34 bool operator!=(
const country& value)
const {
return !operator==(value);}
95 static const std::vector<xtd::ustring> enclosed_letters;
96 country(
const xtd::ustring& name,
const xtd::ustring& alpha_2_code,
const xtd::ustring& alpha_3_code,
int numeric_code) : name_(name), alpha_2_code_(alpha_2_code), alpha_3_code_(alpha_3_code), numeric_code_(numeric_code), emoticon_(enclosed_letters[alpha_2_code[0] -
'A'] + enclosed_letters[alpha_2_code[1] -
'A']) {}
Contains xtd::drawing::bitmap class.
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition: image.h:34
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition: object.h:26
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
Contains xtd::convert_string class.
#define forms_export_
Define shared library export.
Definition: forms_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::object class.
Contains xtd::static_object class.
Contains xtd::ustring class.