PandA-2024.02
Public Member Functions
var_pp_functor Struct Referenceabstract

Base class functor used by prettyPrintVertex to print variables. More...

#include <var_pp_functor.hpp>

Inheritance diagram for var_pp_functor:
Inheritance graph
[legend]

Public Member Functions

virtual ~var_pp_functor ()=default
 Destructor. More...
 
virtual std::string operator() (unsigned int var) const =0
 This functor returns a string representing the variable (usually the name of the variable). More...
 

Detailed Description

Base class functor used by prettyPrintVertex to print variables.

Definition at line 63 of file var_pp_functor.hpp.

Constructor & Destructor Documentation

◆ ~var_pp_functor()

virtual var_pp_functor::~var_pp_functor ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator()()

virtual std::string var_pp_functor::operator() ( unsigned int  var) const
pure virtual

This functor returns a string representing the variable (usually the name of the variable).

This can be used both in variable declaration and in variable use. The string returned depends on the type of manipulation performed by the backend layer.

Parameters
varis the nodeid of the variable that should be analyzed.

Implemented in isolated_var_pp_functor, address_var_pp_functor, pointer_var_pp_functor, and std_var_pp_functor.

Referenced by isolated_var_pp_functor::isolated_var_pp_functor(), and std_var_pp_functor::std_var_pp_functor().

Here is the caller graph for this function:

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

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