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

#include <DOP_OperatorInfo.h>

+ Inheritance diagram for DOP_OperatorInfo:

Public Member Functions

 DOP_OperatorInfo ()
 
 ~DOP_OperatorInfo () override
 
int getNumOutputs () const
 Returns the number of outputs for operators of this type. More...
 
void setNumOutputs (int outputs)
 Sets the number of outputs for operators of this type. More...
 
const UT_StringgetDataName () const
 
void setDataName (const char *dataname)
 
const UT_StringHoldergetDataTypeName () const
 
void setDataTypeName (const UT_StringHolder &datatype)
 
const UT_StringgetLCDDataTypeName () const
 
void setLCDDataTypeName (const char *lcddatatype)
 
const UT_StringgetBypassDataTypeName () const
 
void setBypassDataTypeName (const char *name)
 
bool getPureApplyData () const
 
void setPureApplyData (bool pureapply)
 
bool getInitialTemplateFlag () const
 
void setInitialTemplateFlag (bool val)
 
void saveToDialogScript (std::ostream &os) const override
 
- Public Member Functions inherited from OP_SpecificData
 OP_SpecificData ()
 
virtual ~OP_SpecificData ()
 
virtual void updateExtraInfoBuffer (OP_ExtraInfoBuffer &b) const
 

Detailed Description

Definition at line 20 of file DOP_OperatorInfo.h.

Constructor & Destructor Documentation

DOP_OperatorInfo::DOP_OperatorInfo ( )
DOP_OperatorInfo::~DOP_OperatorInfo ( )
override

Member Function Documentation

const UT_String& DOP_OperatorInfo::getBypassDataTypeName ( ) const
inline

Returns what type of data should be added if the node is bypassed. Non-string means it should be removed in this case.

Definition at line 60 of file DOP_OperatorInfo.h.

const UT_String& DOP_OperatorInfo::getDataName ( ) const

Returns the name of the data that should be created by this node. This function is used by DOP_Auto nodes, which create a SIM_Data of a particular type.

const UT_StringHolder& DOP_OperatorInfo::getDataTypeName ( ) const
inline

Returns the type of data that should be created by this node. This function is used by DOP_Auto nodes, which create a SIM_Data of a particular type.

Definition at line 43 of file DOP_OperatorInfo.h.

bool DOP_OperatorInfo::getInitialTemplateFlag ( ) const
inline

Definition at line 66 of file DOP_OperatorInfo.h.

const UT_String& DOP_OperatorInfo::getLCDDataTypeName ( ) const

Returns the type of data that represents the "lowest common demoninator" of data types that we are compatible with.

int DOP_OperatorInfo::getNumOutputs ( ) const

Returns the number of outputs for operators of this type.

bool DOP_OperatorInfo::getPureApplyData ( ) const
inline

Definition at line 63 of file DOP_OperatorInfo.h.

void DOP_OperatorInfo::saveToDialogScript ( std::ostream &  os) const
overridevirtual

Implements OP_SpecificData.

void DOP_OperatorInfo::setBypassDataTypeName ( const char *  name)
inline

Definition at line 61 of file DOP_OperatorInfo.h.

void DOP_OperatorInfo::setDataName ( const char *  dataname)

Sets the name of the data that should be created by this node. This function is used by DOP_Auto nodes, which create a SIM_Data of a particular type.

void DOP_OperatorInfo::setDataTypeName ( const UT_StringHolder datatype)
inline

Sets the type of data that should be created by this node. This function is used by DOP_Auto nodes, which create a SIM_Data of a particular type.

Definition at line 48 of file DOP_OperatorInfo.h.

void DOP_OperatorInfo::setInitialTemplateFlag ( bool  val)
inline

Definition at line 67 of file DOP_OperatorInfo.h.

void DOP_OperatorInfo::setLCDDataTypeName ( const char *  lcddatatype)

Sets the type of data that represents the "lowest common demoninator" of data types that we are compatible with.

void DOP_OperatorInfo::setNumOutputs ( int  outputs)

Sets the number of outputs for operators of this type.

void DOP_OperatorInfo::setPureApplyData ( bool  pureapply)
inline

Definition at line 64 of file DOP_OperatorInfo.h.


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