OTest2
A C++ testing framework
|
A generic interface of a testmark deserializer. More...
#include <testmarkin.h>
Public Member Functions | |
TestMarkIn () | |
Ctor. More... | |
virtual | ~TestMarkIn () |
Dtor. More... | |
TestMarkIn (const TestMarkIn &)=delete | |
TestMarkIn & | operator= (const TestMarkIn &)=delete |
virtual std::string | readTypeMark ()=0 |
Parse type mark following in the stream. More... | |
virtual std::int64_t | readInt ()=0 |
Parse integer following in the stream. More... | |
virtual long double | readFloat ()=0 |
Parse float following in the stream. More... | |
virtual std::string | readString ()=0 |
Parse string following in the stream. More... | |
Static Public Member Functions | |
static TestMarkPtr | deserialize (TestMarkFactory &factory_, TestMarkIn &deserializer_) |
Deserialize a testmark. More... | |
A generic interface of a testmark deserializer.
Definition at line 35 of file testmarkin.h.
OTest2::TestMarkIn::TestMarkIn | ( | ) |
Ctor.
Definition at line 29 of file testmarkin.cpp.
|
virtual |
Dtor.
Definition at line 33 of file testmarkin.cpp.
|
delete |
|
static |
Deserialize a testmark.
factory_ | A factory used for creating of new testmarks |
deserializer_ | A deserializer object |
ExcTestMarkIn |
Definition at line 37 of file testmarkin.cpp.
|
delete |
|
pure virtual |
Parse float following in the stream.
ExcTestMarkIn |
Implemented in OTest2::TestMarkInBin.
|
pure virtual |
Parse integer following in the stream.
ExcTestMarkIn |
Implemented in OTest2::TestMarkInBin.
|
pure virtual |
Parse string following in the stream.
ExcTestMarkIn |
Implemented in OTest2::TestMarkInBin.
|
pure virtual |
Parse type mark following in the stream.
ExcTestMarkIn |
Implemented in OTest2::TestMarkInBin.