| 94 | } |
| 95 | |
| 96 | std::string ScheduleFile_Impl::columnSeparator() const { |
| 97 | boost::optional<std::string> value = getString(OS_Schedule_FileFields::ColumnSeparator, true); |
| 98 | OS_ASSERT(value); |
| 99 | return value.get(); |
| 100 | } |
| 101 | |
| 102 | char ScheduleFile_Impl::columnSeparatorChar() const { |
| 103 | static const std::unordered_map<std::string, char> lookup({{"Comma", ','}, {"Tab", '\t'}, {"Fixed", ' '}, {"Space", ' '}, {"Semicolon", ';'}}); |