Program Listing for File GraphWriter.hpp

Return to documentation for file (include/networkit/io/GraphWriter.hpp)

/*
 * GraphWriter.hpp
 *
 *  Created on: 30.01.2013
 *      Author: Christian Staudt
 */

#ifndef NETWORKIT_IO_GRAPH_WRITER_HPP_
#define NETWORKIT_IO_GRAPH_WRITER_HPP_

#include <networkit/graph/Graph.hpp>

namespace NetworKit {

class GraphWriter {
public:
    virtual ~GraphWriter() = default;

    virtual void write(const Graph &G, std::string_view path) = 0;
};

} /* namespace NetworKit */
#endif // NETWORKIT_IO_GRAPH_WRITER_HPP_