29 #include <boost/iterator/iterator_facade.hpp>
40 const std::string&
name()
const;
41 size_t count(
const std::string& keyword)
const;
56 bool ensureKeywordSectionAffiliation =
false);
60 static bool isSectionDelimiter(
const std::string& keywordName);
61 static bool hasSection(
DeckConstPtr deck,
const std::string& startKeyword);
62 void populateSection(
DeckConstPtr deck,
const std::string& startKeyword);
104 #endif // SECTION_HPP
std::shared_ptr< Section > SectionPtr
Definition: Section.hpp:65
REGIONSSection(DeckConstPtr deck)
Definition: Section.hpp:90
SUMMARYSection(DeckConstPtr deck)
Definition: Section.hpp:100
static bool hasSUMMARY(DeckConstPtr deck)
Definition: Section.hpp:49
Definition: Section.hpp:98
static bool hasSCHEDULE(DeckConstPtr deck)
Definition: Section.hpp:50
static bool checkSectionTopology(DeckConstPtr deck, bool ensureKeywordSectionAffiliation=false)
Definition: Section.hpp:83
PROPSSection(DeckConstPtr deck)
Definition: Section.hpp:85
Definition: Section.hpp:36
Definition: Section.hpp:78
RUNSPECSection(DeckConstPtr deck)
Definition: Section.hpp:70
std::shared_ptr< const Deck > DeckConstPtr
Definition: Deck.hpp:86
GRIDSection(DeckConstPtr deck)
Definition: Section.hpp:75
size_t count(const std::string &keyword) const
Section(DeckConstPtr deck, const std::string &startKeyword)
static bool hasPROPS(DeckConstPtr deck)
Definition: Section.hpp:46
Definition: Section.hpp:73
std::shared_ptr< const Section > SectionConstPtr
Definition: Section.hpp:66
static bool hasGRID(DeckConstPtr deck)
Definition: Section.hpp:44
static bool hasREGIONS(DeckConstPtr deck)
Definition: Section.hpp:47
Definition: Section.hpp:68
static bool hasSOLUTION(DeckConstPtr deck)
Definition: Section.hpp:48
static bool hasRUNSPEC(DeckConstPtr deck)
Definition: Section.hpp:43
EDITSection(DeckConstPtr deck)
Definition: Section.hpp:80
Definition: Section.hpp:88
const std::string & name() const
SOLUTIONSection(DeckConstPtr deck)
Definition: Section.hpp:95
Definition: Section.hpp:93
static bool hasEDIT(DeckConstPtr deck)
Definition: Section.hpp:45