Program Listing for File JSONGraphWriter.h

Return to documentation for file (include/flamegpu/io/JSONGraphWriter.h)

#ifndef INCLUDE_FLAMEGPU_IO_JSONGRAPHWRITER_H_
#define INCLUDE_FLAMEGPU_IO_JSONGRAPHWRITER_H_

#include <memory>
#include <string>

#include "flamegpu/detail/cuda.cuh"

namespace flamegpu {
namespace detail {
class CUDAEnvironmentDirectedGraphBuffers;
}  // namespace detail
namespace io {

class JSONGraphWriter {
 public:
     static void saveAdjacencyLike(const std::string &filepath, const std::shared_ptr<const detail::CUDAEnvironmentDirectedGraphBuffers> &directed_graph, cudaStream_t stream, bool pretty_print = true);
};

}  // namespace io
}  // namespace flamegpu

#endif  // INCLUDE_FLAMEGPU_IO_JSONGRAPHWRITER_H_