Go to the documentation of this file.
5 #ifndef BALL_FORMAT_JCAMPFILE_H
6 #define BALL_FORMAT_JCAMPFILE_H
8 #ifndef BALL_FORMAT_LINEBASEDFILE_H
12 #ifndef BALL_DATATYPE_STRINGHASHMAP_H
58 JCAMPValue() : string_value(
""), numeric_value(), type(STRING) {}
166 #endif // BALL_FORMAT_JCAMPFILE_H
Index getIntValue(const String &name) const
std::vector< double > numeric_value
BALL_EXPORT bool operator!=(const String &s1, const String &s2)
HeaderMap header_
Entries from the header section.
EntryMap entries_
Entries from the key-value section.
bool hasHeader(const String &name) const
const EntryMap & getEntries() const
JCAMPFile(const String &name, OpenMode open_mode=std::ios::in)
std::ios::openmode OpenMode
const HeaderMap & getHeader() const
double getDoubleValue(const String &name) const
BALL_EXPORT bool operator==(const String &s1, const String &s2)
StringHashMap< String > HeaderMap
A hash map containing the header entries.
StringHashMap< JCAMPValue > EntryMap
A hash map containing the JCAMP entries.
std::pair< String, JCAMPValue > KeyValuePair
a key-value pair
bool hasEntry(const String &name) const