|
OTest2
A C++ testing framework
|
A factory of testmark objects used for deserialization. More...
#include <testmarkfactory.h>
Classes | |
| struct | Impl |
Public Member Functions | |
| TestMarkFactory (const TestMarkFactory &)=delete | |
| TestMarkFactory & | operator= (const TestMarkFactory &)=delete |
| TestMarkFactory () | |
| Ctor. More... | |
| ~TestMarkFactory () | |
| Dtor. More... | |
| TestMarkPtr | createMark (const std::string &typemark_) |
| Create new empty testmark. More... | |
| template<typename Mark_ > | |
| void | registerMark () |
| Register a testmark type. More... | |
A factory of testmark objects used for deserialization.
Definition at line 45 of file testmarkfactory.h.
|
delete |
| OTest2::TestMarkFactory::TestMarkFactory | ( | ) |
Ctor.
The constructor automatically registers the standard testmark classes
Definition at line 65 of file testmarkfactory.cpp.
| OTest2::TestMarkFactory::~TestMarkFactory | ( | ) |
Dtor.
Definition at line 78 of file testmarkfactory.cpp.
| TestMarkPtr OTest2::TestMarkFactory::createMark | ( | const std::string & | typemark_ | ) |
Create new empty testmark.
| typemark_ | Type identifier of the testmark |
| ExcTestMarkIn |
Definition at line 82 of file testmarkfactory.cpp.
|
delete |
|
inline |
Register a testmark type.
| Mark_ | The type of the registered testmark |
Definition at line 89 of file testmarkfactory.h.
1.8.17