HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
apex::APEX_RunDataErrorBase Class Reference

#include <APEX_Generic.h>

Public Member Functions

void initializeFromCompileArguments (const APEX_Graph *in_graph, APEX_NodeID for_node, APEX_Program *bind_to)
 
template<typename... Args>
void addError (const char *fmt, const Args &...args) const
 Add a string error using format()-style arguments. More...
 
template<typename... Args>
void addWarning (const char *fmt, const Args &...args) const
 Add a string warning using format()-style arguments. More...
 
template<typename... Args>
void addMessage (const char *fmt, const Args &...args) const
 Add a string message using format()-style arguments. More...
 
void stealErrors (UT_ErrorManager &err_mgr)
 Steal errors from another error manager. More...
 
const UT_ErrorManagererrorManager () const
 
const UT_StringHoldernodePath () const
 

Detailed Description

APEX callbacks defined using APEX_GenericFunctionRunData whose RunData inherits from this class will be automatically provided with a UT_ErrorManager for reporting computation errors.

Definition at line 44 of file APEX_Generic.h.

Member Function Documentation

template<typename... Args>
void apex::APEX_RunDataErrorBase::addError ( const char *  fmt,
const Args &...  args 
) const
inline

Add a string error using format()-style arguments.

Definition at line 56 of file APEX_Generic.h.

template<typename... Args>
void apex::APEX_RunDataErrorBase::addMessage ( const char *  fmt,
const Args &...  args 
) const
inline

Add a string message using format()-style arguments.

Definition at line 70 of file APEX_Generic.h.

template<typename... Args>
void apex::APEX_RunDataErrorBase::addWarning ( const char *  fmt,
const Args &...  args 
) const
inline

Add a string warning using format()-style arguments.

Definition at line 63 of file APEX_Generic.h.

const UT_ErrorManager& apex::APEX_RunDataErrorBase::errorManager ( ) const
inline

Accesssors

Definition at line 77 of file APEX_Generic.h.

void apex::APEX_RunDataErrorBase::initializeFromCompileArguments ( const APEX_Graph *  in_graph,
APEX_NodeID  for_node,
APEX_Program *  bind_to 
)

Extract the error manager from the program.

const UT_StringHolder& apex::APEX_RunDataErrorBase::nodePath ( ) const
inline

Accesssors

Definition at line 78 of file APEX_Generic.h.

void apex::APEX_RunDataErrorBase::stealErrors ( UT_ErrorManager err_mgr)
inline

Steal errors from another error manager.

Definition at line 82 of file APEX_Generic.h.


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