OP_BundleList Class Reference

#include <OP_BundleList.h>

List of all members.

Public Member Functions

 OP_BundleList ()
 ~OP_BundleList ()
void clear ()
int entries () const
OP_BundlegetBundle (int i)
OP_BundlegetBundle (const char *name)
int internalEntries () const
OP_BundlegetInternalBundle (int i)
OP_BundlecreateBundle (const char *name, int internal=0)
OP_BundleduplicateBundle (OP_Bundle *bundle)
int destroyBundle (const char *name)
int destroyBundle (int index)
char * findUniqueBundleName (const char *base=NULL)
int renameBundle (const char *oldname, const char *newname)
int getMemberships (const OP_Node *node, UT_PtrArray< OP_Bundle * > &memberships) const
const OP_BundleFiltersetBundleFilter (const char *bname, const char *fname)
const OP_BundleFilterlookupFilter (const char *name) const
void getFilters (UT_PtrArray< const OP_BundleFilter * > &list)
void bundleSetLock (OP_Bundle *bundle, bool lock)
const OP_BundleFilterbundleSetFilter (OP_Bundle *bundle, const char *fname)
const OP_BundleFilterbundleSetFilter (OP_Bundle *bundle, const OP_BundleFilter *filter)
void bundleClear (OP_Bundle *bundle)
int bundleAddOp (OP_Bundle *bundle, OP_Node *node)
int bundleAddOps (OP_Bundle *bundle, const OP_NodeList &nodes)
int bundleRemoveOp (OP_Bundle *bundle, OP_Node *node)
int bundleRemoveOps (OP_Bundle *bundle, const OP_NodeList &nodes)
void nodeAdded (OP_Node *node)
void nodeDeleted (OP_Node *node)
void nodeRenamed (OP_Node *node)
void refilterOp (OP_Node &node)
void bulkAddNodes (const OP_NodeList *nodes)
int getTouchTime () const
OP_BundlegetPattern (UT_String &prev_bundle, const OP_Network *creator, const OP_Node *relativeto, const char *pattern, const char *filter=0, const char *label=0, bool subnet_inclusion=true, bool addinterest=1)
void deReferenceBundle (const UT_String &prev_bundle)
void sortBundles ()
void simplifyPattern (const OP_Node *root, UT_String &pattern)
void cmdLs (CMD_Args &args)
void cmdAdd (CMD_Args &args)
void cmdRm (CMD_Args &args)
void cmdOp (CMD_Args &args)
void cmdName (CMD_Args &args)
int saveToHip (ostream &os)
void buildBundleMenu (PRM_Name *menu, int max, const char *filter=0, int include_at_sign=1, int put_in_default_message=1)
void notifyOpsOfGroupChange (OP_Group *group)
UT_NotifierImpl
< OP_BundleListEvent & > & 
getEventNotifier ()
void dumpFilters (ostream &os)

Static Public Member Functions

static void simplifyPatternSafely (const OP_Node *root, UT_String &pattern)
static void installCommands (CMD_Manager *cmd)


Detailed Description

Definition at line 62 of file OP_BundleList.h.


Constructor & Destructor Documentation

OP_BundleList::OP_BundleList (  ) 

OP_BundleList::~OP_BundleList (  ) 


Member Function Documentation

void OP_BundleList::buildBundleMenu ( PRM_Name menu,
int  max,
const char *  filter = 0,
int  include_at_sign = 1,
int  put_in_default_message = 1 
)

void OP_BundleList::bulkAddNodes ( const OP_NodeList nodes  ) 

int OP_BundleList::bundleAddOp ( OP_Bundle bundle,
OP_Node node 
)

int OP_BundleList::bundleAddOps ( OP_Bundle bundle,
const OP_NodeList nodes 
)

void OP_BundleList::bundleClear ( OP_Bundle bundle  ) 

int OP_BundleList::bundleRemoveOp ( OP_Bundle bundle,
OP_Node node 
)

