#include <libaddressinput/address_data.h>
#include <libaddressinput/address_field.h>
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <ostream>
#include <string>
#include <vector>
#include <re2/re2.h>
#include "util/size.h"
namespace i18n {
namespace addressinput {
namespace {
std::string AddressData::*kStringField[] = …;
const std::vector<std::string> AddressData::*kVectorStringField[] = …;
static_assert …;
bool IsStringEmpty(const std::string& str) { … }
}
bool AddressData::IsFieldEmpty(AddressField field) const { … }
const std::string& AddressData::GetFieldValue(AddressField field) const { … }
void AddressData::SetFieldValue(AddressField field, const std::string& value) { … }
const std::vector<std::string>& AddressData::GetRepeatedFieldValue(
AddressField field) const { … }
bool AddressData::operator==(const AddressData& other) const { … }
bool AddressData::IsRepeatedFieldValue(AddressField field) { … }
}
}
std::ostream& operator<<(std::ostream& o,
const i18n::addressinput::AddressData& address) { … }