Add ParseRecord::end_string member
This commit is contained in:
parent
5ea70d256d
commit
9c99c681c9
@ -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& );
|
||||
|
@ -207,4 +207,9 @@ namespace {
|
||||
return stream << " }";
|
||||
}
|
||||
|
||||
|
||||
const std::string& ParserRecord::end_string() const {
|
||||
return this->record_end;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user