12 #ifndef CPROVER_XMLLANG_GRAPHML_H
13 #define CPROVER_XMLLANG_GRAPHML_H
46 bool has_node(
const std::string &node_name)
const
48 for(
const auto &n :
nodes)
49 if(n.node_name==node_name)
59 if(
nodes[i].node_name==node_name)
76 const std::string &filename,
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
This class represents a node in a directed graph.
bool has_node(const std::string &node_name) const
node_indext add_node_if_not_exists(std::string node_name)
std::map< std::string, std::string > key_valuest
A generic directed graph with a parametric node type.
nodet::node_indext node_indext
node_indext add_node(arguments &&... values)
A Template Class for Graphs.
bool read_graphml(std::istream &is, graphmlt &dest, graphmlt::node_indext &entry, message_handlert &message_handler)
bool write_graphml(const graphmlt &src, std::ostream &os)
std::string invariant_scope
graph_nodet< xml_edget >::edgest edgest
graph_nodet< xml_edget >::edget edget