CH_Group Class Reference

#include <CH_Group.h>

List of all members.

Public Member Functions

const UT_StringgetName () const
void getFullPath (UT_String &str) const
bool isInTree () const
bool isRoot () const
bool isEmpty () const
int getTotalEntries () const
void clear ()
void displayInfo (int indent=0)
void makeLast ()
void changeIndex (int new_index)
void sortGroups (bool recursive)
CH_GroupgetParentGroup ()
int getSubGroupEntries ()
const UT_PtrArray< CH_Group * > & getSubGroups ()
bool isEventualParentOf (CH_Group *other)
int findIndex (CH_Group *subgroup)
int getEntries () const
bool strictContains (const CH_Channel *chp) const
bool strictContains (const CH_ChannelRef &chref) const
bool contains (const CH_Channel *chp) const
bool contains (const CH_ChannelRef &chref) const
int strictGetChannels (CH_ChannelList &channels) const
int strictGetChanRefs (CH_ChannelRefList &chanrefs) const
int getChannels (CH_ChannelList &channels) const
int getChanRefs (CH_ChannelRefList &chanrefs) const
int getFullChannelPaths (UT_StringArray &channel_paths, bool use_alias=false) const
int addChannel (const CH_Channel *chp)
int addChannel (const CH_ChannelRef &chref)
int removeChannel (const CH_Channel *chp)
int removeChannel (const CH_ChannelRef &chref)
int addChannels (const CH_ChannelList &channels)
int addChannels (const CH_ChannelRefList &chanrefs)
int removeChannels (const CH_ChannelList &channels)
int removeChannels (const CH_ChannelRefList &chanrefs)
void changeReferencesToNodeId (int old_id, int new_id)
void removeChannelsWithNodeId (int node_id)
unsigned getScopeFlags (unsigned flags)
void dirtyScopeFlags (unsigned flags)
void dirtySubtreeScopeFlags (unsigned flags)
void setScopeStatus (unsigned flags, bool on_off)
bool updateScopeFlags (unsigned flags)
void dirtyAllScopeFlags ()
void save (ostream &os, int binary) const
bool load (UT_IStream &is)

Static Public Member Functions

static char getGroupChar ()
static int cmp (const CH_Group *a, const CH_Group *b)

Friends

class CH_Manager
class CH_UndoGroupAddRemoveChannel


Detailed Description

Definition at line 70 of file CH_Group.h.


Member Function Documentation

int CH_Group::addChannel ( const CH_ChannelRef chref  ) 

int CH_Group::addChannel ( const CH_Channel chp  ) 

int CH_Group::addChannels ( const CH_ChannelRefList chanrefs  ) 

int CH_Group::addChannels ( const CH_ChannelList channels  ) 

void CH_Group::changeIndex ( int  new_index  ) 

void CH_Group::changeReferencesToNodeId ( int  old_id,
int  new_id 
)

void CH_Group::clear (  ) 

static int CH_Group::cmp ( const CH_Group a,
const CH_Group b 
) [static]

bool CH_Group::contains ( const CH_ChannelRef chref  )  const

bool CH_Group::contains ( const CH_Channel chp  )  const

void CH_Group::dirtyAllScopeFlags (  ) 

void CH_Group::dirtyScopeFlags ( unsigned  flags  ) 

void CH_Group::dirtySubtreeScopeFlags ( unsigned  flags  ) 

void CH_Group::displayInfo ( int  indent = 0  ) 

int CH_Group::findIndex ( CH_Group subgroup  ) 

int CH_Group::getChannels ( CH_ChannelList channels  )  const

int CH_Group::getChanRefs ( CH_ChannelRefList chanrefs  )  const

int CH_Group::getEntries (  )  const [inline]

Definition at line 113 of file CH_Group.h.

int CH_Group::getFullChannelPaths ( UT_StringArray channel_paths,
bool  use_alias = false 
) const

void CH_Group::getFullPath ( UT_String str  )  const

static char CH_Group::getGroupChar (  )  [inline, static]

Definition at line 76 of file CH_Group.h.

const UT_String& CH_Group::getName ( void   )  const [inline]

Definition at line 90 of file CH_Group.h.

CH_Group* CH_Group::getParentGroup (  )  [inline]

Definition at line 106 of file CH_Group.h.

unsigned CH_Group::getScopeFlags ( unsigned  flags  ) 

int CH_Group::getSubGroupEntries (  )  [inline]

Definition at line 107 of file CH_Group.h.

const UT_PtrArray<CH_Group*>& CH_Group::getSubGroups (  )  [inline]

Definition at line 108 of file CH_Group.h.

int CH_Group::getTotalEntries (  )  const

bool CH_Group::isEmpty (  )  const

bool CH_Group::isEventualParentOf ( CH_Group other  ) 

bool CH_Group::isInTree (  )  const [inline]

Definition at line 92 of file CH_Group.h.

bool CH_Group::isRoot (  )  const [inline]

Definition at line 93 of file CH_Group.h.

bool CH_Group::load ( UT_IStream is  ) 

void CH_Group::makeLast (  ) 

int CH_Group::removeChannel ( const CH_ChannelRef chref  ) 

int CH_Group::removeChannel ( const CH_Channel chp  ) 

int CH_Group::removeChannels ( const CH_ChannelRefList chanrefs  ) 

int CH_Group::removeChannels ( const CH_ChannelList channels  ) 

void CH_Group::removeChannelsWithNodeId ( int  node_id  ) 

void CH_Group::save ( ostream &  os,
int  binary 
) const

void CH_Group::setScopeStatus ( unsigned  flags,
bool  on_off 
)

void CH_Group::sortGroups ( bool  recursive  ) 

bool CH_Group::strictContains ( const CH_ChannelRef chref  )  const

bool CH_Group::strictContains ( const CH_Channel chp  )  const

int CH_Group::strictGetChannels ( CH_ChannelList channels  )  const

int CH_Group::strictGetChanRefs ( CH_ChannelRefList chanrefs  )  const

bool CH_Group::updateScopeFlags ( unsigned  flags  ) 


Friends And Related Function Documentation

friend class CH_Manager [friend]

Definition at line 72 of file CH_Group.h.

friend class CH_UndoGroupAddRemoveChannel [friend]

Definition at line 73 of file CH_Group.h.


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

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