PandA-2024.02
Public Member Functions | Data Fields | Friends
TypedNodeInfo Struct Reference

#include <typed_node_info.hpp>

Inheritance diagram for TypedNodeInfo:
Inheritance graph
[legend]
Collaboration diagram for TypedNodeInfo:
Collaboration graph
[legend]

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...
 

Detailed Description

Definition at line 116 of file typed_node_info.hpp.

Constructor & Destructor Documentation

◆ TypedNodeInfo()

TypedNodeInfo::TypedNodeInfo ( )

Constructor.

Header include.

Definition at line 48 of file typed_node_info.cpp.

References ~TypedNodeInfo().

Here is the call graph for this function:

◆ ~TypedNodeInfo()

TypedNodeInfo::~TypedNodeInfo ( )
overridedefault

Destructor.

Referenced by TypedNodeInfo().

Here is the caller graph for this function:

Member Function Documentation

◆ print()

void TypedNodeInfo::print ( std::ostream &  os,
int  detail_level = 0 
) const
overridevirtual

Print the information associated with the node of the graph.

Parameters
osis 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().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const TypedNodeInfo s 
)
friend

Friend definition of the << operator.

Parameters
osis the output stream.
sis the node to print.

Definition at line 157 of file typed_node_info.hpp.

Field Documentation

◆ node_operation

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().

◆ node_type

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().

◆ vertex_name

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().


The documentation for this struct was generated from the following files:

Generated on Mon Feb 12 2024 13:04:09 for PandA-2024.02 by doxygen 1.8.13