OP_Input Class Reference

#include <OP_Input.h>

Inheritance diagram for OP_Input:

OP_ExtraInput

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
void setIsVisible (bool value)
bool getIsVisible (void)
bool getIsVisibleUI (void)

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 (  ) 

bool OP_Input::getIsVisible ( void   )  [inline]

Definition at line 56 of file OP_Input.h.

bool OP_Input::getIsVisibleUI ( void   )  [inline]

Definition at line 58 of file OP_Input.h.

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

Reimplemented in OP_ExtraInput.

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]

Reimplemented in OP_ExtraInput.

void OP_Input::resolveReference (  ) 

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

Reimplemented in OP_ExtraInput.

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

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

void OP_Input::setIsVisible ( bool  value  )  [inline]

Definition at line 55 of file OP_Input.h.

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

Reimplemented in OP_ExtraInput.


Friends And Related Function Documentation

friend class OP_Node [friend]

Definition at line 81 of file OP_Input.h.

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

Definition at line 83 of file OP_Input.h.


Member Data Documentation

OP_Node* OP_Input::myNode [protected]

Definition at line 76 of file OP_Input.h.

unsigned OP_Input::myNodeOutputIdx [protected]

Definition at line 78 of file OP_Input.h.

OP_Node* OP_Input::myOwner [protected]

Definition at line 77 of file OP_Input.h.


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

Generated on Mon Jan 28 00:29:43 2013 for HDK by  doxygen 1.5.9