2017-09-05 16:29:27 +02:00
|
|
|
#include <opm/parser/eclipse/Deck/DeckItem.hpp>
|
2017-08-31 13:49:09 +02:00
|
|
|
#include <opm/parser/eclipse/Deck/DeckKeyword.hpp>
|
|
|
|
|
#include <opm/parser/eclipse/Deck/DeckRecord.hpp>
|
|
|
|
|
|
2017-09-07 14:38:31 +02:00
|
|
|
#include "sunbeam.hpp"
|
|
|
|
|
#include "converters.hpp"
|
2017-08-31 13:49:09 +02:00
|
|
|
|
2017-09-07 14:38:31 +02:00
|
|
|
void sunbeam::export_DeckKeyword() {
|
|
|
|
|
py::class_< DeckKeyword >( "DeckKeyword", py::no_init )
|
|
|
|
|
.def( "__repr__", &DeckKeyword::name, copy() )
|
|
|
|
|
.def( "__str__", &str<DeckKeyword> )
|
|
|
|
|
.def( "__len__", &DeckKeyword::size )
|
|
|
|
|
;
|
2017-08-31 13:49:09 +02:00
|
|
|
}
|