![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Public Member Functions | |
| void | _impl_to_json (nlohmann::json &j) const override |
| Write derived-class fields into a JSON object. | |
| std::string | type_name () const override |
| Return the type discriminator string for this class. | |
| Public Member Functions inherited from shamrock::solvergraph::IDataEdge< T > | |
| virtual void | free_alloc () |
| Free allocated memory. | |
| IEdgeNamed (std::string name, std::string texsymbol) | |
| Public Member Functions inherited from shamrock::solvergraph::IEdgeNamed | |
| IEdgeNamed (std::string name, std::string texsymbol) | |
| virtual std::string | _impl_get_dot_label () const |
| virtual std::string | _impl_get_tex_symbol () const |
| virtual std::string | get_raw_tex_symbol () const |
| Public Member Functions inherited from shamrock::solvergraph::IEdge | |
| std::string | get_label () const |
| std::string | get_tex_symbol () const |
| Public Member Functions inherited from shambase::WithUUID< IEdge, u64 > | |
| u64 | get_uuid () const |
| Get the uuid of the class. | |
| WithUUID () | |
| Constructor of the class. | |
| Public Member Functions inherited from shamrock::solvergraph::IFreeable | |
| virtual | ~IFreeable () |
| Virtual destructor. | |
| Public Member Functions inherited from shamrock::solvergraph::JsonSerializable | |
| void | to_json (nlohmann::json &j) const |
| Write this object to JSON, including the "type" discriminator. | |
Static Public Member Functions | |
| static IDataEdgeSerializable< T > | from_json (const nlohmann::json &j) |
| static std::string | type_name_static () |
| Static Public Member Functions inherited from shamrock::solvergraph::IDataEdge< T > | |
| static std::shared_ptr< IDataEdge< T > > | make_shared (std::string name, std::string texsymbol) |
| Static Public Member Functions inherited from shamrock::solvergraph::JsonSerializable | |
| static std::unique_ptr< JsonSerializable > | from_json (const nlohmann::json &j) |
| Reconstruct a registered type from JSON. | |
Additional Inherited Members | |
| Public Attributes inherited from shamrock::solvergraph::IDataEdge< T > | |
| T | data = {} |
| Protected Attributes inherited from shambase::WithUUID< IEdge, u64 > | |
| u64 | uuid |
| The unique identifier of the class. | |
Definition at line 30 of file IDataEdgeSerializable.hpp.
|
inlineoverridevirtual |
Write derived-class fields into a JSON object.
Must not be responsible for the "type" discriminator; to_json sets it after this call.
| j | JSON object to fill |
Implements shamrock::solvergraph::JsonSerializable.
Definition at line 35 of file IDataEdgeSerializable.hpp.
|
inlinestatic |
Definition at line 41 of file IDataEdgeSerializable.hpp.
|
inlineoverridevirtual |
Return the type discriminator string for this class.
Must match the name used in JsonSerializable_registry::register_type and the "type" field in JSON.
Implements shamrock::solvergraph::JsonSerializable.
Definition at line 54 of file IDataEdgeSerializable.hpp.
|
inlinestatic |
Definition at line 50 of file IDataEdgeSerializable.hpp.