#include "feature_types.h"
#include <algorithm>
#include <map>
#include <string>
#include <utility>
#include "base.h"
namespace chrome_lang_id {
FeatureType::FeatureType(const string &name)
: … { … }
FeatureType::~FeatureType() { … }
template <class Resource>
ResourceBasedFeatureType<Resource>::ResourceBasedFeatureType(
const string &name, const Resource *resource,
const std::map<FeatureValue, string> &values)
: … { … }
template <class Resource>
ResourceBasedFeatureType<Resource>::ResourceBasedFeatureType(
const string &name, const Resource *resource)
: … { … }
EnumFeatureType::EnumFeatureType(
const string &name, const std::map<FeatureValue, string> &value_names)
: … { … }
EnumFeatureType::~EnumFeatureType() { … }
string EnumFeatureType::GetFeatureValueName(FeatureValue value) const { … }
FeatureValue EnumFeatureType::GetDomainSize() const { … }
}