diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-04 10:50:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-04 10:50:57 +0100 |
| commit | df5e7ee155351ecd6e7ef52b1764149b5fcb258a (patch) | |
| tree | 5726abe72ccb97b979449d221bee132d642e9157 /src/stl_binary_tables.h | |
| parent | d8cc379d5dd638e26ee0b46bc610fd2e33be2311 (diff) | |
Add language description -> enum.
Diffstat (limited to 'src/stl_binary_tables.h')
| -rw-r--r-- | src/stl_binary_tables.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stl_binary_tables.h b/src/stl_binary_tables.h index de9634b..1ce7d62 100644 --- a/src/stl_binary_tables.h +++ b/src/stl_binary_tables.h @@ -19,6 +19,7 @@ #include <string> #include <map> +#include <boost/optional.hpp> namespace sub { @@ -216,6 +217,8 @@ public: std::string justification_enum_to_description (Justification) const; std::string comment_enum_to_description (Comment) const; + boost::optional<Language> language_description_to_enum (std::string) const; + private: std::map<std::string, STLBinaryCode<DisplayStandard> > _display_standard_map; std::map<std::string, STLBinaryCode<LanguageGroup> > _language_group_map; |
