HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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
 
SYS_FORCE_INLINE PRM_ParmListgetParmList ()
 
SYS_FORCE_INLINE const
PRM_ParmList
getParmList () 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 SYS_NO_DISCARD_RESULT
UT_UniquePtr
< PRM_ParmOwnerContext
pushAsPwd () 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 46 of file PRM_ParmOwner.h.

Constructor & Destructor Documentation

PRM_ParmOwner::PRM_ParmOwner ( )
inlineprotected

Definition at line 173 of file PRM_ParmOwner.h.

virtual PRM_ParmOwner::~PRM_ParmOwner ( )
inlineprotectedvirtual

Definition at line 177 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 49 of file PRM_ParmOwner.h.

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

Reimplemented in OP_Node.

Definition at line 50 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 59 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 64 of file PRM_ParmOwner.h.

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

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

Definition at line 180 of file PRM_ParmOwner.h.

SYS_FORCE_INLINE PRM_ParmList* PRM_ParmOwner::getParmList ( )
inline

Definition at line 71 of file PRM_ParmOwner.h.

SYS_FORCE_INLINE const PRM_ParmList* PRM_ParmOwner::getParmList ( ) const
inline

Definition at line 74 of file PRM_ParmOwner.h.

const char* PRM_ParmOwner::getPendingOverrideString ( ) const
inline

Definition at line 111 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 105 of file PRM_ParmOwner.h.

bool PRM_ParmOwner::isPendingOverride ( ) const
inline

Definition at line 101 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 117 of file PRM_ParmOwner.h.

virtual SYS_NO_DISCARD_RESULT UT_UniquePtr<PRM_ParmOwnerContext> PRM_ParmOwner::pushAsPwd ( ) 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 190 of file PRM_ParmOwner.h.


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