Skip to content

DOTGraphNode

Synopsis

Declared in <src/midend/astDump/AstAttributeDOT.h>

class [[visibility("default")]] DOTGraphNode
    : public AstAttributeDOT

Description

The class class DOTGraphNode implements convenience functions specific to a graph node for building a dotoptions string. It also contains information about which node in the AST weoperate on.

Base Classes

Name Description
AstAttributeDOT

Enums

Name
DOTShapeTypes

Member Functions

Name Description
DOTGraphNode
DOTGraphNode(SgNode* n); [constructor]
Construct from SgNode
get_dot_options_list
std::vector<std::string> get_dot_options_list();
get_dot_options_string
std::string get_dot_options_string();
get_fillcolor
std::string get_fillcolor();
get_node
SgNode* get_node();
get_shape
DOTShapeTypes get_shape();
get_shape_string
std::string get_shape_string();
set_fillcolor
void set_fillcolor(std::string);
set_shape
void set_shape(DOTShapeTypes a_shape);

Private Data Members

Name
fillcolor
node
shape

Created with MrDocs