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 24 of file MyGraph.h.

Function Documentation

◆ from_json() [1/3]

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

Definition at line 54 of file json.cpp.

◆ from_json() [2/3]

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

Definition at line 67 of file json.cpp.

◆ from_json() [3/3]

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

Definition at line 21 of file json.cpp.

◆ to_json() [1/3]

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

Definition at line 28 of file json.cpp.

◆ to_json() [2/3]

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

Definition at line 60 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.