18 #ifndef READER_TO_STORAGE_HH_ 19 #define READER_TO_STORAGE_HH_ 91 DECLARE_INPUT_EXCEPTION( ExcInputError, <<
"Error in input file: " << EI_File::qval <<
" at address: " << EI_ErrorAddress::qval <<
"\n" 92 << EI_Specification::val <<
"\n" 93 << EI_Format::val <<
" type: " << EI_JSON_Type::qval <<
"\n" 94 <<
"Expected type:\n" << EI_InputType::val );
101 << EI_JSONLine::val <<
" : col " << EI_JSONColumn::val
102 <<
" ; reason: " << EI_JSONReason::val <<
"\n" );
107 << EI_RecordName::val <<
" record.\n " << EI_InputErrorMessage::val <<
"\n" );
126 T get_root_interface()
const;
183 StorageBase * make_storage_from_default(
const string &dflt_str, std::shared_ptr<Type::TypeBase> type);
std::string format(CStringRef format_str, ArgList args)
bool read_stream(Istream_type &is, Value_type &value)
Dedicated class for storing path to input and output files.