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

Class containing information about node's input or output connector port. More...

#include <VOP_OperatorInfo.h>

Public Member Functions

 VOP_InOutInfo (const UT_String &name, const UT_String &label, const VOP_TypeInfo &type_info)
 
 VOP_InOutInfo (const VOP_InOutInfo &other)
 
 ~VOP_InOutInfo ()
 
const UT_StringgetName () const
 
void setName (const char *name)
 
const UT_StringgetLabel () const
 
void setLabel (const char *label)
 
void addTypeInfo (const VOP_TypeInfo &type_info)
 
void insertTypeInfo (const VOP_TypeInfo &newtype, int i)
 
void setTypeInfo (int i, const VOP_TypeInfo &newtype)
 
void removeTypeInfo (int i)
 
const VOP_TypeInfogetTypeInfo (int i) const
 
VOP_Type getType (int i) const
 
void addInputName (const char *name)
 
void insertInputName (const char *name, int i)
 
void removeInputName (int i)
 
const UT_StringHoldergetInputName (int i) const
 
void setInputName (int i, const char *new_name)
 
void addValueOption (const VOP_TypeInfo &type_info)
 
void insertValueOption (const VOP_TypeInfo &type_info, int i)
 
void removeValueOption (int i)
 
UT_OptionsgetValueOption (int i)
 
void changeValueOption (int i, const VOP_TypeInfo &type_info, const char *new_val=NULL)
 
int getNumTypes () const
 
int getNumNames () const
 
int getNumOptions () const
 
void setTag (const char *name, const char *value)
 
UT_StringHolder getTag (const char *name) const
 
bool hasTag (const char *name) const
 
const VOP_InOutTagMapgetTagsMap () const
 
void copyTagsFrom (VOP_InOutInfo &src_info)
 
void setFlag (VOP_ConnectorFlagType flag_type, bool value)
 
bool hasFlag (VOP_ConnectorFlagType flag_type)
 
void copyFlagsFrom (VOP_InOutInfo &src_info)
 
void setAllFlags (int flags)
 
int getAllFlags (void)
 

Detailed Description

Class containing information about node's input or output connector port.

Definition at line 53 of file VOP_OperatorInfo.h.

Constructor & Destructor Documentation

VOP_InOutInfo::VOP_InOutInfo ( const UT_String name,
const UT_String label,
const VOP_TypeInfo type_info 
)
VOP_InOutInfo::VOP_InOutInfo ( const VOP_InOutInfo other)
VOP_InOutInfo::~VOP_InOutInfo ( )

Member Function Documentation

void VOP_InOutInfo::addInputName ( const char *  name)
inline

Definition at line 78 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::addTypeInfo ( const VOP_TypeInfo type_info)
void VOP_InOutInfo::addValueOption ( const VOP_TypeInfo type_info)
void VOP_InOutInfo::changeValueOption ( int  i,
const VOP_TypeInfo type_info,
const char *  new_val = NULL 
)
void VOP_InOutInfo::copyFlagsFrom ( VOP_InOutInfo src_info)
inline

Definition at line 129 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::copyTagsFrom ( VOP_InOutInfo src_info)
inline

Definition at line 113 of file VOP_OperatorInfo.h.

int VOP_InOutInfo::getAllFlags ( void  )
inline

Definition at line 139 of file VOP_OperatorInfo.h.

const UT_StringHolder& VOP_InOutInfo::getInputName ( int  i) const
inline

Definition at line 85 of file VOP_OperatorInfo.h.

const UT_String& VOP_InOutInfo::getLabel ( ) const
inline

Definition at line 65 of file VOP_OperatorInfo.h.

const UT_String& VOP_InOutInfo::getName ( void  ) const
inline

Definition at line 61 of file VOP_OperatorInfo.h.

int VOP_InOutInfo::getNumNames ( ) const
inline

Definition at line 100 of file VOP_OperatorInfo.h.

int VOP_InOutInfo::getNumOptions ( ) const
inline

Definition at line 102 of file VOP_OperatorInfo.h.

int VOP_InOutInfo::getNumTypes ( ) const
inline

Definition at line 98 of file VOP_OperatorInfo.h.

UT_StringHolder VOP_InOutInfo::getTag ( const char *  name) const
inline

Definition at line 107 of file VOP_OperatorInfo.h.

const VOP_InOutTagMap& VOP_InOutInfo::getTagsMap ( ) const
inline

Definition at line 111 of file VOP_OperatorInfo.h.

VOP_Type VOP_InOutInfo::getType ( int  i) const
const VOP_TypeInfo& VOP_InOutInfo::getTypeInfo ( int  i) const
UT_Options& VOP_InOutInfo::getValueOption ( int  i)
bool VOP_InOutInfo::hasFlag ( VOP_ConnectorFlagType  flag_type)
inline

Definition at line 124 of file VOP_OperatorInfo.h.

bool VOP_InOutInfo::hasTag ( const char *  name) const
inline

Definition at line 109 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::insertInputName ( const char *  name,
int  i 
)
inline

Definition at line 80 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::insertTypeInfo ( const VOP_TypeInfo newtype,
int  i 
)
void VOP_InOutInfo::insertValueOption ( const VOP_TypeInfo type_info,
int  i 
)
void VOP_InOutInfo::removeInputName ( int  i)
inline

Definition at line 82 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::removeTypeInfo ( int  i)
void VOP_InOutInfo::removeValueOption ( int  i)
void VOP_InOutInfo::setAllFlags ( int  flags)
inline

Definition at line 134 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::setFlag ( VOP_ConnectorFlagType  flag_type,
bool  value 
)
inline

Definition at line 116 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::setInputName ( int  i,
const char *  new_name 
)
inline

Definition at line 87 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::setLabel ( const char *  label)
inline

Definition at line 67 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::setName ( const char *  name)
inline

Definition at line 63 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::setTag ( const char *  name,
const char *  value 
)
inline

Definition at line 105 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::setTypeInfo ( int  i,
const VOP_TypeInfo newtype 
)

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