GCC Middle and Back End API Reference
libgdiagnostics::graph Class Reference

#include <libgdiagnostics++.h>

Collaboration diagram for libgdiagnostics::graph:

Public Member Functions

 graph ()
 graph (diagnostic_graph *graph)
 graph (const diagnostic_graph *graph)
 graph (const graph &other)=delete
graphoperator= (const graph &other)=delete
 graph (graph &&other)
graphoperator= (graph &&other)
 ~graph ()
void set_description (const char *)
void set_description (message_buffer &&)
node get_node_by_id (const char *id) const
edge get_edge_by_id (const char *id) const
edge add_edge (const char *id, node src_node, node dst_node, const char *label)
edge add_edge (const char *id, node src_node, node dst_node, message_buffer &&label)

Data Fields

diagnostic_graphm_inner
bool m_owned

Constructor & Destructor Documentation

◆ graph() [1/5]

libgdiagnostics::graph::graph ( )
inline

References false, m_inner, and m_owned.

Referenced by graph(), graph(), graph(), graph(), operator=(), and operator=().

◆ graph() [2/5]

libgdiagnostics::graph::graph ( diagnostic_graph * graph)
inline

References graph(), m_inner, m_owned, and true.

◆ graph() [3/5]

libgdiagnostics::graph::graph ( const diagnostic_graph * graph)
inline

References false, graph(), m_inner, and m_owned.

◆ graph() [4/5]

libgdiagnostics::graph::graph ( const graph & other)
delete

References graph().

◆ graph() [5/5]

libgdiagnostics::graph::graph ( graph && other)
inline

References graph(), m_inner, and m_owned.

◆ ~graph()

libgdiagnostics::graph::~graph ( )
inline

Member Function Documentation

◆ add_edge() [1/2]

edge graph::add_edge ( const char * id,
node src_node,
node dst_node,
const char * label )
inline

◆ add_edge() [2/2]

edge graph::add_edge ( const char * id,
node src_node,
node dst_node,
message_buffer && label )
inline

◆ get_edge_by_id()

edge graph::get_edge_by_id ( const char * id) const
inline

◆ get_node_by_id()

node graph::get_node_by_id ( const char * id) const
inline

◆ operator=() [1/2]

graph & libgdiagnostics::graph::operator= ( const graph & other)
delete

References graph().

◆ operator=() [2/2]

graph & libgdiagnostics::graph::operator= ( graph && other)
inline

References graph(), m_inner, and m_owned.

◆ set_description() [1/2]

void graph::set_description ( const char * desc)
inline

◆ set_description() [2/2]

void graph::set_description ( message_buffer && msg_buf)
inline

Field Documentation

◆ m_inner

◆ m_owned

bool libgdiagnostics::graph::m_owned

The documentation for this class was generated from the following file: