HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PRM_ParmOwner Class Referenceabstract

#include <PRM_ParmOwner.h>

+ Inheritance diagram for PRM_ParmOwner:

Public Member Functions

virtual OP_NodecastToOPNode ()
 
virtual const OP_NodecastToOPNode () const
 
const char * getFullPath (UT_String &str) const
 
const char * getFullPath (UT_WorkBuffer &str) const
 
UT_StringHolder getFullPath () const
 
PRM_ParmListgetParmList ()
 
const PRM_ParmListgetParmList () const
 
virtual bool createSpareParametersForLoad (UT_StringArray &, PRM_ParmNameMap &, UT_String &)
 
virtual PRM_ParmListcreateObsoleteParmList ()=0
 
virtual void resolveAndDeleteObsoleteParmList (PRM_ParmList *&obsolete_parms)=0
 
virtual void executeCommand (const char *command, std::ostream *out, std::ostream *err) const =0
 
virtual void pushAsPwdAndRunPython (PY_CompiledCode &compiled_code, PY_Result::Type desired_result_type, PY_Result &result, PY_EvaluationContext *context=NULL) const =0
 
bool isPendingOverride () const
 
virtual bool isParmPendingOverride (const char *, int) const
 
const char * getPendingOverrideString () const
 
void setPendingOverrideString (const char *s)
 
virtual UT_ErrorSeverity prmCookOverrides (fpreal, int, const char *, int)
 
virtual void takeAutoActivateParm (PRM_Parm *)=0
 
virtual void rebuildParmDependency (int parmidx)=0
 
virtual void clearParmDependency (int parmidx)=0
 
virtual void convertOpdefToAbsolutePath (UT_String &str) const =0
 
virtual void spareParmRemoved (const char *parmname)=0
 
virtual void initMultiparmInstance (UT_ValArray< PRM_Parm * > &p)=0
 
virtual void addOrRemoveMultiparmInstance ()=0
 
virtual bool savePresetContents (std::ostream &os)=0
 
virtual bool loadPresetContents (const char *token, UT_IStream &is)=0
 
virtual CH_ExprLanguage getExprLanguage () const =0
 
virtual PRM_ParmMicroNodecreateParmMicroNodes (PRM_Parm &parm) const
 
virtual UT_StringHolder evaluateDisableExpression (const PRM_Parm &prm, const UT_StringRef &function) const
 
virtual const PRM_ParmtraverseRef (int *sub_idx, fpreal time, int parm_idx, int vec_idx) const =0
 

Protected Member Functions

 PRM_ParmOwner ()
 
virtual ~PRM_ParmOwner ()
 
virtual int64 getMemoryUsage (bool inclusive) const
 
virtual void doGetFullPath (UT_WorkBuffer &buf) const =0
 Compute the full path of the node. More...
 

Protected Attributes

PRM_ParmListmyParmList
 

Detailed Description

Definition at line 41 of file PRM_ParmOwner.h.

Constructor & Destructor Documentation

PRM_ParmOwner::PRM_ParmOwner ( )
inlineprotected

Definition at line 168 of file PRM_ParmOwner.h.

virtual PRM_ParmOwner::~PRM_ParmOwner ( )
inlineprotectedvirtual

Definition at line 172 of file PRM_ParmOwner.h.

Member Function Documentation

virtual void PRM_ParmOwner::addOrRemoveMultiparmInstance ( )
pure virtual

Implemented in OP_Parameters.

virtual OP_Node* PRM_ParmOwner::castToOPNode ( )
inlinevirtual

Reimplemented in OP_Node.

Definition at line 44 of file PRM_ParmOwner.h.

virtual const OP_Node* PRM_ParmOwner::castToOPNode ( ) const
inlinevirtual

Reimplemented in OP_Node.

Definition at line 45 of file PRM_ParmOwner.h.

virtual void PRM_ParmOwner::clearParmDependency ( int  parmidx)
pure virtual

Implemented in OP_Node.

virtual void PRM_ParmOwner::convertOpdefToAbsolutePath ( UT_String str) const
pure virtual

Implemented in OP_Node.

virtual PRM_ParmList* PRM_ParmOwner::createObsoleteParmList ( )
pure virtual

Implemented in OP_Node, and OP_Parameters.

virtual PRM_ParmMicroNode* PRM_ParmOwner::createParmMicroNodes ( PRM_Parm parm) const
virtual
virtual bool PRM_ParmOwner::createSpareParametersForLoad ( UT_StringArray ,
PRM_ParmNameMap ,
UT_String  
)
virtual

