Loading...
Searching...
No Matches
py_io.cpp
Go to the documentation of this file.
#include "gridfire/io/io.h"
#include "py_io.h"
#include <pybind11/pybind11.h>
namespace py = pybind11;
gridfire::io::ParsedNetworkData PyNetworkFileParser::parse(const std::string &filename) const {
PYBIND11_OVERLOAD_PURE(
gridfire::io::ParsedNetworkData,
gridfire::io::NetworkFileParser,
parse // Method name
);
}
PyNetworkFileParser::parse
gridfire::io::ParsedNetworkData parse(const std::string &filename) const override
Parses a network file and returns the parsed data.
Definition py_io.cpp:8
gridfire::io::NetworkFileParser
An abstract base class for network file parsers.
Definition network_file.h:22
io.h
gridfire::io::ParsedNetworkData
std::vector< std::string > ParsedNetworkData
Definition network_file.h:12
py_io.h