OTest2
A C++ testing framework
|
Go to the documentation of this file.
20 #ifndef OTest2__INCLUDE_OTEST2_TESTMARKIN_H_
21 #define OTest2__INCLUDE_OTEST2_TESTMARKIN_H_
30 class TestMarkFactory;
67 virtual std::int64_t
readInt() = 0;
static TestMarkPtr deserialize(TestMarkFactory &factory_, TestMarkIn &deserializer_)
Deserialize a testmark.
A generic interface of a testmark deserializer.
virtual ~TestMarkIn()
Dtor.
virtual long double readFloat()=0
Parse float following in the stream.
std::shared_ptr< TestMark > TestMarkPtr
virtual std::int64_t readInt()=0
Parse integer following in the stream.
virtual std::string readString()=0
Parse string following in the stream.
virtual std::string readTypeMark()=0
Parse type mark following in the stream.
TestMarkIn & operator=(const TestMarkIn &)=delete
A factory of testmark objects used for deserialization.