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

#include <SOP_NodeVerb.h>

Public Member Functions

 LoadParms (SOP_NodeParms *parms, SOP_CookEngine cookengine, const SOP_GraphProxy *graph, exint nodeidx, const OP_Context &context, SOP_NodeCache *cache, UT_ErrorManager *error, DEP_MicroNode *depnode)
 
virtual ~LoadParms ()
 
const OP_Nodenode () const
 
const SOP_GraphProxygraph () const
 
exint nodeIdx () const
 
template<typename T >
const Tparms () const
 
SOP_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
 
SOP_NodeParmsmyParms
 
const SOP_GraphProxymyGraph
 
exint myNodeIdx
 
const OP_ContextmyContext
 
SOP_NodeCachemyCache
 
UT_ErrorManagermyError
 
DEP_MicroNodemyDepNode
 

Detailed Description

Definition at line 89 of file SOP_NodeVerb.h.

Constructor & Destructor Documentation

SOP_NodeParms::LoadParms::LoadParms ( SOP_NodeParms parms,
SOP_CookEngine  cookengine,
const SOP_GraphProxy graph,
exint  nodeidx,
const OP_Context context,
SOP_NodeCache cache,
UT_ErrorManager error,
DEP_MicroNode depnode 
)
inline

Definition at line 92 of file SOP_NodeVerb.h.

virtual SOP_NodeParms::LoadParms::~LoadParms ( )
virtual

Member Function Documentation

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

Definition at line 138 of file SOP_NodeVerb.h.

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

Methods to wire directly to the optional depnode.

Definition at line 124 of file SOP_NodeVerb.h.

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

Definition at line 126 of file SOP_NodeVerb.h.

UT_ErrorSeverity SOP_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 130 of file SOP_NodeVerb.h.

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

Definition at line 134 of file SOP_NodeVerb.h.

SOP_NodeCache* SOP_NodeParms::LoadParms::cache ( ) const
inline

Definition at line 118 of file SOP_NodeVerb.h.

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

Definition at line 119 of file SOP_NodeVerb.h.

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

Definition at line 121 of file SOP_NodeVerb.h.

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

Definition at line 120 of file SOP_NodeVerb.h.

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

Prefix errors so we can get sensible results.

const SOP_GraphProxy* SOP_NodeParms::LoadParms::graph ( ) const
inline

Definition at line 113 of file SOP_NodeVerb.h.

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

Definition at line 114 of file SOP_NodeVerb.h.

template<typename T >
const T& SOP_NodeParms::LoadParms::parms ( ) const
inline

Definition at line 116 of file SOP_NodeVerb.h.

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

Definition at line 149 of file SOP_NodeVerb.h.

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

Definition at line 143 of file SOP_NodeVerb.h.

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

Definition at line 146 of file SOP_NodeVerb.h.

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

Definition at line 153 of file SOP_NodeVerb.h.

Member Data Documentation

SOP_NodeCache* SOP_NodeParms::LoadParms::myCache
protected

Definition at line 166 of file SOP_NodeVerb.h.

const OP_Context& SOP_NodeParms::LoadParms::myContext
protected

Definition at line 165 of file SOP_NodeVerb.h.

bool SOP_NodeParms::LoadParms::myCookEngine
protected

Definition at line 161 of file SOP_NodeVerb.h.

DEP_MicroNode* SOP_NodeParms::LoadParms::myDepNode
protected

Definition at line 168 of file SOP_NodeVerb.h.

UT_ErrorManager* SOP_NodeParms::LoadParms::myError
protected

Definition at line 167 of file SOP_NodeVerb.h.

const SOP_GraphProxy* SOP_NodeParms::LoadParms::myGraph
protected

Definition at line 163 of file SOP_NodeVerb.h.

exint SOP_NodeParms::LoadParms::myNodeIdx
protected

Definition at line 164 of file SOP_NodeVerb.h.

SOP_NodeParms* SOP_NodeParms::LoadParms::myParms
protected

Definition at line 162 of file SOP_NodeVerb.h.


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