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

#include <SOP_ErrorNode.proto.h>

+ Inheritance diagram for SOP_ErrorNodeParms:

Classes

struct  Numerror
 

Public Types

using Severity = SOP_ErrorNodeEnums::Severity
 
- Public Types inherited from SOP_NodeParms
enum  ParmType {
  PARM_INTEGER, PARM_FLOAT, PARM_VECTOR2, PARM_VECTOR3,
  PARM_VECTOR4, PARM_MATRIX2, PARM_MATRIX3, PARM_MATRIX4,
  PARM_STRING, PARM_RAMP, PARM_DATA, PARM_UNSUPPORTED
}
 

Public Member Functions

UT_StringHolder createString (const UT_Array< Numerror > &list) const
 
 SOP_ErrorNodeParms ()
 
 SOP_ErrorNodeParms (const SOP_ErrorNodeParms &)=default
 
virtual ~SOP_ErrorNodeParms ()
 
bool operator== (const SOP_ErrorNodeParms &src) const
 
bool operator!= (const SOP_ErrorNodeParms &src) const
 
void buildFromOp (const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
 
virtual void loadFromOpSubclass (const LoadParms &loadparms)
 
virtual void copyFrom (const SOP_NodeParms *src)
 
template<typename T >
void doGetParmValue (exint idx, T &value) const
 
void getParmValue (exint idx, exint &value) const
 
void getParmValue (exint idx, fpreal &value) const
 
void getParmValue (exint idx, UT_Vector2D &value) const
 
void getParmValue (exint idx, UT_Vector3D &value) const
 
void getParmValue (exint idx, UT_Vector4D &value) const
 
void getParmValue (exint idx, UT_Matrix2D &value) const
 
void getParmValue (exint idx, UT_Matrix3D &value) const
 
void getParmValue (exint idx, UT_Matrix4D &value) const
 
void getParmValue (exint idx, UT_StringHolder &value) const
 
void getParmValue (exint idx, UT_SharedPtr< UT_Ramp > &value) const
 
void getParmValue (exint idx, PRM_DataItemHandle &value) const
 
template<typename T >
void doSetParmValue (exint idx, const T &value)
 
void setParmValue (exint idx, const exint &value)
 
void setParmValue (exint idx, const fpreal &value)
 
void setParmValue (exint idx, const UT_Vector2D &value)
 
void setParmValue (exint idx, const UT_Vector3D &value)
 
void setParmValue (exint idx, const UT_Vector4D &value)
 
void setParmValue (exint idx, const UT_Matrix2D &value)
 
void setParmValue (exint idx, const UT_Matrix3D &value)
 
void setParmValue (exint idx, const UT_Matrix4D &value)
 
void setParmValue (exint idx, const UT_StringHolder &value)
 
void setParmValue (exint idx, const UT_SharedPtr< UT_Ramp > &value)
 
void setParmValue (exint idx, const PRM_DataItemHandle &value)
 
virtual exint getNumParms () const
 
virtual const char * getParmName (exint fieldnum) const
 
virtual ParmType getParmType (exint fieldnum) const
 
void save (std::ostream &os) const
 
bool load (UT_IStream &is)
 
const UT_Array< Numerror > & getNumerror () const
 
void setNumerror (const UT_Array< Numerror > &val)
 
exint opNumerror (const SOP_NodeVerb::CookParms &cookparms) const
 
UT_StringHolder opNumerror_errormsg (const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
 
int64 opNumerror_severity (const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
 
int64 opNumerror_enable (const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
 
- Public Member Functions inherited from SOP_NodeParms
 SOP_NodeParms ()
 
virtual ~SOP_NodeParms ()
 
void loadFromOp (const LoadParms &loadparms)
 
bool applyVexpression (const char *vexpression, const UT_Array< GU_ConstDetailHandle > &vexinputs, const LoadParms &loadparm)
 
bool applyVexpressionFromNode (SOP_Node *node, OP_Context &context, SOP_NodeCache *cache)
 
template<>
void coerceValue (exint &result, const exint &src) const
 
template<>
void coerceValue (bool &result, const exint &src) const
 
template<>
void coerceValue (exint &result, const bool &src) const
 
template<>
void coerceValue (bool &result, const bool &src) const
 
template<>
void coerceValue (fpreal &result, const fpreal &src) const
 
template<>
void coerceValue (UT_Vector2D &result, const UT_Vector2D &src) const
 
template<>
void coerceValue (UT_Vector3D &result, const UT_Vector3D &src) const
 
template<>
void coerceValue (UT_Vector4D &result, const UT_Vector4D &src) const
 
template<>
void coerceValue (UT_Matrix2D &result, const UT_Matrix2D &src) const
 
template<>
void coerceValue (UT_Matrix3D &result, const UT_Matrix3D &src) const
 
template<>
void coerceValue (UT_Matrix4D &result, const UT_Matrix4D &src) const
 
template<>
void coerceValue (UT_StringHolder &result, const UT_StringHolder &src) const
 
template<>
void coerceValue (UT_SharedPtr< UT_Ramp > &result, const UT_SharedPtr< UT_Ramp > &src) const
 
template<>
void coerceValue (PRM_DataItemHandle &result, const PRM_DataItemHandle &src) const
 

Static Public Member Functions

static int version ()
 
static void loadData (UT_IStream &is, int64 &v)
 
static void loadData (UT_IStream &is, bool &v)
 
static void loadData (UT_IStream &is, fpreal64 &v)
 
static void loadData (UT_IStream &is, UT_Vector2D &v)
 
static void loadData (UT_IStream &is, UT_Vector3D &v)
 
static void loadData (UT_IStream &is, UT_Vector4D &v)
 
static void loadData (UT_IStream &is, UT_Matrix2D &v)
 
static void loadData (UT_IStream &is, UT_Matrix3D &v)
 
static void loadData (UT_IStream &is, UT_Matrix4D &v)
 
static void loadData (UT_IStream &is, UT_Vector2I &v)
 
static void loadData (UT_IStream &is, UT_Vector3I &v)
 
static void loadData (UT_IStream &is, UT_Vector4I &v)
 
static void loadData (UT_IStream &is, UT_StringHolder &v)
 
static void loadData (UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
 
static void loadData (UT_IStream &is, PRM_DataItemHandle &v)
 
static void saveData (std::ostream &os, int64 v)
 
static void saveData (std::ostream &os, bool v)
 
static void saveData (std::ostream &os, fpreal64 v)
 
static void saveData (std::ostream &os, UT_Vector2D v)
 
static void saveData (std::ostream &os, UT_Vector3D v)
 
static void saveData (std::ostream &os, UT_Vector4D v)
 
static void saveData (std::ostream &os, UT_Matrix2D v)
 
static void saveData (std::ostream &os, UT_Matrix3D v)
 
static void saveData (std::ostream &os, UT_Matrix4D v)
 
static void saveData (std::ostream &os, UT_StringHolder s)
 
static void saveData (std::ostream &os, UT_SharedPtr< UT_Ramp > s)
 
static void saveData (std::ostream &os, PRM_DataItemHandle s)
 

Additional Inherited Members

- Protected Member Functions inherited from SOP_NodeParms
template<typename T , typename S >
void coerceValue (T &result, const S &src) const
 

Detailed Description

Definition at line 32 of file SOP_ErrorNode.proto.h.

Member Typedef Documentation

Constructor & Destructor Documentation

SOP_ErrorNodeParms::SOP_ErrorNodeParms ( )
inline

Definition at line 91 of file SOP_ErrorNode.proto.h.

SOP_ErrorNodeParms::SOP_ErrorNodeParms ( const SOP_ErrorNodeParms )
explicitdefault
virtual SOP_ErrorNodeParms::~SOP_ErrorNodeParms ( )
inlinevirtual

Definition at line 98 of file SOP_ErrorNode.proto.h.

Member Function Documentation

void SOP_ErrorNodeParms::buildFromOp ( const OP_Node node,
fpreal  time,
DEP_MicroNode depnode 
)
inline

Definition at line 114 of file SOP_ErrorNode.proto.h.

virtual void SOP_ErrorNodeParms::copyFrom ( const SOP_NodeParms src)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 150 of file SOP_ErrorNode.proto.h.

UT_StringHolder SOP_ErrorNodeParms::createString ( const UT_Array< Numerror > &  list) const
inline

Definition at line 66 of file SOP_ErrorNode.proto.h.

template<typename T >
void SOP_ErrorNodeParms::doGetParmValue ( exint  idx,
T value 
) const
inline

Definition at line 157 of file SOP_ErrorNode.proto.h.

template<typename T >
void SOP_ErrorNodeParms::doSetParmValue ( exint  idx,
const T value 
)
inline

Definition at line 190 of file SOP_ErrorNode.proto.h.

const UT_Array<Numerror>& SOP_ErrorNodeParms::getNumerror ( ) const
inline

Definition at line 394 of file SOP_ErrorNode.proto.h.

virtual exint SOP_ErrorNodeParms::getNumParms ( ) const
inlinevirtual

Marshalling interface to rest of world These all use index based notation.

Reimplemented from SOP_NodeParms.

Definition at line 221 of file SOP_ErrorNode.proto.h.

virtual const char* SOP_ErrorNodeParms::getParmName ( exint  fieldnum) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 226 of file SOP_ErrorNode.proto.h.

virtual ParmType SOP_ErrorNodeParms::getParmType ( exint  fieldnum) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 237 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::getParmValue ( exint  idx,
exint value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 165 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::getParmValue ( exint  idx,
fpreal value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 167 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::getParmValue ( exint  idx,
UT_Vector2D value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 169 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::getParmValue ( exint  idx,
UT_Vector3D value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 171 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::getParmValue ( exint  idx,
UT_Vector4D value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 173 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::getParmValue ( exint  idx,
UT_Matrix2D value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 175 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::getParmValue ( exint  idx,
UT_Matrix3D value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 177 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::getParmValue ( exint  idx,
UT_Matrix4D value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 179 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::getParmValue ( exint  idx,
UT_StringHolder value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 181 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::getParmValue ( exint  idx,
UT_SharedPtr< UT_Ramp > &  value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 183 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::getParmValue ( exint  idx,
PRM_DataItemHandle value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 185 of file SOP_ErrorNode.proto.h.

bool SOP_ErrorNodeParms::load ( UT_IStream is)
inline

Definition at line 369 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
int64 v 
)
inlinestatic

Definition at line 247 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
bool &  v 
)
inlinestatic

Definition at line 249 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
fpreal64 v 
)
inlinestatic

Definition at line 251 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
UT_Vector2D v 
)
inlinestatic

Definition at line 253 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
UT_Vector3D v 
)
inlinestatic

Definition at line 255 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
UT_Vector4D v 
)
inlinestatic

Definition at line 258 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
UT_Matrix2D v 
)
inlinestatic

Definition at line 261 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
UT_Matrix3D v 
)
inlinestatic

Definition at line 263 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
UT_Matrix4D v 
)
inlinestatic

Definition at line 265 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
UT_Vector2I v 
)
inlinestatic

Definition at line 267 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
UT_Vector3I v 
)
inlinestatic

Definition at line 269 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
UT_Vector4I v 
)
inlinestatic

Definition at line 272 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
UT_StringHolder v 
)
inlinestatic

Definition at line 275 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
UT_SharedPtr< UT_Ramp > &  v 
)
inlinestatic

Definition at line 277 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::loadData ( UT_IStream is,
PRM_DataItemHandle v 
)
inlinestatic

Definition at line 288 of file SOP_ErrorNode.proto.h.

virtual void SOP_ErrorNodeParms::loadFromOpSubclass ( const LoadParms loadparms)
inlinevirtual

Implements SOP_NodeParms.

Definition at line 144 of file SOP_ErrorNode.proto.h.

Definition at line 106 of file SOP_ErrorNode.proto.h.

bool SOP_ErrorNodeParms::operator== ( const SOP_ErrorNodeParms src) const
inline

Definition at line 100 of file SOP_ErrorNode.proto.h.

exint SOP_ErrorNodeParms::opNumerror ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 396 of file SOP_ErrorNode.proto.h.

int64 SOP_ErrorNodeParms::opNumerror_enable ( const SOP_NodeVerb::CookParms cookparms,
exint  _idx 
) const
inline

Definition at line 422 of file SOP_ErrorNode.proto.h.

UT_StringHolder SOP_ErrorNodeParms::opNumerror_errormsg ( const SOP_NodeVerb::CookParms cookparms,
exint  _idx 
) const
inline

Definition at line 404 of file SOP_ErrorNode.proto.h.

int64 SOP_ErrorNodeParms::opNumerror_severity ( const SOP_NodeVerb::CookParms cookparms,
exint  _idx 
) const
inline

Definition at line 413 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::save ( std::ostream &  os) const
inline

Definition at line 351 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::saveData ( std::ostream &  os,
int64  v 
)
inlinestatic

Definition at line 308 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::saveData ( std::ostream &  os,
bool  v 
)
inlinestatic

Definition at line 310 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::saveData ( std::ostream &  os,
fpreal64  v 
)
inlinestatic

Definition at line 312 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::saveData ( std::ostream &  os,
UT_Vector2D  v 
)
inlinestatic

Definition at line 314 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::saveData ( std::ostream &  os,
UT_Vector3D  v 
)
inlinestatic

Definition at line 316 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::saveData ( std::ostream &  os,
UT_Vector4D  v 
)
inlinestatic

Definition at line 319 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::saveData ( std::ostream &  os,
UT_Matrix2D  v 
)
inlinestatic

Definition at line 322 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::saveData ( std::ostream &  os,
UT_Matrix3D  v 
)
inlinestatic

Definition at line 324 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::saveData ( std::ostream &  os,
UT_Matrix4D  v 
)
inlinestatic

Definition at line 326 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::saveData ( std::ostream &  os,
UT_StringHolder  s 
)
inlinestatic

Definition at line 328 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::saveData ( std::ostream &  os,
UT_SharedPtr< UT_Ramp s 
)
inlinestatic

Definition at line 330 of file SOP_ErrorNode.proto.h.

static void SOP_ErrorNodeParms::saveData ( std::ostream &  os,
PRM_DataItemHandle  s 
)
inlinestatic

Definition at line 337 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::setNumerror ( const UT_Array< Numerror > &  val)
inline

Definition at line 395 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::setParmValue ( exint  idx,
const exint value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 198 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::setParmValue ( exint  idx,
const fpreal value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 200 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::setParmValue ( exint  idx,
const UT_Vector2D value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 202 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::setParmValue ( exint  idx,
const UT_Vector3D value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 204 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::setParmValue ( exint  idx,
const UT_Vector4D value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 206 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::setParmValue ( exint  idx,
const UT_Matrix2D value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 208 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::setParmValue ( exint  idx,
const UT_Matrix3D value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 210 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::setParmValue ( exint  idx,
const UT_Matrix4D value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 212 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::setParmValue ( exint  idx,
const UT_StringHolder value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 214 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::setParmValue ( exint  idx,
const UT_SharedPtr< UT_Ramp > &  value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 216 of file SOP_ErrorNode.proto.h.

void SOP_ErrorNodeParms::setParmValue ( exint  idx,
const PRM_DataItemHandle value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 218 of file SOP_ErrorNode.proto.h.

static int SOP_ErrorNodeParms::version ( )
inlinestatic

Definition at line 35 of file SOP_ErrorNode.proto.h.


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