Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamtest::details::TestDataList Struct Reference

List of data generated by a test. More...

#include <shamtest/details/TestDataList.hpp>

Collaboration diagram for shamtest::details::TestDataList:

Public Member Functions

TestDatanew_dataset (std::string name)
 Create a new TestData in this TestDataList and return a reference to it.
std::string serialize_json ()
 Serialize the assertion in JSON.
void serialize (std::basic_stringstream< byte > &stream)
 Serialize the assertion in binary format.

Static Public Member Functions

static TestDataList deserialize (std::basic_stringstream< byte > &reader)
 DeSerialize the assertion from binary format.

Public Attributes

std::vector< TestDatatest_data
 Held test data.

Detailed Description

List of data generated by a test.

Definition at line 24 of file TestDataList.hpp.

Member Function Documentation

◆ deserialize()

TestDataList shamtest::details::TestDataList::deserialize ( std::basic_stringstream< byte > & reader)
static

DeSerialize the assertion from binary format.

Definition at line 40 of file TestDataList.cpp.

Here is the call graph for this function:

◆ new_dataset()

TestData & shamtest::details::TestDataList::new_dataset ( std::string name)
inlinenodiscard

Create a new TestData in this TestDataList and return a reference to it.

Definition at line 33 of file TestDataList.hpp.

◆ serialize()

void shamtest::details::TestDataList::serialize ( std::basic_stringstream< byte > & stream)

Serialize the assertion in binary format.

Definition at line 37 of file TestDataList.cpp.

Here is the call graph for this function:

◆ serialize_json()

std::string shamtest::details::TestDataList::serialize_json ( )

Serialize the assertion in JSON.

Definition at line 23 of file TestDataList.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ test_data

std::vector<TestData> shamtest::details::TestDataList::test_data

Held test data.

Definition at line 27 of file TestDataList.hpp.


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