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

#include <VOP_OperatorInfo.h>

+ Inheritance diagram for VOP_OperatorInfo:

Public Member Functions

 VOP_OperatorInfo ()
 
virtual ~VOP_OperatorInfo ()
 
const VOP_OperatorInfooperator= (const VOP_OperatorInfo &other)
 
UT_StringgetCode ()
 
const UT_StringgetCode () const
 
UT_StringgetOuterCode ()
 
const UT_StringgetOuterCode () const
 
void setVopnetMask (const char *mask)
 
const UT_StringgetVopnetMask () const
 
void setRenderMask (const char *mask)
 
const UT_StringgetRenderMask () const
 
UT_ValArray< VOP_InOutInfo * > & getOutputInfos ()
 
const UT_ValArray
< VOP_InOutInfo * > & 
getOutputInfos () const
 
UT_ValArray< VOP_InOutInfo * > & getInputInfos ()
 
const UT_ValArray
< VOP_InOutInfo * > & 
getInputInfos () const
 
UT_StringArraygetInputSetNames ()
 
const UT_StringArraygetInputSetNames () const
 
UT_StringArraygetInputSetLabels ()
 
const UT_StringArraygetInputSetLabels () const
 
bool & getForceCodeGeneration ()
 
const bool & getForceCodeGeneration () const
 
bool & getExternalShader ()
 
const bool & getExternalShader () const
 
VOP_Type getShaderType () const
 
void setShaderType (VOP_Type t)
 
void clearInOutInfo ()
 
virtual void saveToDialogScript (std::ostream &os) const
 
virtual void updateExtraInfoBuffer (OP_ExtraInfoBuffer &b) const
 
void getInputNameFromParm (UT_String &input_name, const char *parm_name) const
 
VOP_LanguageContextTypeListnewLanguageContextTypeList () const
 
void getParmNameFromInput (UT_String &parm_name, const char *input_name, int input_set_index) const
 
void getParmNameFromInput (UT_WorkBuffer &parm_name, const char *input_name, int input_set_index) const
 
- Public Member Functions inherited from OP_SpecificData
 OP_SpecificData ()
 
virtual ~OP_SpecificData ()
 

Static Protected Member Functions

static void saveInOutInfoToDialogScript (std::ostream &os, const UT_ValArray< VOP_InOutInfo * > &infoarray, const char *infotype)
 
static void saveInputFlags (std::ostream &os, const UT_ValArray< VOP_InOutInfo * > &inoutarray, const char *token, bool only_nonzero_flags)
 

Detailed Description

Definition at line 155 of file VOP_OperatorInfo.h.

Constructor & Destructor Documentation

VOP_OperatorInfo::VOP_OperatorInfo ( )
virtual VOP_OperatorInfo::~VOP_OperatorInfo ( )
virtual

Member Function Documentation

void VOP_OperatorInfo::clearInOutInfo ( )
UT_String& VOP_OperatorInfo::getCode ( )
inline

Definition at line 163 of file VOP_OperatorInfo.h.

const UT_String& VOP_OperatorInfo::getCode ( ) const
inline

Definition at line 165 of file VOP_OperatorInfo.h.

bool& VOP_OperatorInfo::getExternalShader ( )
inline

Definition at line 197 of file VOP_OperatorInfo.h.

const bool& VOP_OperatorInfo::getExternalShader ( ) const
inline

Definition at line 199 of file VOP_OperatorInfo.h.

bool& VOP_OperatorInfo::getForceCodeGeneration ( )
inline

Definition at line 193 of file VOP_OperatorInfo.h.

const bool& VOP_OperatorInfo::getForceCodeGeneration ( ) const
inline

Definition at line 195 of file VOP_OperatorInfo.h.

UT_ValArray<VOP_InOutInfo *>& VOP_OperatorInfo::getInputInfos ( )
inline

Definition at line 181 of file VOP_OperatorInfo.h.

