OP_Group Class Reference

#include <OP_Group.h>

List of all members.

Public Member Functions

const UT_StringgetName () const
void setName (const char *n)
int isInternal () const
int setPicked (int on_off, int list=0)
int getPicked (int list=0) const
void setXY (float x, float y)
float getX () const
float getY () const
short getFlags ()
void setFlags (short f)
const UT_ColorgetColor (void) const
void setColor (const UT_Color &col)
void saveGroupForUndo ()
int saveContents (ostream &os, int binary=0)
bool loadContents (UT_IStream &is)
void clearUndoFlags ()
void setFlag (char flagchar, int onoff)
void setDisplay (int onoff)
void setSelectable (int onoff)
void setTemplate (int onoff)
void setExposed (int onoff)
void setSelected (int onoff)
void setExport (int onoff)
void setThumbnail (int onoff)
int clear (int send_change=1)
int addPattern (const char *pat)
int subPattern (const char *pat)
int setPattern (const char *pat)
int addMember (OP_Node *node, int send_change=1)
int subMember (OP_Node *node, int send_change=1)
int addPickedNodes (bool or_in_picked_netbox=false)
int subPickedNodes (bool or_in_picked_netbox=false)
int subNonPickedRootNodes ()
int isMember (const OP_Node *node) const
int contains (const OP_Node *node) const
int getPattern (UT_String &str) const
int getMembers (UT_PtrArray< OP_Node * > &list, int avoid_dups=0) const
int countMembers () const
OP_NetworkgetNetwork ()
void sendGroupChange ()

Static Public Member Functions

static char getGroupChar ()

Friends

class OP_GroupList


Detailed Description

Definition at line 37 of file OP_Group.h.


Member Function Documentation

int OP_Group::addMember ( OP_Node node,
int  send_change = 1 
)

int OP_Group::addPattern ( const char *  pat  ) 

int OP_Group::addPickedNodes ( bool  or_in_picked_netbox = false  ) 

int OP_Group::clear ( int  send_change = 1  ) 

void OP_Group::clearUndoFlags (  )  [inline]

Definition at line 67 of file OP_Group.h.

int OP_Group::contains ( const OP_Node node  )  const [inline]

Definition at line 120 of file OP_Group.h.

int OP_Group::countMembers (  )  const

const UT_Color& OP_Group::getColor ( void   )  const [inline]

Definition at line 61 of file OP_Group.h.

short OP_Group::getFlags (  )  [inline]

Definition at line 58 of file OP_Group.h.

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

Definition at line 40 of file OP_Group.h.

int OP_Group::getMembers ( UT_PtrArray< OP_Node * > &  list,
int  avoid_dups = 0 
) const

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

Definition at line 42 of file OP_Group.h.

OP_Network* OP_Group::getNetwork (  )  [inline]

Definition at line 136 of file OP_Group.h.

int OP_Group::getPattern ( UT_String str  )  const

int OP_Group::getPicked ( int  list = 0  )  const

float OP_Group::getX (  )  const [inline]

Definition at line 53 of file OP_Group.h.

float OP_Group::getY (  )  const [inline]

Definition at line 54 of file OP_Group.h.

int OP_Group::isInternal (  )  const

int OP_Group::isMember ( const OP_Node node  )  const

bool OP_Group::loadContents ( UT_IStream is  ) 

int OP_Group::saveContents ( ostream &  os,
int  binary = 0 
)

void OP_Group::saveGroupForUndo (  ) 

void OP_Group::sendGroupChange (  ) 

void OP_Group::setColor ( const UT_Color col  )  [inline]

Definition at line 62 of file OP_Group.h.

void OP_Group::setDisplay ( int  onoff  ) 

void OP_Group::setExport ( int  onoff  ) 

void OP_Group::setExposed ( int  onoff  ) 

void OP_Group::setFlag ( char  flagchar,
int  onoff 
)

void OP_Group::setFlags ( short  f  )  [inline]

Definition at line 59 of file OP_Group.h.

void OP_Group::setName ( const char *  n  ) 

int OP_Group::setPattern ( const char *  pat  )  [inline]

Definition at line 91 of file OP_Group.h.

int OP_Group::setPicked ( int  on_off,
int  list = 0 
)

void OP_Group::setSelectable ( int  onoff  ) 

void OP_Group::setSelected ( int  onoff  ) 

void OP_Group::setTemplate ( int  onoff  ) 

void OP_Group::setThumbnail ( int  onoff  ) 

void OP_Group::setXY ( float  x,
float  y 
)

int OP_Group::subMember ( OP_Node node,
int  send_change = 1 
)

int OP_Group::subNonPickedRootNodes (  ) 

int OP_Group::subPattern ( const char *  pat  ) 

int OP_Group::subPickedNodes ( bool  or_in_picked_netbox = false  ) 


Friends And Related Function Documentation

friend class OP_GroupList [friend]

Definition at line 145 of file OP_Group.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