summaryrefslogtreecommitdiff
path: root/src/stl_binary_tables.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-30 13:02:29 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-30 13:02:29 +0100
commitb365da4229b2a9d0ceef632af6880a38ecb65325 (patch)
treeb37f7c5d68206c6aab456ec44ac666c7f4b6bdf2 /src/stl_binary_tables.cc
parent38a5ff713757b9dc0cb67cb09613182c46dc9657 (diff)
Various fixes to STL read/write.
Diffstat (limited to 'src/stl_binary_tables.cc')
-rw-r--r--src/stl_binary_tables.cc20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/stl_binary_tables.cc b/src/stl_binary_tables.cc
index 664921d..7fdad7b 100644
--- a/src/stl_binary_tables.cc
+++ b/src/stl_binary_tables.cc
@@ -121,6 +121,24 @@ STLBinaryTables::language_enum_to_file (Language e) const
return enum_to_file (e, _language_map);
}
+int
+STLBinaryTables::cumulative_status_enum_to_file (CumulativeStatus v) const
+{
+ return enum_to_file (v, _cumulative_status_map);
+}
+
+int
+STLBinaryTables::justification_enum_to_file (Justification v) const
+{
+ return enum_to_file (v, _justification_map);
+}
+
+int
+STLBinaryTables::comment_enum_to_file (Comment v) const
+{
+ return enum_to_file (v, _comment_map);
+}
+
string
STLBinaryTables::display_standard_enum_to_description (DisplayStandard v) const
{
@@ -162,7 +180,7 @@ STLBinaryTables::comment_enum_to_description (Comment v) const
{
return enum_to_description (v, _comment_map);
}
-
+
STLBinaryTables::STLBinaryTables ()
{
code<DisplayStandard, string> (_display_standard_map, " ", DISPLAY_STANDARD_UNDEFINED, "Undefined");