Add ParseRecord::end_string member

This commit is contained in:
Joakim Hove 2020-01-09 16:35:22 +01:00
parent 5ea70d256d
commit 9c99c681c9
2 changed files with 7 additions and 0 deletions

View File

@ -55,11 +55,13 @@ namespace Opm {
bool operator==( const ParserRecord& ) const;
bool operator!=( const ParserRecord& ) const;
bool rawStringRecord() const;
const std::string& end_string() const;
private:
bool m_dataRecord;
std::vector< ParserItem > m_items;
bool raw_string_record = false;
std::string record_end = "/";
};
std::ostream& operator<<( std::ostream&, const ParserRecord& );

View File

@ -207,4 +207,9 @@ namespace {
return stream << " }";
}
const std::string& ParserRecord::end_string() const {
return this->record_end;
}
}