44 #ifndef TYPED_NODE_INFO_HPP 45 #define TYPED_NODE_INFO_HPP 84 #define TYPE_GENERIC 8 98 template <
class Graph>
110 template <
class Graph>
150 void print(std::ostream&,
int detail_level = 0)
const override;
170 #define GET_OPERATION(data, vertex_index) Cget_node_info<TypedNodeInfo>(vertex_index, *(data))->node_operation 178 #define GET_NAME(data, vertex_index) Cget_node_info<TypedNodeInfo>(vertex_index, *(data))->vertex_name 186 #define GET_TYPE(data, vertex_index) Cget_node_info<TypedNodeInfo>(vertex_index, *(data))->node_type std::string vertex_name
Definition of the node name property.
TypedNodeInfo()
Constructor.
#define GET_TYPE(data, vertex_index)
Helper macro returning the type associated with a node.
void print(std::ostream &, int detail_level=0) const override
Print the information associated with the node of the graph.
Class specification of the graph structures.
std::string node_operation
Custom vertex property: node_operation.
#define TYPE_EXIT
constant identifying the node type of an exit node.
Base class description of data information associated with each node of a graph.
bool is_exit_node(const Graph *g, typename boost::graph_traits< Graph >::vertex_descriptor node)
Helper function checking if a node is an exit node.
~TypedNodeInfo() override
Destructor.
unsigned int node_type
Custom vertex property: node_type.
bool is_entry_node(const Graph *g, typename boost::graph_traits< Graph >::vertex_descriptor node)
Base class storing user data information.
Template definition of refcount.
#define TYPE_ENTRY
constant identifying the node type of an entry node.
friend std::ostream & operator<<(std::ostream &os, const TypedNodeInfo &s)
Friend definition of the << operator.