const UT_ValArray<VOP_InOutInfo *>& VOP_OperatorInfo::getInputInfos ( ) const
inline

Definition at line 183 of file VOP_OperatorInfo.h.

void VOP_OperatorInfo::getInputNameFromParm ( UT_String input_name,
const char *  parm_name 
) const

Obtains a name of the input given parameter name, considering the available signatures in this class.

UT_StringArray& VOP_OperatorInfo::getInputSetLabels ( )
inline

Definition at line 189 of file VOP_OperatorInfo.h.

const UT_StringArray& VOP_OperatorInfo::getInputSetLabels ( ) const
inline

Definition at line 191 of file VOP_OperatorInfo.h.

UT_StringArray& VOP_OperatorInfo::getInputSetNames ( )
inline

Definition at line 185 of file VOP_OperatorInfo.h.

const UT_StringArray& VOP_OperatorInfo::getInputSetNames ( ) const
inline

Definition at line 187 of file VOP_OperatorInfo.h.

UT_String& VOP_OperatorInfo::getOuterCode ( )
inline

Definition at line 167 of file VOP_OperatorInfo.h.

const UT_String& VOP_OperatorInfo::getOuterCode ( ) const
inline

Definition at line 169 of file VOP_OperatorInfo.h.

UT_ValArray<VOP_InOutInfo *>& VOP_OperatorInfo::getOutputInfos ( )
inline

Definition at line 177 of file VOP_OperatorInfo.h.

const UT_ValArray<VOP_InOutInfo *>& VOP_OperatorInfo::getOutputInfos ( ) const
inline

Definition at line 179 of file VOP_OperatorInfo.h.

void VOP_OperatorInfo::getParmNameFromInput ( UT_String parm_name,
const char *  input_name,
int  input_set_index 
) const

Obtains a name of a node parameter that corresponds to a given input name when the node uses the given signature.

void VOP_OperatorInfo::getParmNameFromInput ( UT_WorkBuffer parm_name,
const char *  input_name,
int  input_set_index 
) const

Obtains a name of a node parameter that corresponds to a given input name when the node uses the given signature.

const UT_String& VOP_OperatorInfo::getRenderMask ( ) const
inline

Definition at line 175 of file VOP_OperatorInfo.h.

VOP_Type VOP_OperatorInfo::getShaderType ( ) const
inline

Definition at line 201 of file VOP_OperatorInfo.h.

const UT_String& VOP_OperatorInfo::getVopnetMask ( ) const
inline

Definition at line 172 of file VOP_OperatorInfo.h.

VOP_LanguageContextTypeList* VOP_OperatorInfo::newLanguageContextTypeList ( ) const

Returns a new language context object based on this operator info. Caller is responsible for deleting the returned object.

const VOP_OperatorInfo& VOP_OperatorInfo::operator= ( const VOP_OperatorInfo other)
static void VOP_OperatorInfo::saveInOutInfoToDialogScript ( std::ostream &  os,
const UT_ValArray< VOP_InOutInfo * > &  infoarray,
const char *  infotype 
)
staticprotected
static void VOP_OperatorInfo::saveInputFlags ( std::ostream &  os,
const UT_ValArray< VOP_InOutInfo * > &  inoutarray,
const char *  token,
bool  only_nonzero_flags 
)
staticprotected
virtual void VOP_OperatorInfo::saveToDialogScript ( std::ostream &  os) const
virtual

Implements OP_SpecificData.

void VOP_OperatorInfo::setRenderMask ( const char *  mask)
void VOP_OperatorInfo::setShaderType ( VOP_Type  t)
inline

Definition at line 203 of file VOP_OperatorInfo.h.

void VOP_OperatorInfo::setVopnetMask ( const char *  mask)
virtual void VOP_OperatorInfo::updateExtraInfoBuffer ( OP_ExtraInfoBuffer b) const
virtual

Reimplemented from OP_SpecificData.


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