libdcp
Functions | Variables
language_tag.cc File Reference

LanguageTag class. More...

#include "compose.hpp"
#include "dcp_assert.h"
#include "exceptions.h"
#include "language_tag.h"
#include <boost/algorithm/string.hpp>
#include <string>

Go to the source code of this file.

Functions

static optional< LanguageTag::SubtagDatafind_in_list (vector< LanguageTag::SubtagData > const &list, string subtag)
 
template<class T >
void check_for_duplicates (vector< T > const &subtags, dcp::LanguageTag::SubtagType type)
 
void load_language_tag_list (boost::filesystem::path tags_directory, string name, std::function< void(std::string, std::string)> add)
 

Variables

static vector< LanguageTag::SubtagDatalanguage_list
 
static vector< LanguageTag::SubtagDatavariant_list
 
static vector< LanguageTag::SubtagDataregion_list
 
static vector< LanguageTag::SubtagDatascript_list
 
static vector< LanguageTag::SubtagDataextlang_list
 
static vector< pair< string, string > > dcnc_list
 

Detailed Description

LanguageTag class.

Definition in file language_tag.cc.