|
GridFire 0.0.1a
General Purpose Nuclear Network
|
#include <py_io.h>
Private Member Functions | |
| gridfire::io::ParsedNetworkData | parse (const std::string &filename) const override |
| Parses a network file and returns the parsed data. | |
Additional Inherited Members | |
Public Member Functions inherited from gridfire::io::NetworkFileParser | |
| virtual | ~NetworkFileParser ()=default |
| Virtual destructor for the base class. | |
|
overrideprivatevirtual |
Parses a network file and returns the parsed data.
This is a pure virtual function that must be implemented by derived classes. It takes a filename as input and returns a ParsedNetworkData struct containing the information extracted from the file.
| filename | The path to the network file to parse. |
ParsedNetworkData struct containing the parsed reaction data.| std::runtime_error | If the file cannot be opened or a parsing error occurs. |
Usage
Implements gridfire::io::NetworkFileParser.