OTest2
A C++ testing framework
Public Member Functions | List of all members
OTest2::TestMarkOut Class Referenceabstract

A generic interface of a serializer of test marks. More...

#include <testmarkout.h>

Inheritance diagram for OTest2::TestMarkOut:
Inheritance graph
[legend]

Public Member Functions

 TestMarkOut ()
 Ctor. More...
 
virtual ~TestMarkOut ()
 Dtor. More...
 
 TestMarkOut (const TestMarkOut &)=delete
 
TestMarkOutoperator= (const TestMarkOut &)=delete
 
virtual void writeTypeMark (const char *typemark_)=0
 Write type mark of currently stored testmark. More...
 
virtual void writeInt (std::int64_t value_)=0
 Write a 64 bit integer. More...
 
virtual void writeFloat (long double value_)=0
 Write 64-bit float. More...
 
virtual void writeString (const std::string &string_)=0
 Write text string. More...
 

Detailed Description

A generic interface of a serializer of test marks.

Definition at line 31 of file testmarkout.h.

Constructor & Destructor Documentation

◆ TestMarkOut() [1/2]

OTest2::TestMarkOut::TestMarkOut ( )

Ctor.

Definition at line 24 of file testmarkout.cpp.

◆ ~TestMarkOut()

OTest2::TestMarkOut::~TestMarkOut ( )
virtual

Dtor.

Definition at line 28 of file testmarkout.cpp.

◆ TestMarkOut() [2/2]

OTest2::TestMarkOut::TestMarkOut ( const TestMarkOut )
delete

Member Function Documentation

◆ operator=()

TestMarkOut& OTest2::TestMarkOut::operator= ( const TestMarkOut )
delete

◆ writeFloat()

virtual void OTest2::TestMarkOut::writeFloat ( long double  value_)
pure virtual

Write 64-bit float.

Parameters
value_The value

Implemented in OTest2::TestMarkOutBin.

◆ writeInt()

virtual void OTest2::TestMarkOut::writeInt ( std::int64_t  value_)
pure virtual

Write a 64 bit integer.

Parameters
value_The integer

Implemented in OTest2::TestMarkOutBin.

◆ writeString()

virtual void OTest2::TestMarkOut::writeString ( const std::string &  string_)
pure virtual

Write text string.

Parameters
string_The string

Implemented in OTest2::TestMarkOutBin.

◆ writeTypeMark()

virtual void OTest2::TestMarkOut::writeTypeMark ( const char *  typemark_)
pure virtual

Write type mark of currently stored testmark.

Parameters
typemark_The typemark. It's a unique string identifying the testmark type and consisting maximally of 255 characters.

Implemented in OTest2::TestMarkOutBin.


The documentation for this class was generated from the following files: