Files
opm-common/sunbeam/deck_keyword.cpp

15 lines
455 B
C++
Raw Normal View History

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