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) {}
125 double getDoubleValue(
const String& name)
const;
166 #endif // BALL_FORMAT_JCAMPFILE_H BALL_EXPORT bool operator!=(const String &s1, const String &s2)
std::vector< double > numeric_value
const HeaderMap & getHeader() const
const EntryMap & getEntries() const
bool hasEntry(const String &name) const
StringHashMap< String > HeaderMap
A hash map containing the header entries.
std::pair< String, JCAMPValue > KeyValuePair
a key-value pair
StringHashMap< JCAMPValue > EntryMap
A hash map containing the JCAMP entries.
HeaderMap header_
Entries from the header section.
std::ios::openmode OpenMode
bool hasHeader(const String &name) const
BALL_EXPORT bool operator==(const String &s1, const String &s2)
EntryMap entries_
Entries from the key-value section.