mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Macros | Variables
DotTool.cpp File Reference
#include <mutable/util/DotTool.hpp>
#include <mutable/util/fn.hpp>
#include <mutable/util/macro.hpp>
#include <fstream>
#include <iostream>
#include <sstream>
Include dependency graph for DotTool.cpp:

Go to the source code of this file.

Macros

#define SYMBOLS(X)
 
#define LOADSYM(SYM)   SYM = (decltype(SYM))(dlsym(libgraphviz, #SYM));
 

Variables

static int(* agclose )(Agraph_t *)
 
static Agraph_t *(* agmemread )(const char *)
 
static GVC_t *(* gvContext )()
 
static int(* gvFreeContext )(GVC_t *)
 
static int(* gvFreeLayout )(GVC_t *, graph_t *)
 
static int(* gvLayout )(GVC_t *, graph_t *, const char *)
 
static int(* gvRenderFilename )(GVC_t *, graph_t *, const char *, const char *)
 
static void * libgraphviz
 
static GVC_t * gvc
 

Macro Definition Documentation

◆ LOADSYM

#define LOADSYM (   SYM)    SYM = (decltype(SYM))(dlsym(libgraphviz, #SYM));

Definition at line 43 of file DotTool.cpp.

◆ SYMBOLS

#define SYMBOLS (   X)
Value:
X(agmemread) \
X(gvContext) \
X(gvLayout) \
static int(* gvFreeLayout)(GVC_t *, graph_t *)
Definition: DotTool.cpp:30
static int(* gvRenderFilename)(GVC_t *, graph_t *, const char *, const char *)
Definition: DotTool.cpp:32
static GVC_t *(* gvContext)()
Definition: DotTool.cpp:28
static Agraph_t *(* agmemread)(const char *)
Definition: DotTool.cpp:27
static int(* agclose)(Agraph_t *)
Definition: DotTool.cpp:26
static int(* gvFreeContext)(GVC_t *)
Definition: DotTool.cpp:29
static int(* gvLayout)(GVC_t *, graph_t *, const char *)
Definition: DotTool.cpp:31
#define X(Kind)
Definition: Operator.hpp:621

Definition at line 34 of file DotTool.cpp.

Variable Documentation

◆ agclose

int(* agclose) (Agraph_t *) ( Agraph_t *  )
static

Definition at line 26 of file DotTool.cpp.

Referenced by m::DotTool::render_to_pdf().

◆ agmemread

Agraph_t *(* agmemread) (const char *) ( const char *  )
static

Definition at line 27 of file DotTool.cpp.

Referenced by m::DotTool::render_to_pdf().

◆ gvc

GVC_t* gvc
static

Definition at line 52 of file DotTool.cpp.

Referenced by m::DotTool::DotTool(), and m::DotTool::render_to_pdf().

◆ gvContext

GVC_t *(* gvContext) () ( )
static

Definition at line 28 of file DotTool.cpp.

Referenced by m::DotTool::DotTool().

◆ gvFreeContext

int(* gvFreeContext) (GVC_t *) ( GVC_t *  )
static

Definition at line 29 of file DotTool.cpp.

◆ gvFreeLayout

int(* gvFreeLayout) (GVC_t *, graph_t *) ( GVC_t *  ,
graph_t *   
)
static

Definition at line 30 of file DotTool.cpp.

Referenced by m::DotTool::render_to_pdf().

◆ gvLayout

int(* gvLayout) (GVC_t *, graph_t *, const char *) ( GVC_t *  ,
graph_t *  ,
const char *   
)
static

Definition at line 31 of file DotTool.cpp.

Referenced by m::DotTool::render_to_pdf().

◆ gvRenderFilename

int(* gvRenderFilename) (GVC_t *, graph_t *, const char *, const char *) ( GVC_t *  ,
graph_t *  ,
const char *  ,
const char *   
)
static

Definition at line 32 of file DotTool.cpp.

Referenced by m::DotTool::render_to_pdf().

◆ libgraphviz

void* libgraphviz
static

Definition at line 51 of file DotTool.cpp.

Referenced by m::DotTool::DotTool(), and m::DotTool::show().