![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shamrock/patch/PatchDataLayerLayout.hpp"
Include dependency graph for PatchDataLayerLayout.cpp:Go to the source code of this file.
Namespaces | |
| namespace | shamrock |
| namespace for the main framework | |
Functions | |
| void | shamrock::patch::to_json (nlohmann::json &j, const PatchDataLayerLayout &p) |
| Serialize a PatchDataLayerLayout object to a JSON object. | |
| void | shamrock::patch::from_json (const nlohmann::json &j, PatchDataLayerLayout &p) |
| Deserialize a PatchDataLayerLayout object from a JSON object. | |
| bool | shamrock::patch::operator== (const PatchDataLayerLayout &lhs, const PatchDataLayerLayout &rhs) |
| Overloaded equality operator for PatchDataLayerLayout class. | |
Definition in file PatchDataLayerLayout.cpp.
| void shamrock::patch::from_json | ( | const nlohmann::json & | j, |
| PatchDataLayerLayout & | p | ||
| ) |
Deserialize a PatchDataLayerLayout object from a JSON object.
This function takes a JSON object and deserializes it to a PatchDataLayerLayout object. It is used to convert a JSON string to a PatchDataLayerLayout object.
| j | The JSON object to deserialize the PatchDataLayerLayout object from |
| p | The PatchDataLayerLayout object to deserialize |
Definition at line 157 of file PatchDataLayerLayout.cpp.
| bool shamrock::patch::operator== | ( | const PatchDataLayerLayout & | lhs, |
| const PatchDataLayerLayout & | rhs | ||
| ) |
Overloaded equality operator for PatchDataLayerLayout class.
This operator is used to check if two PatchDataLayerLayout objects are equal. It compares the fields of the objects and returns true if they are equal, and false otherwise.
| lhs | The first PatchDataLayerLayout object to compare |
| rhs | The second PatchDataLayerLayout object to compare |
Definition at line 163 of file PatchDataLayerLayout.cpp.
| void shamrock::patch::to_json | ( | nlohmann::json & | j, |
| const PatchDataLayerLayout & | p | ||
| ) |
Serialize a PatchDataLayerLayout object to a JSON object.
This function takes a PatchDataLayerLayout object and serializes it to a JSON object. It is used to convert the PatchDataLayerLayout object to a JSON string.
| j | The JSON object to serialize the PatchDataLayerLayout object to |
| p | The PatchDataLayerLayout object to serialize |
Definition at line 95 of file PatchDataLayerLayout.cpp.
Here is the call graph for this function: