Replaces unecessary header includes with fwd decls

Every header is self-contained and includes only what it must to
function, relying on users include what they need in source files,
adopting a pay-what-you-use model (in particular for internal
dependencies).
This commit is contained in:
Jørgen Kvalsvik
2016-01-24 21:49:39 +01:00
parent 34eee09fc1
commit 4b98943665
143 changed files with 632 additions and 412 deletions

View File

@@ -27,6 +27,7 @@
#include <opm/parser/eclipse/Parser/Parser.hpp>
#include <opm/parser/eclipse/Parser/ParseMode.hpp>
#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
#include <opm/parser/eclipse/EclipseState/Grid/TransMult.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Schedule.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/ScheduleEnums.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/CompletionSet.hpp>
@@ -39,9 +40,9 @@ using namespace Opm;
BOOST_AUTO_TEST_CASE(MULTFLT_IN_SCHEDULE) {
ParserPtr parser(new Parser());
boost::filesystem::path scheduleFile("testdata/integration_tests/TRANS/Deck1");
std::string scheduleFile("testdata/integration_tests/TRANS/Deck1");
ParseMode parseMode;
DeckPtr deck = parser->parseFile(scheduleFile.string(), parseMode);
DeckPtr deck = parser->parseFile(scheduleFile, parseMode);
std::shared_ptr<EclipseState> eclState = std::make_shared<EclipseState>( deck , parseMode );
std::shared_ptr<const TransMult> trans = eclState->getTransMult();
std::shared_ptr<const Schedule> schedule = eclState->getSchedule();