add isSerializing member to eclmpiserializer

sometimes it is necessary to know in user code
This commit is contained in:
Arne Morten Kvarving 2020-03-17 08:12:15 +01:00
parent 6ce41ba87b
commit 13639cdace

View File

@ -164,6 +164,11 @@ public:
return m_position;
}
bool isSerializing() const
{
return m_op != Operation::UNPACK;
}
protected:
template<class T>
struct is_pair {