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

#include <OP_NodeParms.h>

Public Member Functions

 LoadParms (OP_CookEngine cookengine, const OP_GraphProxy *graph, exint nodeidx, const OP_Context &context, OP_NodeCache *cache, UT_ErrorManager *error, DEP_MicroNode *depnode)
 
 ~LoadParms ()
 
const OP_Nodenode () const
 
const OP_GraphProxygraph () const
 
exint nodeIdx () const
 
OP_NodeCachecache () const
 
const OP_Contextcontext () const
 
UT_ErrorManagererror () const
 
DEP_MicroNodedepnode () const
 
void addExplicitInput (DEP_MicroNode &inp, bool check_dup)
 Methods to wire directly to the optional depnode. More...
 
void addExplicitInput (DEP_MicroNode &inp)
 
UT_ErrorSeverity addMessage (const char *type, int code, const char *msg=0, const UT_SourceLocation *loc=0) const
 Methods to add directly to any present error manager. More...
 
UT_ErrorSeverity addWarning (const char *type, int code, const char *msg=0, const UT_SourceLocation *loc=0) const
 
UT_ErrorSeverity addError (const char *type, int code, const char *msg=0, const UT_SourceLocation *loc=0) const
 
UT_ErrorSeverity sopAddMessage (int code, const char *msg=0, const UT_SourceLocation *loc=0) const
 
UT_ErrorSeverity sopAddWarning (int code, const char *msg=0, const UT_SourceLocation *loc=0) const
 
UT_ErrorSeverity sopAddError (int code, const char *msg=0, const UT_SourceLocation *loc=0) const
 
void stealErrors (UT_ErrorManager &src, bool borrow_only=false) const
 

Protected Member Functions

UT_StringHolder formatError (const char *msg) const
 Prefix errors so we can get sensible results. More...
 

Protected Attributes

bool myCookEngine
 
const OP_GraphProxymyGraph
 
exint myNodeIdx
 
const OP_ContextmyContext
 
OP_NodeCachemyCache
 
UT_ErrorManagermyError
 
DEP_MicroNodemyDepNode
 

Detailed Description

Definition at line 72 of file OP_NodeParms.h.

Constructor & Destructor Documentation

OP_NodeParms::LoadParms::LoadParms ( OP_CookEngine  cookengine,
const OP_GraphProxy graph,
exint  nodeidx,
const OP_Context context,
OP_NodeCache cache,
UT_ErrorManager error,
DEP_MicroNode depnode 
)
inline

Definition at line 75 of file OP_NodeParms.h.

OP_NodeParms::LoadParms::~LoadParms ( )
inline

Definition at line 91 of file OP_NodeParms.h.

Member Function Documentation

UT_ErrorSeverity OP_NodeParms::LoadParms::addError ( const char *  type,
int  code,
const char *  msg = 0,
const UT_SourceLocation loc = 0 
) const
inline

Definition at line 116 of file OP_NodeParms.h.

void OP_NodeParms::LoadParms::addExplicitInput ( DEP_MicroNode inp,
bool  check_dup 
)
inline

Methods to wire directly to the optional depnode.

Definition at line 102 of file OP_NodeParms.h.

void OP_NodeParms::LoadParms::addExplicitInput ( DEP_MicroNode inp)
inline

Definition at line 104 of file OP_NodeParms.h.

UT_ErrorSeverity OP_NodeParms::LoadParms::addMessage ( const char *  type,
int  code,
const char *  msg = 0,
const UT_SourceLocation loc = 0 
) const
inline

Methods to add directly to any present error manager.

Definition at line 108 of file OP_NodeParms.h.

UT_ErrorSeverity OP_NodeParms::LoadParms::addWarning ( const char *  type,
int  code,
const char *  msg = 0,
const UT_SourceLocation loc = 0 
) const
inline

Definition at line 112 of file OP_NodeParms.h.

OP_NodeCache* OP_NodeParms::LoadParms::cache ( ) const
inline

Definition at line 96 of file OP_NodeParms.h.

const OP_Context& OP_NodeParms::LoadParms::context ( ) const
inline

Definition at line 97 of file OP_NodeParms.h.

DEP_MicroNode* OP_NodeParms::LoadParms::depnode ( ) const
inline

Definition at line 99 of file OP_NodeParms.h.

UT_ErrorManager* OP_NodeParms::LoadParms::error ( ) const
inline

Definition at line 98 of file OP_NodeParms.h.

UT_StringHolder OP_NodeParms::LoadParms::formatError ( const char *  msg) const
protected

Prefix errors so we can get sensible results.

const OP_GraphProxy* OP_NodeParms::LoadParms::graph ( ) const
inline

Definition at line 94 of file OP_NodeParms.h.

const OP_Node* OP_NodeParms::LoadParms::node ( ) const
exint OP_NodeParms::LoadParms::nodeIdx ( ) const
inline

Definition at line 95 of file OP_NodeParms.h.

UT_ErrorSeverity OP_NodeParms::LoadParms::sopAddError ( int  code,
const char *  msg = 0,
const UT_SourceLocation loc = 0 
) const
inline

Definition at line 127 of file OP_NodeParms.h.

UT_ErrorSeverity OP_NodeParms::LoadParms::sopAddMessage ( int  code,
const char *  msg = 0,
const UT_SourceLocation loc = 0 
) const
inline

Definition at line 121 of file OP_NodeParms.h.

UT_ErrorSeverity OP_NodeParms::LoadParms::sopAddWarning ( int  code,
const char *  msg = 0,
const UT_SourceLocation loc = 0 
) const
inline

Definition at line 124 of file OP_NodeParms.h.

void OP_NodeParms::LoadParms::stealErrors ( UT_ErrorManager src,
bool  borrow_only = false 
) const
inline

Definition at line 131 of file OP_NodeParms.h.

Member Data Documentation

OP_NodeCache* OP_NodeParms::LoadParms::myCache
protected

Definition at line 143 of file OP_NodeParms.h.

const OP_Context& OP_NodeParms::LoadParms::myContext
protected

Definition at line 142 of file OP_NodeParms.h.

bool OP_NodeParms::LoadParms::myCookEngine
protected

Definition at line 139 of file OP_NodeParms.h.

DEP_MicroNode* OP_NodeParms::LoadParms::myDepNode
protected

Definition at line 145 of file OP_NodeParms.h.

UT_ErrorManager* OP_NodeParms::LoadParms::myError
protected

Definition at line 144 of file OP_NodeParms.h.

const OP_GraphProxy* OP_NodeParms::LoadParms::myGraph
protected

Definition at line 140 of file OP_NodeParms.h.

exint OP_NodeParms::LoadParms::myNodeIdx
protected

Definition at line 141 of file OP_NodeParms.h.


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