ROSE 0.11.145.192
Public Member Functions | List of all members
Rose::Stringifier Class Reference

Description

Shortens names of int64_t stringifiers.

Enum stringifier functions are automatically and sometimes have very long names. This class is intended to be a convenient way to make a locally short-named object that can be used in place of the long stringifier.

Stringifier stringifyType(stringifyBinaryAnalysisInstructionSemanticsDataFlowSemanticsDataFlowEdgeEdgeType);
std::cout <<stringifyType(CLOBBER) <<"\n";
Shortens names of int64_t stringifiers.
Definition stringify.h:20

Definition at line 20 of file stringify.h.

#include <roseSupport/stringify.h>

Public Member Functions

 Stringifier (std::string(*stringifier)(int64_t, const char *, bool))
 
std::string operator() (int64_t n, const char *strip=NULL, bool canonic=false)
 

Constructor & Destructor Documentation

◆ Stringifier()

Rose::Stringifier::Stringifier ( std::string(*)(int64_t, const char *, bool)  stringifier)
inline

Definition at line 23 of file stringify.h.

Member Function Documentation

◆ operator()()

std::string Rose::Stringifier::operator() ( int64_t  n,
const char *  strip = NULL,
bool  canonic = false 
)
inline

Definition at line 24 of file stringify.h.


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