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

Data node generated by the test. More...

#include <shamtest/details/DataNode.hpp>

Collaboration diagram for shamtest::details::DataNode:

Public Member Functions

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 DataNode deserialize (std::basic_stringstream< byte > &reader)
 DeSerialize the assertion from binary format.

Public Attributes

std::string name
 Name of the data node.
std::vector< f64data
 Held data.

Detailed Description

Data node generated by the test.

Definition at line 26 of file DataNode.hpp.

Member Function Documentation

◆ deserialize()

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

DeSerialize the assertion from binary format.

Definition at line 53 of file DataNode.cpp.

Here is the call graph for this function:

◆ serialize()

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

Serialize the assertion in binary format.

Definition at line 49 of file DataNode.cpp.

◆ serialize_json()

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

Serialize the assertion in JSON.

Definition at line 36 of file DataNode.cpp.

Member Data Documentation

◆ data

std::vector<f64> shamtest::details::DataNode::data

Held data.

Definition at line 28 of file DataNode.hpp.

◆ name

std::string shamtest::details::DataNode::name

Name of the data node.

Definition at line 27 of file DataNode.hpp.


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