Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
shamtest::details::TestData Struct Reference

< Test data More...

#include <shamtest/details/TestData.hpp>

+ Collaboration diagram for shamtest::details::TestData:

Public Member Functions

void add_data (std::string name, const std::vector< f64 > &v)
 Add some data to the dataset.
 
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 TestData deserialize (std::basic_stringstream< byte > &stream)
 DeSerialize the assertion from binary format.
 

Public Attributes

std::string dataset_name
 Name of the dataset.
 
std::vector< DataNodedataset
 Dataset.
 

Detailed Description

< Test data

Definition at line 23 of file TestData.hpp.

Member Function Documentation

◆ add_data()

void shamtest::details::TestData::add_data ( std::string  name,
const std::vector< f64 > &  v 
)
inline

Add some data to the dataset.

Definition at line 28 of file TestData.hpp.

Member Data Documentation

◆ dataset

std::vector<DataNode> shamtest::details::TestData::dataset

Dataset.

Definition at line 25 of file TestData.hpp.

◆ dataset_name

std::string shamtest::details::TestData::dataset_name

Name of the dataset.

Definition at line 24 of file TestData.hpp.


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