From b365da4229b2a9d0ceef632af6880a38ecb65325 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 30 May 2014 13:02:29 +0100 Subject: Various fixes to STL read/write. --- src/stl_binary_tables.cc | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'src/stl_binary_tables.cc') 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 (_display_standard_map, " ", DISPLAY_STANDARD_UNDEFINED, "Undefined"); -- cgit v1.2.3