Address review comments.

- Use a raw literal.
 - Use 'index', not 'id'.
 - Use FoamConfig(const Deck&) constructor.
This commit is contained in:
Atgeirr Flø Rasmussen
2019-07-02 10:25:28 +02:00
parent 7245598952
commit 17a2e5d334
4 changed files with 73 additions and 73 deletions

View File

@@ -25,7 +25,7 @@
namespace Opm {
class DeckKeyword;
class Deck;
class DeckRecord;
class FoamRecord {
@@ -47,9 +47,9 @@ namespace Opm {
using const_iterator = std::vector< FoamRecord >::const_iterator;
FoamConfig() = default;
explicit FoamConfig( const DeckKeyword& );
explicit FoamConfig( const Deck& );
const FoamRecord& getRecord( std::size_t id ) const;
const FoamRecord& getRecord( std::size_t index ) const;
std::size_t size() const;
bool empty() const;