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

#include <PI_EditScriptedOp.h>

Public Member Functions

 PI_EditScriptedOp (OP_ScriptOperator *op, OP_Node *node)
 
 PI_EditScriptedOp (const PI_EditScriptedOp &source)
 
virtual ~PI_EditScriptedOp ()
 
int save (OP_SpecificData *opspecific=0)
 
int save (std::ostream &os, OP_SpecificData *opspecific=0)
 
PI_EditScriptedParmsgetParms ()
 
const PI_EditScriptedParmsgetParms () const
 
int getNHandles () const
 
PI_EditScriptedOpHandlegetHandle (int i)
 
void addHandle (PI_EditScriptedOpHandle *handle)
 
bool moveHandles (int first, int last, int offset)
 
bool removeHandles (int first, int last)
 
void setLabel (const char *newlabel)
 
void setName (const char *newname)
 
void setScript (const char *newscript)
 
void setInputName (int idx, const char *name)
 
void setInputLabel (int idx, const char *label)
 
void setInputIsReference (int idx, bool isref)
 
void setOutputLabel (int idx, const char *label)
 
void setUnitLength (fpreal l)
 
void setUnitMass (fpreal l)
 
int getShopFlag () const
 
int getVopFlag () const
 
int getObjFlag () const
 
int getCopFlag () const
 
const char * getInputName (int idx) const
 
const char * getInputLabel (int idx) const
 
bool getInputIsReference (int idx) const
 
bool allowsInputNameEditing () const
 
const char * getOutputLabel (int idx) const
 
fpreal getUnitLength () const
 
fpreal getUnitMass () const
 
const OP_ScriptOperatorgetOp () const
 
void clearWarning ()
 
const UT_StringgetWarning () const
 

Static Public Member Functions

static void saveBlock (std::ostream &os, const char *block, const char *indent="\t")
 

Detailed Description

Definition at line 56 of file PI_EditScriptedOp.h.

Constructor & Destructor Documentation

PI_EditScriptedOp::PI_EditScriptedOp ( OP_ScriptOperator op,
OP_Node node 
)
PI_EditScriptedOp::PI_EditScriptedOp ( const PI_EditScriptedOp source)
virtual PI_EditScriptedOp::~PI_EditScriptedOp ( )
virtual

Member Function Documentation

void PI_EditScriptedOp::addHandle ( PI_EditScriptedOpHandle handle)
bool PI_EditScriptedOp::allowsInputNameEditing ( ) const
inline

Definition at line 104 of file PI_EditScriptedOp.h.

void PI_EditScriptedOp::clearWarning ( )
inline

Definition at line 113 of file PI_EditScriptedOp.h.

int PI_EditScriptedOp::getCopFlag ( ) const
inline

Definition at line 100 of file PI_EditScriptedOp.h.

PI_EditScriptedOpHandle* PI_EditScriptedOp::getHandle ( int  i)
bool PI_EditScriptedOp::getInputIsReference ( int  idx) const
const char* PI_EditScriptedOp::getInputLabel ( int  idx) const
const char* PI_EditScriptedOp::getInputName ( int  idx) const
int PI_EditScriptedOp::getNHandles ( ) const
int PI_EditScriptedOp::getObjFlag ( ) const
inline

Definition at line 99 of file PI_EditScriptedOp.h.

const OP_ScriptOperator* PI_EditScriptedOp::getOp ( ) const
inline

Definition at line 110 of file PI_EditScriptedOp.h.

const char* PI_EditScriptedOp::getOutputLabel ( int  idx) const
PI_EditScriptedParms& PI_EditScriptedOp::getParms ( )
const PI_EditScriptedParms& PI_EditScriptedOp::getParms ( ) const
int PI_EditScriptedOp::getShopFlag ( ) const
inline

Definition at line 97 of file PI_EditScriptedOp.h.

fpreal PI_EditScriptedOp::getUnitLength ( ) const
inline

Definition at line 107 of file PI_EditScriptedOp.h.

fpreal PI_EditScriptedOp::getUnitMass ( ) const
inline

Definition at line 108 of file PI_EditScriptedOp.h.

int PI_EditScriptedOp::getVopFlag ( ) const
inline

Definition at line 98 of file PI_EditScriptedOp.h.

const UT_String& PI_EditScriptedOp::getWarning ( ) const
inline

Definition at line 114 of file PI_EditScriptedOp.h.

bool PI_EditScriptedOp::moveHandles ( int  first,
int  last,
int  offset 
)
bool PI_EditScriptedOp::removeHandles ( int  first,
int  last 
)
int PI_EditScriptedOp::save ( OP_SpecificData opspecific = 0)
int PI_EditScriptedOp::save ( std::ostream &  os,
OP_SpecificData opspecific = 0 
)
static void PI_EditScriptedOp::saveBlock ( std::ostream &  os,
const char *  block,
const char *  indent = "\t" 
)
static
void PI_EditScriptedOp::setInputIsReference ( int  idx,
bool  isref 
)
void PI_EditScriptedOp::setInputLabel ( int  idx,
const char *  label 
)
void PI_EditScriptedOp::setInputName ( int  idx,
const char *  name 
)
void PI_EditScriptedOp::setLabel ( const char *  newlabel)
inline

Definition at line 83 of file PI_EditScriptedOp.h.

void PI_EditScriptedOp::setName ( const char *  newname)
inline

Definition at line 85 of file PI_EditScriptedOp.h.

void PI_EditScriptedOp::setOutputLabel ( int  idx,
const char *  label 
)
void PI_EditScriptedOp::setScript ( const char *  newscript)
inline

Definition at line 87 of file PI_EditScriptedOp.h.

void PI_EditScriptedOp::setUnitLength ( fpreal  l)
inline

Definition at line 93 of file PI_EditScriptedOp.h.

void PI_EditScriptedOp::setUnitMass ( fpreal  l)
inline

Definition at line 94 of file PI_EditScriptedOp.h.


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