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

#include <OP_SubnetIndirectInput.h>

+ Inheritance diagram for OP_SubnetIndirectInput:

Public Member Functions

virtual OP_ItemType getItemType () const
 Our children should implement this and return what type of item they are. More...
 
virtual fpreal getW () const
 
virtual fpreal getH () const
 
virtual const UT_StringgetItemName () const
 
virtual bool setItemName (const UT_String &name)
 
virtual OP_NetworkBoxItemgetInputItem () const
 
virtual int getInputItemOutputIndex () const
 
int getInputIndex () const
 
int64 getUniqueId () const
 
virtual int64 getItemUniqueId () const
 Functions to get hip-file-unique ids for any item type. More...
 
int64 getMemoryUsage (bool inclusive) const
 
- Public Member Functions inherited from OP_IndirectInput
 OP_IndirectInput (OP_Network &owner)
 
virtual ~OP_IndirectInput ()
 
OP_NodegetNode ()
 
int getNodeOutputIndex ()
 
unsigned getNOutputs () const
 
OP_NetworkBoxItemgetOutput (unsigned idx) const
 
void clearOutputs (bool for_delete=false)
 
void getOutputNodes (OP_NodeList &nodes, bool into_subnets=false) const
 
OP_NodegetFirstOutputNode () const
 
virtual OP_NetworkgetParentNetwork () const
 Returns the network that is our parent. More...
 
OP_NetworkgetOwner () const
 
virtual int setPicked (int on_off, bool propagate_parent_event=true)
 
virtual int getPicked () const
 
virtual void setXY (fpreal x, fpreal y)
 
virtual fpreal getX () const
 
virtual fpreal getY () const
 
virtual bool setColor (const UT_Color &color)
 
bool setUseColorFromOutput (bool use_output_color)
 
bool getUseColorFromOutput () const
 
bool setSymbolicColorName (const UT_StringHolder &name)
 
const UT_StringHoldergetSymbolicColorName () const
 
int64 getMemoryUsage (bool inclusive) const
 
- Public Member Functions inherited from OP_NetworkBoxItem
 OP_NetworkBoxItem ()
 
virtual ~OP_NetworkBoxItem ()
 
bool setXYWithBoundsChecks (fpreal x, fpreal y)
 
void validateSafeBounds (fpreal &x, fpreal &y)
 
void validateSafeBounds (fpreal &x, fpreal &y, fpreal &w, fpreal &h)
 
void moveToGoodPosition (bool relativetoinputs=true, bool moveinputs=true, bool moveoutputs=true, bool moveunconnected=true)
 
void setOwnerBox (OP_NetworkBox *box)
 
OP_NetworkBoxgetOwnerBox () const
 
bool hasOwnerBox (OP_NetworkBoxItem *item) const
 
OP_NetworkBoxgetMinimizedOwnerBox () const
 
void getPathFromParent (UT_String &str, const OP_Node *parent) const
 
void getPathFromParent (UT_WorkBuffer &str, const OP_Node *parent) const
 
void getRelativePathTo (const OP_NetworkBoxItem *base_item, UT_String &result) const
 Returns the path of this item relative to 'base_item'. More...
 
virtual UT_Color getColor () const
 Accessors for color used in the network view. More...
 
virtual bool getItemExpose () const
 
virtual void setItemExpose (bool expose)
 
OP_NetworkgetCreator () const
 
OP_NetworkgetCodeCreator () const
 
void getConnectedItems (OP_NetworkBoxItemList &connected, bool inputs, bool recursive, bool include_this_item) const
 Fills an array with all network box items connected to this item. More...
 
int64 getMemoryUsage (bool inclusive) const
 

Static Public Member Functions

static OP_SubnetIndirectInputlookupSubnetIndirectInput (int64 unique_id)
 
- Static Public Member Functions inherited from OP_IndirectInput
static UT_Color getDefaultColor ()
 
- Static Public Member Functions inherited from OP_NetworkBoxItem
static fpreal getMaxSafeX ()
 The following methods return the safe extents of the position of items. More...
 
static fpreal getMinSafeX ()
 
static fpreal getMaxSafeY ()
 
static fpreal getMinSafeY ()
 
static OP_NetworkBoxItemlookupItem (const OP_ItemType &type, int64 id)
 
static OP_NetworkBoxItemlookupItem (const OP_ItemId &id)
 

Friends

class OP_Network
 

Additional Inherited Members

- Protected Member Functions inherited from OP_IndirectInput
void initFromIndirect (const OP_IndirectInput &src)
 
void initFromFile (const UT_StringHolder &clrstr, const UT_StringHolder &netboxname, fpreal x, fpreal y)
 
void saveColorString (std::ostream &os) const
 
void propagateModification (OP_Node *by_whom, OP_EventType reason, int parm_index, OP_PropagateData &prop_data)
 
- Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable
 UT_NonCopyable ()=default
 
 ~UT_NonCopyable ()=default
 
 UT_NonCopyable (const UT_NonCopyable &)=delete
 
UT_NonCopyableoperator= (const UT_NonCopyable &)=delete
 
- Protected Attributes inherited from OP_NetworkBoxItem
UT_Color myColor
 

Detailed Description

Definition at line 21 of file OP_SubnetIndirectInput.h.

Member Function Documentation

virtual fpreal OP_SubnetIndirectInput::getH ( ) const
inlinevirtual

Implements OP_NetworkBoxItem.

Definition at line 28 of file OP_SubnetIndirectInput.h.

int OP_SubnetIndirectInput::getInputIndex ( ) const
inline

Definition at line 36 of file OP_SubnetIndirectInput.h.

virtual OP_NetworkBoxItem* OP_SubnetIndirectInput::getInputItem ( ) const
virtual

Implements OP_IndirectInput.

virtual int OP_SubnetIndirectInput::getInputItemOutputIndex ( ) const
virtual

Implements OP_IndirectInput.

virtual const UT_String& OP_SubnetIndirectInput::getItemName ( ) const
virtual

Basically the same as OP_Node::getName(), but abstracted to a higher level so we can call it on all items.

Implements OP_NetworkBoxItem.

virtual OP_ItemType OP_SubnetIndirectInput::getItemType ( ) const
inlinevirtual

Our children should implement this and return what type of item they are.

Implements OP_NetworkBoxItem.

Definition at line 24 of file OP_SubnetIndirectInput.h.

virtual int64 OP_SubnetIndirectInput::getItemUniqueId ( ) const
inlinevirtual

Functions to get hip-file-unique ids for any item type.

Implements OP_NetworkBoxItem.

Definition at line 42 of file OP_SubnetIndirectInput.h.

int64 OP_SubnetIndirectInput::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 46 of file OP_SubnetIndirectInput.h.

int64 OP_SubnetIndirectInput::getUniqueId ( ) const
virtual fpreal OP_SubnetIndirectInput::getW ( ) const
inlinevirtual

Implements OP_NetworkBoxItem.

Definition at line 26 of file OP_SubnetIndirectInput.h.

static OP_SubnetIndirectInput* OP_SubnetIndirectInput::lookupSubnetIndirectInput ( int64  unique_id)
static
virtual bool OP_SubnetIndirectInput::setItemName ( const UT_String name)
virtual

Implements OP_NetworkBoxItem.

Friends And Related Function Documentation

friend class OP_Network
friend

Definition at line 66 of file OP_SubnetIndirectInput.h.


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