OP_Bundle Class Reference

#include <OP_Bundle.h>

List of all members.

Public Member Functions

 OP_Bundle (const char *name, int internal=0)
 ~OP_Bundle ()
const char * getName () const
int isInternal () const
void rename (const char *name)
void nodeAdded (OP_Node *node)
void nodeDeleted (OP_Node *node)
void bulkNodesAdded (const OP_NodeList &list)
void nodeAddedDeleted ()
void otherBundleChanged (const char *pattern)
void expandPattern (const OP_Network *node, const OP_Node *relativeto, const char *pattern)
void convertToNormalBundle ()
void clear ()
void setFilter (const OP_BundleFilter *filter)
const OP_BundleFiltergetFilter ()
const OP_BundlePatterngetPattern () const
void setSubnetInclusionFlag (bool onoff)
int getSubnetInclusionFlag () const
int addOp (OP_Node *op)
int addOp (int unique_id)
int addOpList (const OP_NodeList &list)
int removeOp (OP_Node *op)
int removeOp (int unique_id)
void refilterOp (OP_Node &node)
int getTouchTime () const
int isLocked () const
void setLocked (bool onoff)
int entries ()
OP_NodegetNode (int idx)
const OP_NodegetPatternNode () const
const OP_NodegetRelativeNode () const
void sortByPath ()
void sortByPointer ()
void bumpRefCount (int dir)
int getRefCount () const
int contains (const OP_Node *op, bool check_representative)
int contains (int unique_id, bool check_representative)
void buildString (UT_WorkBuffer &buffer, OP_Node *cwd=0)
void getMembers (UT_PtrArray< OP_Node * > &list)
const UT_IntArrayundoGetMembers () const
UT_IntArrayundoGetMembers ()
void emitEvent (OP_BundleEvent::OP_EventType type)
void addInterest (int add_id)
void removeInterest (int remove_id)
void addParmInterest (int node_id, int parm_id)
void removeParmInterest (int node_id, int parm_id)
int setPicked (int on_off)
int getPicked () const
UT_NotifierImpl
< OP_BundleEvent & > & 
getEventNotifier ()
void setOpsFlag (char flagchar, int onoff, bool propagate_to_ancestors=false)
void setOpsVisibility (bool onoff)
void syncOpOTLs (bool sync_flag, bool propagate_to_ancestors=false)
void appendUniqueOpParents (OP_NodeList &parents)

Static Public Member Functions

static void notifyOpsOfGroupChange (OP_Group *group)


Detailed Description

Definition at line 95 of file OP_Bundle.h.


Constructor & Destructor Documentation

OP_Bundle::OP_Bundle ( const char *  name,
int  internal = 0 
)

OP_Bundle::~OP_Bundle (  ) 


Member Function Documentation

void OP_Bundle::addInterest ( int  add_id  ) 

int OP_Bundle::addOp ( int  unique_id  ) 

int OP_Bundle::addOp ( OP_Node op  ) 

int OP_Bundle::addOpList ( const OP_NodeList list  ) 

void OP_Bundle::addParmInterest ( int  node_id,
int  parm_id 
)

void OP_Bundle::appendUniqueOpParents ( OP_NodeList parents  ) 

void OP_Bundle::buildString ( UT_WorkBuffer buffer,
OP_Node cwd = 0 
)

void OP_Bundle::bulkNodesAdded ( const OP_NodeList list  ) 

void OP_Bundle::bumpRefCount ( int  dir  )  [inline]

Definition at line 162 of file OP_Bundle.h.

void OP_Bundle::clear (  ) 

int OP_Bundle::contains ( int  unique_id,
bool  check_representative 
)

int OP_Bundle::contains ( const OP_Node op,
bool  check_representative 
)

void OP_Bundle::convertToNormalBundle (  ) 

Converts the bundle to a normal bundle by removing its defining pattern (if any). The member list in the bundle remains the same. A bundle with no defining pattern is already a normal bundle.

void OP_Bundle::emitEvent ( OP_BundleEvent::OP_EventType  type  ) 

int OP_Bundle::entries (  ) 

void OP_Bundle::expandPattern ( const OP_Network node,
const OP_Node relativeto,
const char *  pattern 
)

UT_NotifierImpl<OP_BundleEvent&>& OP_Bundle::getEventNotifier (  )  [inline]

Definition at line 195 of file OP_Bundle.h.

const OP_BundleFilter* OP_Bundle::getFilter (  )  [inline]

Definition at line 124 of file OP_Bundle.h.

void OP_Bundle::getMembers ( UT_PtrArray< OP_Node * > &  list  ) 

const char* OP_Bundle::getName ( void   )  const [inline]

Definition at line 100 of file OP_Bundle.h.

OP_Node* OP_Bundle::getNode ( int  idx  ) 

const OP_BundlePattern* OP_Bundle::getPattern (  )  const [inline]

Definition at line 126 of file OP_Bundle.h.

const OP_Node* OP_Bundle::getPatternNode (  )  const

int OP_Bundle::getPicked (  )  const [inline]

Definition at line 191 of file OP_Bundle.h.

int OP_Bundle::getRefCount (  )  const [inline]

Definition at line 163 of file OP_Bundle.h.

const OP_Node* OP_Bundle::getRelativeNode (  )  const

int OP_Bundle::getSubnetInclusionFlag (  )  const [inline]

Definition at line 134 of file OP_Bundle.h.

int OP_Bundle::getTouchTime (  )  const [inline]

Definition at line 148 of file OP_Bundle.h.

int OP_Bundle::isInternal (  )  const [inline]

Definition at line 101 of file OP_Bundle.h.

int OP_Bundle::isLocked (  )  const [inline]

Definition at line 150 of file OP_Bundle.h.

void OP_Bundle::nodeAdded ( OP_Node node  ) 

void OP_Bundle::nodeAddedDeleted (  ) 

void OP_Bundle::nodeDeleted ( OP_Node node  ) 

static void OP_Bundle::notifyOpsOfGroupChange ( OP_Group group  )  [static]

void OP_Bundle::otherBundleChanged ( const char *  pattern  ) 

void OP_Bundle::refilterOp ( OP_Node node  ) 

void OP_Bundle::removeInterest ( int  remove_id  ) 

int OP_Bundle::removeOp ( int  unique_id  ) 

int OP_Bundle::removeOp ( OP_Node op  ) 

void OP_Bundle::removeParmInterest ( int  node_id,
int  parm_id 
)

void OP_Bundle::rename ( const char *  name  ) 

void OP_Bundle::setFilter ( const OP_BundleFilter filter  ) 

void OP_Bundle::setLocked ( bool  onoff  ) 

void OP_Bundle::setOpsFlag ( char  flagchar,
int  onoff,
bool  propagate_to_ancestors = false 
)

void OP_Bundle::setOpsVisibility ( bool  onoff  ) 

int OP_Bundle::setPicked ( int  on_off  ) 

void OP_Bundle::setSubnetInclusionFlag ( bool  onoff  ) 

void OP_Bundle::sortByPath (  ) 

void OP_Bundle::sortByPointer (  ) 

void OP_Bundle::syncOpOTLs ( bool  sync_flag,
bool  propagate_to_ancestors = false 
)

UT_IntArray& OP_Bundle::undoGetMembers (  )  [inline]

Definition at line 176 of file OP_Bundle.h.

const UT_IntArray& OP_Bundle::undoGetMembers (  )  const [inline]

Definition at line 175 of file OP_Bundle.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