int OP_BundleList::bundleRemoveOps ( OP_Bundle bundle,
const OP_NodeList nodes 
)

const OP_BundleFilter* OP_BundleList::bundleSetFilter ( OP_Bundle bundle,
const OP_BundleFilter filter 
)

const OP_BundleFilter* OP_BundleList::bundleSetFilter ( OP_Bundle bundle,
const char *  fname 
)

void OP_BundleList::bundleSetLock ( OP_Bundle bundle,
bool  lock 
)

void OP_BundleList::clear (  ) 

void OP_BundleList::cmdAdd ( CMD_Args args  ) 

void OP_BundleList::cmdLs ( CMD_Args args  ) 

void OP_BundleList::cmdName ( CMD_Args args  ) 

void OP_BundleList::cmdOp ( CMD_Args args  ) 

void OP_BundleList::cmdRm ( CMD_Args args  ) 

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

void OP_BundleList::deReferenceBundle ( const UT_String prev_bundle  ) 

int OP_BundleList::destroyBundle ( int  index  ) 

int OP_BundleList::destroyBundle ( const char *  name  ) 

void OP_BundleList::dumpFilters ( ostream &  os  ) 

OP_Bundle* OP_BundleList::duplicateBundle ( OP_Bundle bundle  ) 

int OP_BundleList::entries ( void   )  const [inline]

Definition at line 70 of file OP_BundleList.h.

char* OP_BundleList::findUniqueBundleName ( const char *  base = NULL  ) 

OP_Bundle* OP_BundleList::getBundle ( const char *  name  ) 

OP_Bundle* OP_BundleList::getBundle ( int  i  )  [inline]

Definition at line 71 of file OP_BundleList.h.

UT_NotifierImpl< OP_BundleListEvent& >& OP_BundleList::getEventNotifier (  )  [inline]

Definition at line 182 of file OP_BundleList.h.

void OP_BundleList::getFilters ( UT_PtrArray< const OP_BundleFilter * > &  list  ) 

OP_Bundle* OP_BundleList::getInternalBundle ( int  i  )  [inline]

Definition at line 75 of file OP_BundleList.h.

int OP_BundleList::getMemberships ( const OP_Node node,
UT_PtrArray< OP_Bundle * > &  memberships 
) const

OP_Bundle* OP_BundleList::getPattern ( UT_String prev_bundle,
const OP_Network creator,
const OP_Node relativeto,
const char *  pattern,
const char *  filter = 0,
const char *  label = 0,
bool  subnet_inclusion = true,
bool  addinterest = 1 
)

int OP_BundleList::getTouchTime (  )  const [inline]

Definition at line 133 of file OP_BundleList.h.

static void OP_BundleList::installCommands ( CMD_Manager cmd  )  [static]

int OP_BundleList::internalEntries (  )  const [inline]

Definition at line 74 of file OP_BundleList.h.

const OP_BundleFilter* OP_BundleList::lookupFilter ( const char *  name  )  const

void OP_BundleList::nodeAdded ( OP_Node node  ) 

void OP_BundleList::nodeDeleted ( OP_Node node  ) 

void OP_BundleList::nodeRenamed ( OP_Node node  ) 

void OP_BundleList::notifyOpsOfGroupChange ( OP_Group group  ) 

void OP_BundleList::refilterOp ( OP_Node node  ) 

int OP_BundleList::renameBundle ( const char *  oldname,
const char *  newname 
)

int OP_BundleList::saveToHip ( ostream &  os  ) 

const OP_BundleFilter* OP_BundleList::setBundleFilter ( const char *  bname,
const char *  fname 
)

void OP_BundleList::simplifyPattern ( const OP_Node root,
UT_String pattern 
)

static void OP_BundleList::simplifyPatternSafely ( const OP_Node root,
UT_String pattern 
) [static]

void OP_BundleList::sortBundles (  ) 


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