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

#include <OP_Input.h>

Public Member Functions

 OP_Input (OP_NetworkBoxItem *owner, OP_ConnectorId new_id)
 
 ~OP_Input ()
 
int save (std::ostream &os, int bin, const char *input_name)
 
bool load (UT_IStream &is, const char *path, std::string *input_name_out)
 
OP_NetworkBoxItemgetOwnerItem () const
 
void resolveReference ()
 
const char * getNodeReference () const
 
OP_NodegetNode ()
 
unsigned getNodeOutputIndex ()
 
OP_ConnectorId getNodeOutputName ()
 
void dirtyCachedOutputIndex ()
 
bool isConnectedToNode () const
 
bool isConnected () const
 
bool isIndirect () const
 
OP_IndirectInputgetIndirect ()
 
OP_NetworkBoxItemgetInputItem ()
 
unsigned getInputItemOutputIndex ()
 
int64 getMemoryUsage (bool inclusive) const
 
void setIsVisible (bool value)
 
bool getIsVisible () const
 
void moveFrom (OP_Input *other)
 
void getId (int &id)
 
void setId (int id)
 
OP_ConnectorId getId () const
 
void clearIndirectInput ()
 
bool getPicked () const
 
bool getOnPickedPath (bool through_pinned_dots=true) const
 
int setPicked (bool picked, bool send_change_event=true, bool save_undo=true)
 

Friends

class OP_Node
 
class OP_Dot
 

Detailed Description

Examples:
VOP/VOP_Switch.C.

Definition at line 37 of file OP_Input.h.

Constructor & Destructor Documentation

OP_Input::OP_Input ( OP_NetworkBoxItem owner,
OP_ConnectorId  new_id 
)
OP_Input::~OP_Input ( )

Member Function Documentation

void OP_Input::clearIndirectInput ( )
void OP_Input::dirtyCachedOutputIndex ( )
void OP_Input::getId ( int id)
OP_ConnectorId OP_Input::getId ( ) const
inline

Definition at line 98 of file OP_Input.h.

OP_IndirectInput* OP_Input::getIndirect ( )
OP_NetworkBoxItem* OP_Input::getInputItem ( )
unsigned OP_Input::getInputItemOutputIndex ( )
bool OP_Input::getIsVisible ( ) const
inline

Definition at line 88 of file OP_Input.h.

int64 OP_Input::getMemoryUsage ( bool  inclusive) const
OP_Node* OP_Input::getNode ( )
Examples:
VOP/VOP_Switch.C.
unsigned OP_Input::getNodeOutputIndex ( )
Examples:
VOP/VOP_Switch.C.
OP_ConnectorId OP_Input::getNodeOutputName ( )
const char* OP_Input::getNodeReference ( ) const
inline

Definition at line 54 of file OP_Input.h.

bool OP_Input::getOnPickedPath ( bool  through_pinned_dots = true) const
OP_NetworkBoxItem* OP_Input::getOwnerItem ( ) const
inline

Definition at line 49 of file OP_Input.h.

bool OP_Input::getPicked ( ) const
bool OP_Input::isConnected ( ) const
inline

Definition at line 72 of file OP_Input.h.

bool OP_Input::isConnectedToNode ( ) const
bool OP_Input::isIndirect ( ) const
inline

Definition at line 75 of file OP_Input.h.

bool OP_Input::load ( UT_IStream is,
const char *  path,
std::string input_name_out 
)
void OP_Input::moveFrom ( OP_Input other)
void OP_Input::resolveReference ( )
int OP_Input::save ( std::ostream &  os,
int  bin,
const char *  input_name 
)
void OP_Input::setId ( int  id)
void OP_Input::setIsVisible ( bool  value)
inline

Definition at line 86 of file OP_Input.h.

int OP_Input::setPicked ( bool  picked,
bool  send_change_event = true,
bool  save_undo = true 
)

Friends And Related Function Documentation

friend class OP_Dot
friend

Definition at line 171 of file OP_Input.h.

friend class OP_Node
friend

Definition at line 170 of file OP_Input.h.


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