Reimplemented in OBJ_Node, OBJ_DopNet, and SHOP_Node.

virtual void PRM_ParmOwner::doGetFullPath ( UT_WorkBuffer buf) const
protectedpure virtual

Compute the full path of the node.

Implemented in OP_Node, and OP_Parameters.

virtual UT_StringHolder PRM_ParmOwner::evaluateDisableExpression ( const PRM_Parm prm,
const UT_StringRef function 
) const
virtual

Reimplemented in OP_Node.

virtual void PRM_ParmOwner::executeCommand ( const char *  command,
std::ostream *  out,
std::ostream *  err 
) const
pure virtual

Implemented in OP_Node.

virtual CH_ExprLanguage PRM_ParmOwner::getExprLanguage ( ) const
pure virtual

Implemented in OP_Parameters.

const char* PRM_ParmOwner::getFullPath ( UT_String str) const
inline
const char* PRM_ParmOwner::getFullPath ( UT_WorkBuffer str) const
inline

Definition at line 54 of file PRM_ParmOwner.h.

UT_StringHolder PRM_ParmOwner::getFullPath ( ) const
inline
Examples:
SOP/SOP_BouncyAgent.C, and SOP/SOP_PrimVOP.C.

Definition at line 59 of file PRM_ParmOwner.h.

virtual int64 PRM_ParmOwner::getMemoryUsage ( bool  inclusive) const
inlineprotectedvirtual

Reimplemented in OP_Node, SOP_Node, OBJ_Node, OP_Parameters, OP_Network, COP2_Node, and CHOP_Node.

Definition at line 175 of file PRM_ParmOwner.h.

PRM_ParmList* PRM_ParmOwner::getParmList ( )
inline

Definition at line 65 of file PRM_ParmOwner.h.

const PRM_ParmList* PRM_ParmOwner::getParmList ( ) const
inline

Definition at line 67 of file PRM_ParmOwner.h.

const char* PRM_ParmOwner::getPendingOverrideString ( ) const
inline

Definition at line 106 of file PRM_ParmOwner.h.

virtual void PRM_ParmOwner::initMultiparmInstance ( UT_ValArray< PRM_Parm * > &  p)
pure virtual

Implemented in OP_Parameters.

virtual bool PRM_ParmOwner::isParmPendingOverride ( const char *  ,
int   
) const
inlinevirtual

Reimplemented in OP_Node.

Definition at line 100 of file PRM_ParmOwner.h.

bool PRM_ParmOwner::isPendingOverride ( ) const
inline

Definition at line 96 of file PRM_ParmOwner.h.

virtual bool PRM_ParmOwner::loadPresetContents ( const char *  token,
UT_IStream is 
)
pure virtual

Implemented in OP_Parameters.

virtual UT_ErrorSeverity PRM_ParmOwner::prmCookOverrides ( fpreal  ,
int  ,
const char *  ,
int   
)
inlinevirtual

Reimplemented in OP_Node.

Definition at line 112 of file PRM_ParmOwner.h.

virtual void PRM_ParmOwner::pushAsPwdAndRunPython ( PY_CompiledCode compiled_code,
PY_Result::Type  desired_result_type,
PY_Result result,
PY_EvaluationContext context = NULL 
) const
pure virtual

Implemented in OP_Node.

virtual void PRM_ParmOwner::rebuildParmDependency ( int  parmidx)
pure virtual

Implemented in OP_Node.

virtual void PRM_ParmOwner::resolveAndDeleteObsoleteParmList ( PRM_ParmList *&  obsolete_parms)
pure virtual

Implemented in OP_Node, and OP_Parameters.

virtual bool PRM_ParmOwner::savePresetContents ( std::ostream &  os)
pure virtual

Implemented in OP_Parameters.

void PRM_ParmOwner::setPendingOverrideString ( const char *  s)
virtual void PRM_ParmOwner::spareParmRemoved ( const char *  parmname)
pure virtual

Implemented in OP_Node.

virtual void PRM_ParmOwner::takeAutoActivateParm ( PRM_Parm )
pure virtual

Implemented in OP_Parameters.

virtual const PRM_Parm* PRM_ParmOwner::traverseRef ( int sub_idx,
fpreal  time,
int  parm_idx,
int  vec_idx 
) const
pure virtual

Implemented in OP_Node.

Member Data Documentation

PRM_ParmList* PRM_ParmOwner::myParmList
protected

Definition at line 185 of file PRM_ParmOwner.h.


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