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

Generic implementation of the testmark serializer based on a binary stream. More...

#include <testmarkoutbin.h>

Inheritance diagram for OTest2::TestMarkOutBin:
Inheritance graph
[legend]
Collaboration diagram for OTest2::TestMarkOutBin:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

Generic implementation of the testmark serializer based on a binary stream.

Definition at line 35 of file testmarkoutbin.h.

Constructor & Destructor Documentation

◆ TestMarkOutBin() [1/2]

OTest2::TestMarkOutBin::TestMarkOutBin ( )

Ctor.

Definition at line 33 of file testmarkoutbin.cpp.

◆ ~TestMarkOutBin()

OTest2::TestMarkOutBin::~TestMarkOutBin ( )
virtual

Dtor.

Definition at line 37 of file testmarkoutbin.cpp.

◆ TestMarkOutBin() [2/2]

OTest2::TestMarkOutBin::TestMarkOutBin ( const TestMarkOutBin )
delete

Member Function Documentation

◆ operator=()

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

◆ writeFloat()

void OTest2::TestMarkOutBin::writeFloat ( long double  value_)
overridevirtual

Write 64-bit float.

Parameters
value_The value

Implements OTest2::TestMarkOut.

Definition at line 82 of file testmarkoutbin.cpp.

◆ writeInt()

void OTest2::TestMarkOutBin::writeInt ( std::int64_t  value_)
overridevirtual

Write a 64 bit integer.

Parameters
value_The integer

Implements OTest2::TestMarkOut.

Definition at line 59 of file testmarkoutbin.cpp.

◆ writeString()

void OTest2::TestMarkOutBin::writeString ( const std::string &  string_)
overridevirtual

Write text string.

Parameters
string_The string

Implements OTest2::TestMarkOut.

Definition at line 101 of file testmarkoutbin.cpp.

◆ writeTypeMark()

void OTest2::TestMarkOutBin::writeTypeMark ( const char *  typemark_)
overridevirtual

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.

Implements OTest2::TestMarkOut.

Definition at line 46 of file testmarkoutbin.cpp.


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