OP_Input Class Reference

#include <OP_Input.h>

List of all members.

Public Member Functions

 OP_Input (OP_Node *owner)
virtual ~OP_Input ()
virtual int save (ostream &os, int bin)
virtual bool load (UT_IStream &is, const char *path=0)
void resolveReference ()
const char * getNodeReference () const
OP_NodegetNode ()
unsigned getNodeOutputIndex ()
int isNull () const
int isIndirect () const
OP_InputIndirectgetIndirect ()
virtual int64 getMemUsage (UT_Bool onlythis) const

Protected Member Functions

void setInput (OP_Node *myNode, unsigned outputIdx)
void setInputReference (const char *label, unsigned outputIdx)
virtual void setMyNode (OP_Node *input_node, unsigned outputIdx)

Protected Attributes

OP_NodemyNode
OP_NodemyOwner
unsigned myNodeOutputIdx

Friends

class OP_Node
ostream & operator<< (ostream &os, OP_Input &d)


Detailed Description

Examples:

VOP/VOP_Switch.C.

Definition at line 30 of file OP_Input.h.


Constructor & Destructor Documentation

OP_Input::OP_Input ( OP_Node owner  ) 

virtual OP_Input::~OP_Input (  )  [virtual]


Member Function Documentation

OP_InputIndirect* OP_Input::getIndirect (  ) 

virtual int64 OP_Input::getMemUsage ( UT_Bool  onlythis  )  const [virtual]

OP_Node* OP_Input::getNode (  ) 

Examples:
VOP/VOP_Switch.C.

unsigned OP_Input::getNodeOutputIndex (  ) 

Examples:
VOP/VOP_Switch.C.

const char* OP_Input::getNodeReference (  )  const [inline]

Definition at line 42 of file OP_Input.h.

int OP_Input::isIndirect (  )  const [inline]

Definition at line 50 of file OP_Input.h.

int OP_Input::isNull (  )  const

virtual bool OP_Input::load ( UT_IStream is,
const char *  path = 0 
) [virtual]

void OP_Input::resolveReference (  ) 

virtual int OP_Input::save ( ostream &  os,
int  bin 
) [virtual]

void OP_Input::setInput ( OP_Node myNode,
unsigned  outputIdx 
) [protected]

void OP_Input::setInputReference ( const char *  label,
unsigned  outputIdx 
) [protected]

virtual void OP_Input::setMyNode ( OP_Node input_node,
unsigned  outputIdx 
) [protected, virtual]


Friends And Related Function Documentation

friend class OP_Node [friend]

Definition at line 70 of file OP_Input.h.

ostream& operator<< ( ostream &  os,
OP_Input d 
) [friend]

Definition at line 72 of file OP_Input.h.


Member Data Documentation

OP_Node* OP_Input::myNode [protected]

Definition at line 65 of file OP_Input.h.

unsigned OP_Input::myNodeOutputIdx [protected]

Definition at line 67 of file OP_Input.h.

OP_Node* OP_Input::myOwner [protected]

Definition at line 66 of file OP_Input.h.


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

Generated on Fri May 25 00:10:32 2012 for HDK by  doxygen 1.5.9