#include <JSONFileAdjacency.hpp>
|
| | JSONFileAdjacency (BaseContainer &&baseContainer, const std::filesystem::path &filePath, util::UnaryFunction< N, nlohmann::json > auto toJson, util::UnaryFunction< nlohmann::json, N > auto fromJson) |
| |
| | ~JSONFileAdjacency () |
| |
| | AdjacencyContainerDecorator (const BaseContainer &delegate) |
| |
| | AdjacencyContainerDecorator (BaseContainer &&delegate) |
| |
| void | addAdjacency (const N &from, const N &to) |
| |
| void | addAdjacency (N &&from, N &&to) |
| |
| void | addAdjacencies (util::forward_range_of< std::pair< N, N > > auto &&pairs) |
| |
| bool | addNode (const N &node) |
| |
| bool | addNode (N &&node) |
| |
| bool | addNodes (util::forward_range_of< N > auto &&nodes) |
| |
| void | removeNode (const N &node) |
| |
| void | removeNodes (util::forward_range_of< N > auto &&nodes) |
| |
| void | removeAdjacency (const N &from, const N &to) |
| |
| void | removeAdjacencies (util::forward_range_of< std::pair< N, N > > auto &&pairs) |
| |
| bool | contains (const N &node) const noexcept |
| |
| bool | hasAdjacency (const N &from, const N &to) const noexcept |
| |
| auto | adjacency (const N &node) const noexcept |
| |
| auto | nodes () const noexcept |
| |
| auto | getAdjacencyPairs () const noexcept |
| |
| void | clear () noexcept |
| |
◆ JSONFileAdjacency()
template<typename BaseContainer >
| fishnet::graph::JSONFileAdjacency< BaseContainer >::JSONFileAdjacency |
( |
BaseContainer && |
baseContainer, |
|
|
const std::filesystem::path & |
filePath, |
|
|
util::UnaryFunction< N, nlohmann::json > auto |
toJson, |
|
|
util::UnaryFunction< nlohmann::json, N > auto |
fromJson |
|
) |
| |
|
inline |
◆ ~JSONFileAdjacency()
template<typename BaseContainer >
The documentation for this class was generated from the following file: