HDK
|
#include <PI_EditScriptedParms.h>
Classes | |
class | PI_ParmType |
Static Public Member Functions | |
static const char * | getScriptType (const PRM_Type &ptype, PRM_TypeExtended etype, PRM_MultiType mtype, int size) |
static bool | parmTypeUsesOpFilter (const char *type) |
static bool | parmTypeUsesFileChooser (const char *type) |
static const char * | getExportDisableToken () |
static bool | isSwitcherLevelSpareToken (const char *token) |
static PI_EditScriptedParmFolderType | getSwitcherFolderType (const PRM_Template &tplate) |
static PI_EditScriptedParmFolderType | getSwitcherFolderType (const PRM_Type &type, const PRM_SpareData *spare) |
Static Public Attributes | |
static PI_ParmType | theParmTypes [] |
Definition at line 85 of file PI_EditScriptedParms.h.
PI_EditScriptedParm::PI_EditScriptedParm | ( | ) |
PI_EditScriptedParm::PI_EditScriptedParm | ( | const PRM_Template & | tplate, |
OP_Node * | node, | ||
bool | init_auto_links = true |
||
) |
PI_EditScriptedParm::PI_EditScriptedParm | ( | PI_EditScriptedParmFolderType | ftype | ) |
PI_EditScriptedParm::PI_EditScriptedParm | ( | const PI_EditScriptedParm & | src | ) |
PI_EditScriptedParm::~PI_EditScriptedParm | ( | ) |
void PI_EditScriptedParm::addMenu | ( | const UT_StringHolder & | token = UT_StringHolder() , |
const UT_StringHolder & | label = UT_StringHolder() |
||
) |
void PI_EditScriptedParm::addParametersToAutolink | ( | const UT_StringArray & | parms, |
const char * | nodepath, | ||
bool | linkinvisibles, | ||
PI_EditScriptedParms * | owner, | ||
UT_StringArray & | errors | ||
) |
void PI_EditScriptedParm::addSpareData | ( | const PRM_SpareData * | srcsparedata | ) |
void PI_EditScriptedParm::changeTypeToRampColor | ( | ) |
void PI_EditScriptedParm::changeTypeToRampFloat | ( | ) |
int PI_EditScriptedParm::checkNullMenu | ( | ) |
void PI_EditScriptedParm::clearCachedChannels | ( | ) |
void PI_EditScriptedParm::clearMenuItems | ( | ) |
void PI_EditScriptedParm::clearRampDefaults | ( | ) |
void PI_EditScriptedParm::copySpareValue | ( | const char * | token, |
const PRM_SpareData & | ref | ||
) |
void PI_EditScriptedParm::dump | ( | std::ostream & | os | ) |
void PI_EditScriptedParm::extractGroupSpareData | ( | const PRM_SpareData * | ref, |
int | index | ||
) |
const UT_StringHolder& PI_EditScriptedParm::findDecodedChannelName | ( | const UT_StringRef & | encoded_name | ) | const |
const UT_StringHolder& PI_EditScriptedParm::findEncodedChannelName | ( | const UT_StringRef & | decoded_name | ) | const |
const char* PI_EditScriptedParm::getButtonIcon | ( | ) | const |
const char* PI_EditScriptedParm::getCallbackData | ( | ) | const |
CH_ScriptLanguage PI_EditScriptedParm::getCallbackLanguage | ( | ) | const |
const UT_StringArray& PI_EditScriptedParm::getChannelNames | ( | ) | const |
const UT_StringArray& PI_EditScriptedParm::getChannelNames | ( | const UT_StringRef & | new_parm | ) | const |
bool PI_EditScriptedParm::getColorDynamic | ( | ) | const |
PRM_ColorType PI_EditScriptedParm::getColorType | ( | ) | const |
bool PI_EditScriptedParm::getColorWheel | ( | ) | const |
const UT_StringArray& PI_EditScriptedParm::getDecodedChannelNames | ( | ) | const |
const UT_StringArray& PI_EditScriptedParm::getDecodedChannelNames | ( | const UT_StringRef & | new_parm | ) | const |
bool PI_EditScriptedParm::getExportDisable | ( | ) | const |
|
static |
const char* PI_EditScriptedParm::getFileChooserMode | ( | ) | const |
const char* PI_EditScriptedParm::getFileChooserPattern | ( | ) | const |
bool PI_EditScriptedParm::getImportEnable | ( | ) | const |
const char* PI_EditScriptedParm::getImportMask | ( | ) | const |
const char* PI_EditScriptedParm::getImportSource | ( | ) | const |
const char* PI_EditScriptedParm::getImportToken | ( | ) | const |
bool PI_EditScriptedParm::getIsBasicStringParm | ( | ) | const |
bool PI_EditScriptedParm::getIsButtonParm | ( | ) | const |
bool PI_EditScriptedParm::getIsColorParm | ( | ) | const |
bool PI_EditScriptedParm::getIsFileParm | ( | ) | const |
bool PI_EditScriptedParm::getIsGroupEnd | ( | ) | const |
bool PI_EditScriptedParm::getIsGroupParm | ( | ) | const |
bool PI_EditScriptedParm::getIsGroupStart | ( | ) | const |
bool PI_EditScriptedParm::getIsKeyValueDictParm | ( | ) | const |
bool PI_EditScriptedParm::getIsLabelParm | ( | ) | const |
bool PI_EditScriptedParm::getIsMultiParm | ( | ) | const |
bool PI_EditScriptedParm::getIsRampParm | ( | ) | const |
bool PI_EditScriptedParm::getIsRampParmColor | ( | ) | const |
bool PI_EditScriptedParm::getIsRampParmFloat | ( | ) | const |
const char* PI_EditScriptedParm::getKeyValueDictChooserCallback | ( | ) | const |
const char* PI_EditScriptedParm::getKeyValueDictChooserLabel | ( | ) | const |
const char* PI_EditScriptedParm::getKeyValueDictKeyLabel | ( | ) | const |
bool PI_EditScriptedParm::getKeyValueDictUseChooser | ( | ) | const |
const char* PI_EditScriptedParm::getKeyValueDictValueLabel | ( | ) | const |
int PI_EditScriptedParm::getMultiStartOffset | ( | ) | const |
|
inline |
Definition at line 149 of file PI_EditScriptedParms.h.
const char* PI_EditScriptedParm::getOpFilter | ( | ) | const |
int PI_EditScriptedParm::getParmTypeIdxForChannels | ( | ) | const |
const char* PI_EditScriptedParm::getRampBasisDefault | ( | ) | const |
const char* PI_EditScriptedParm::getRampBasisVar | ( | ) | const |
UT_ColorType PI_EditScriptedParm::getRampColorType | ( | ) | const |
bool PI_EditScriptedParm::getRampGrayscaleDefault | ( | ) | const |
const char* PI_EditScriptedParm::getRampKeysVar | ( | ) | const |
bool PI_EditScriptedParm::getRampShowControlsDefault | ( | ) | const |
const char* PI_EditScriptedParm::getRampValuesVar | ( | ) | const |
const char* PI_EditScriptedParm::getRManType | ( | ) | const |
const char* PI_EditScriptedParm::getScriptAction | ( | ) | const |
const char* PI_EditScriptedParm::getScriptActionHelp | ( | ) | const |
const char* PI_EditScriptedParm::getScriptActionIcon | ( | ) | const |
|
static |
const char* PI_EditScriptedParm::getSpareValue | ( | const char * | token | ) | const |
|
static |
|
static |
|
inline |
Definition at line 103 of file PI_EditScriptedParms.h.
bool PI_EditScriptedParm::getUnquotedFlag | ( | ) | const |
bool PI_EditScriptedParm::hasRampDefaultValue | ( | ) | const |
|
static |
void PI_EditScriptedParm::mergeSpareData | ( | const PRM_SpareData * | srcsparedata | ) |
const PI_EditScriptedParm& PI_EditScriptedParm::operator= | ( | const PI_EditScriptedParm & | src | ) |
Assignment operator.
|
static |
|
static |
int PI_EditScriptedParm::save | ( | std::ostream & | os, |
int | indent, | ||
OP_Operator * | op, | ||
bool | validate_join, | ||
const PI_EditScriptedParm * | nextparm, | ||
bool | in_import_block | ||
) |
void PI_EditScriptedParm::saveConditional | ( | std::ostream & | os, |
int | indent, | ||
const char * | name, | ||
UT_StringHolder & | conditional | ||
) |
int PI_EditScriptedParm::saveSelectors | ( | std::ostream & | os, |
const char * | tokeni, | ||
OP_Operator * | op | ||
) |
void PI_EditScriptedParm::saveSpareData | ( | std::ostream & | os, |
const char * | tokeni, | ||
bool | skip_import_data, | ||
bool | first_group_page | ||
) |
void PI_EditScriptedParm::saveSpareValue | ( | std::ostream & | os, |
const char * | tokeni, | ||
const char * | spare_token | ||
) |
void PI_EditScriptedParm::setButtonIcon | ( | const char * | value | ) |
void PI_EditScriptedParm::setCallbackData | ( | const char * | value | ) |
void PI_EditScriptedParm::setCallbackLanguage | ( | CH_ScriptLanguage | language | ) |
void PI_EditScriptedParm::setColorDynamic | ( | bool | value | ) |
void PI_EditScriptedParm::setColorType | ( | PRM_ColorType | color_type | ) |
void PI_EditScriptedParm::setColorWheel | ( | bool | value | ) |
void PI_EditScriptedParm::setExportDisable | ( | bool | value | ) |
void PI_EditScriptedParm::setFileChooserMode | ( | const char * | value | ) |
void PI_EditScriptedParm::setFileChooserMode | ( | const PRM_SpareData * | spareptr | ) |
void PI_EditScriptedParm::setFileChooserPattern | ( | const char * | value | ) |
void PI_EditScriptedParm::setFileChooserPattern | ( | const PRM_SpareData * | spareptr | ) |
void PI_EditScriptedParm::setImportEnable | ( | bool | value | ) |
void PI_EditScriptedParm::setImportMask | ( | const char * | value | ) |
void PI_EditScriptedParm::setImportSource | ( | const char * | value | ) |
void PI_EditScriptedParm::setImportToken | ( | const char * | value | ) |
void PI_EditScriptedParm::setKeyValueDictChooserCallback | ( | const char * | callback | ) |
void PI_EditScriptedParm::setKeyValueDictChooserLabel | ( | const char * | label | ) |
void PI_EditScriptedParm::setKeyValueDictKeyLabel | ( | const char * | label | ) |
void PI_EditScriptedParm::setKeyValueDictUseChooser | ( | bool | use_chooser | ) |
void PI_EditScriptedParm::setKeyValueDictValueLabel | ( | const char * | label | ) |
void PI_EditScriptedParm::setMenu | ( | const PRM_ChoiceList * | menu, |
PRM_TypeExtended | extended_menu_type | ||
) |
void PI_EditScriptedParm::setOpFilter | ( | const char * | value | ) |
void PI_EditScriptedParm::setOpFilter | ( | const PRM_SpareData * | spareptr | ) |
void PI_EditScriptedParm::setRampBasisDefault | ( | const char * | value | ) |
void PI_EditScriptedParm::setRampBasisVar | ( | const char * | value | ) |
void PI_EditScriptedParm::setRampColorType | ( | UT_ColorType | color_type | ) |
void PI_EditScriptedParm::setRampGrayscaleDefault | ( | bool | value | ) |
void PI_EditScriptedParm::setRampKeysVar | ( | const char * | value | ) |
void PI_EditScriptedParm::setRampShowControlsDefault | ( | bool | value | ) |
void PI_EditScriptedParm::setRampValuesVar | ( | const char * | value | ) |
void PI_EditScriptedParm::setRManType | ( | const char * | value | ) |
void PI_EditScriptedParm::setScriptAction | ( | const char * | value | ) |
void PI_EditScriptedParm::setScriptActionHelp | ( | const char * | value | ) |
void PI_EditScriptedParm::setScriptActionIcon | ( | const char * | value | ) |
void PI_EditScriptedParm::setSpareValue | ( | const char * | token, |
const char * | value | ||
) |
|
inline |
Definition at line 98 of file PI_EditScriptedParms.h.
void PI_EditScriptedParm::setUnquotedFlag | ( | bool | value | ) |
UT_StringHolder PI_EditScriptedParm::myAutolink[PI_MAX_SCRIPT_PARM_SIZE] |
Definition at line 338 of file PI_EditScriptedParms.h.
UT_StringHolder PI_EditScriptedParm::myCategory |
Definition at line 320 of file PI_EditScriptedParms.h.
UT_StringHolder PI_EditScriptedParm::myClass |
Definition at line 319 of file PI_EditScriptedParms.h.
UT_StringHolder PI_EditScriptedParm::myConditional[NB_PRM_CONDTYPES] |
Definition at line 340 of file PI_EditScriptedParms.h.
UT_StringHolder PI_EditScriptedParm::myDefaults[PI_MAX_SCRIPT_PARM_SIZE] |
Definition at line 325 of file PI_EditScriptedParms.h.
CH_StringMeaning PI_EditScriptedParm::myDefaultsStringMeaning[PI_MAX_SCRIPT_PARM_SIZE] |
Definition at line 327 of file PI_EditScriptedParms.h.
int PI_EditScriptedParm::myDoAutolink[PI_MAX_SCRIPT_PARM_SIZE] |
Definition at line 337 of file PI_EditScriptedParms.h.
int PI_EditScriptedParm::myExport |
Definition at line 323 of file PI_EditScriptedParms.h.
PI_EditScriptedParmFolderType PI_EditScriptedParm::myFolderType |
Definition at line 334 of file PI_EditScriptedParms.h.
int PI_EditScriptedParm::myGroupID |
Definition at line 321 of file PI_EditScriptedParms.h.
UT_StringHolder PI_EditScriptedParm::myHelpText |
Definition at line 342 of file PI_EditScriptedParms.h.
bool PI_EditScriptedParm::myInvisible |
Definition at line 322 of file PI_EditScriptedParms.h.
bool PI_EditScriptedParm::myJoinNextFlag |
Definition at line 345 of file PI_EditScriptedParms.h.
UT_StringHolder PI_EditScriptedParm::myLabel |
Definition at line 317 of file PI_EditScriptedParms.h.
UT_ValArray<PI_EditScriptedParmMenu> PI_EditScriptedParm::myMenu |
Definition at line 343 of file PI_EditScriptedParms.h.
PI_EditScriptedParmMenuEnable PI_EditScriptedParm::myMenuEnable |
Definition at line 331 of file PI_EditScriptedParms.h.
UT_StringHolder PI_EditScriptedParm::myMenuScript |
Definition at line 335 of file PI_EditScriptedParms.h.
CH_ScriptLanguage PI_EditScriptedParm::myMenuScriptLanguage |
Definition at line 336 of file PI_EditScriptedParms.h.
PI_EditScriptedParmMenuType PI_EditScriptedParm::myMenuType |
Definition at line 332 of file PI_EditScriptedParms.h.
UT_StringHolder PI_EditScriptedParm::myName |
Definition at line 316 of file PI_EditScriptedParms.h.
UT_StringHolder PI_EditScriptedParm::myOldAutolink[PI_MAX_SCRIPT_PARM_SIZE] |
Definition at line 339 of file PI_EditScriptedParms.h.
float PI_EditScriptedParm::myRange[2] |
Definition at line 329 of file PI_EditScriptedParms.h.
int PI_EditScriptedParm::myRangeEnable |
Definition at line 328 of file PI_EditScriptedParms.h.
bool PI_EditScriptedParm::myRangeLock[2] |
Definition at line 330 of file PI_EditScriptedParms.h.
bool PI_EditScriptedParm::myReserved |
Definition at line 347 of file PI_EditScriptedParms.h.
int PI_EditScriptedParm::mySize |
Definition at line 324 of file PI_EditScriptedParms.h.
PRM_SpareData* PI_EditScriptedParm::mySpareData |
Definition at line 344 of file PI_EditScriptedParms.h.
bool PI_EditScriptedParm::myTabBreak |
Definition at line 346 of file PI_EditScriptedParms.h.
UT_StringHolder PI_EditScriptedParm::myTabConditional[NB_PRM_CONDTYPES] |
Definition at line 341 of file PI_EditScriptedParms.h.
bool PI_EditScriptedParm::myUseLabel |
Definition at line 318 of file PI_EditScriptedParms.h.
bool PI_EditScriptedParm::myUseMenuToken |
Definition at line 333 of file PI_EditScriptedParms.h.
|
static |
Definition at line 365 of file PI_EditScriptedParms.h.