PandA-2024.02
|
#include <typed_node_info.hpp>
Public Member Functions | |
TypedNodeInfo () | |
Constructor. More... | |
~TypedNodeInfo () override | |
Destructor. More... | |
void | print (std::ostream &, int detail_level=0) const override |
Print the information associated with the node of the graph. More... | |
Public Member Functions inherited from NodeInfo | |
NodeInfo () | |
Constructor. More... | |
virtual | ~NodeInfo () |
Destructor. More... | |
Data Fields | |
std::string | node_operation |
Custom vertex property: node_operation. More... | |
std::string | vertex_name |
Definition of the node name property. More... | |
unsigned int | node_type |
Custom vertex property: node_type. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const TypedNodeInfo &s) |
Friend definition of the << operator. More... | |
Definition at line 116 of file typed_node_info.hpp.
TypedNodeInfo::TypedNodeInfo | ( | ) |
Constructor.
Header include.
Definition at line 48 of file typed_node_info.cpp.
References ~TypedNodeInfo().
|
overridedefault |
|
overridevirtual |
Print the information associated with the node of the graph.
os | is the output stream. |
Reimplemented from NodeInfo.
Definition at line 54 of file typed_node_info.cpp.
References node_operation, node_type, and vertex_name.
Referenced by cg_node_info::print().
|
friend |
Friend definition of the << operator.
os | is the output stream. |
s | is the node to print. |
Definition at line 157 of file typed_node_info.hpp.
std::string TypedNodeInfo::node_operation |
Custom vertex property: node_operation.
This property defines which operation is performed: assignment, addition, comparison, etc.
Definition at line 122 of file typed_node_info.hpp.
Referenced by print().
unsigned int TypedNodeInfo::node_type |
Custom vertex property: node_type.
This property defines which type of node is: read and write a port, read a constant, if, case, wait and notify or generic operation.
Definition at line 134 of file typed_node_info.hpp.
Referenced by print().
std::string TypedNodeInfo::vertex_name |
Definition of the node name property.
Definition at line 127 of file typed_node_info.hpp.
Referenced by OpNodeInfo::GetNodeId(), OpNodeInfo::GetOperation(), and print().