|
Chemical Data Processing Library C++ API - Version 1.1.1
|
Go to the documentation of this file.
29 #ifndef CDPL_BASE_DATAFORMAT_HPP
30 #define CDPL_BASE_DATAFORMAT_HPP
51 typedef std::vector<std::string> FileExtensionList;
76 template <
typename Iter>
77 DataFormat(
const std::string& name,
const std::string& descr,
const std::string& mime_type,
78 Iter file_ext_begin, Iter file_ext_end,
bool multi_rec):
80 description(descr), mimeType(mime_type), fileExtensions(file_ext_begin, file_ext_end),
81 multiRecordFormat(multi_rec)
90 multiRecordFormat(false) {}
280 std::string description;
281 std::string mimeType;
282 FileExtensionList fileExtensions;
283 bool multiRecordFormat;
288 #endif // CDPL_BASE_DATAFORMAT_HPP
#define CDPL_BASE_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of the preprocessor macro CDPL_BASE_API.
The namespace of the Chemical Data Processing Library.