mygraph Namespace Reference

Classes

struct  MyEdge
 
struct  MyGraphAttributes
 
struct  MyVertex
 

Typedefs

using MyGraph = semrel::RelationGraph< MyVertex, MyEdge, MyGraphAttributes >
 

Functions

void from_json (const nlohmann::json &j, MyEdge &edge)
 
void from_json (const nlohmann::json &j, MyGraphAttributes &graph)
 
void from_json (const nlohmann::json &j, MyVertex &vertex)
 
void to_json (nlohmann::json &j, const MyEdge &edge)
 
void to_json (nlohmann::json &j, const MyGraphAttributes &graph)
 
void to_json (nlohmann::json &j, const MyVertex &vertex)
 

Typedef Documentation

◆ MyGraph

Definition at line 25 of file MyGraph.h.

Function Documentation

◆ from_json() [1/3]

void from_json ( const nlohmann::json &  j,
mygraph::MyEdge edge 
)

Definition at line 51 of file json.cpp.

◆ from_json() [2/3]

void from_json ( const nlohmann::json &  j,
mygraph::MyGraphAttributes graph 
)

Definition at line 62 of file json.cpp.

◆ from_json() [3/3]

void from_json ( const nlohmann::json &  j,
mygraph::MyVertex vertex 
)

Definition at line 19 of file json.cpp.

◆ to_json() [1/3]

void to_json ( nlohmann::json &  j,
const MyEdge edge 
)

Definition at line 26 of file json.cpp.

+ Here is the call graph for this function:

◆ to_json() [2/3]

void to_json ( nlohmann::json &  j,
const MyGraphAttributes graph 
)

Definition at line 56 of file json.cpp.

◆ to_json() [3/3]

void to_json ( nlohmann::json &  j,
const MyVertex vertex 
)

Definition at line 7 of file json.cpp.

+ Here is the call graph for this function: