HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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_StringHolder &name, const UT_StringHolder &label, const VOP_TypeInfo &type_info)
 
 VOP_InOutInfo (const VOP_InOutInfo &other)
 
 ~VOP_InOutInfo ()
 
const UT_StringHoldergetName () const
 
void setName (const UT_StringHolder &name)
 
const UT_StringHoldergetLabel () const
 
void setLabel (const UT_StringHolder &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 ()
 

Detailed Description

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

Definition at line 54 of file VOP_OperatorInfo.h.

Constructor & Destructor Documentation

VOP_InOutInfo::VOP_InOutInfo ( const UT_StringHolder name,
const UT_StringHolder 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 79 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 130 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::copyTagsFrom ( VOP_InOutInfo src_info)
inline

Definition at line 114 of file VOP_OperatorInfo.h.

int VOP_InOutInfo::getAllFlags ( )
inline

Definition at line 140 of file VOP_OperatorInfo.h.

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

Definition at line 86 of file VOP_OperatorInfo.h.

const UT_StringHolder& VOP_InOutInfo::getLabel ( ) const
inline

Definition at line 66 of file VOP_OperatorInfo.h.

const UT_StringHolder& VOP_InOutInfo::getName ( ) const
inline

Definition at line 62 of file VOP_OperatorInfo.h.

int VOP_InOutInfo::getNumNames ( ) const
inline

Definition at line 101 of file VOP_OperatorInfo.h.

int VOP_InOutInfo::getNumOptions ( ) const
inline

Definition at line 103 of file VOP_OperatorInfo.h.

int VOP_InOutInfo::getNumTypes ( ) const
inline

Definition at line 99 of file VOP_OperatorInfo.h.

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

Definition at line 108 of file VOP_OperatorInfo.h.

const VOP_InOutTagMap& VOP_InOutInfo::getTagsMap ( ) const
inline

Definition at line 112 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 125 of file VOP_OperatorInfo.h.

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

Definition at line 110 of file VOP_OperatorInfo.h.

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

Definition at line 81 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 83 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 135 of file VOP_OperatorInfo.h.

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

Definition at line 117 of file VOP_OperatorInfo.h.

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

Definition at line 88 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::setLabel ( const UT_StringHolder label)
inline

Definition at line 68 of file VOP_OperatorInfo.h.

void VOP_InOutInfo::setName ( const UT_StringHolder name)
inline

Definition at line 64 of file VOP_OperatorInfo.h.

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

Definition at line 106 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: