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

#include <OP_Group.h>

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 (fpreal x, fpreal y)
 
fpreal getX () const
 
fpreal getY () const
 
short getFlags ()
 
void setFlags (short f)
 
const UT_ColorgetColor (void) const
 
void setColor (const UT_Color &col)
 
void saveGroupForUndo ()
 
int saveContents (std::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_ValArray< OP_Node * > &list, int avoid_dups=0) const
 
int countMembers () const
 
OP_NetworkgetNetwork ()
 
void sendGroupChange ()
 
int64 getMemoryUsage (bool inclusive) const
 Return the amount of memory owned by this OP_Group. More...
 

Static Public Member Functions

static char getGroupChar ()
 

Friends

class OP_GroupList
 

Detailed Description

Definition at line 32 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 62 of file OP_Group.h.

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

Definition at line 115 of file OP_Group.h.

int OP_Group::countMembers ( ) const
const UT_Color& OP_Group::getColor ( void  ) const
inline

Definition at line 56 of file OP_Group.h.

short OP_Group::getFlags ( )
inline

Definition at line 53 of file OP_Group.h.

static char OP_Group::getGroupChar ( )
inlinestatic

Definition at line 35 of file OP_Group.h.

int OP_Group::getMembers ( UT_ValArray< OP_Node * > &  list,
int  avoid_dups = 0 
) const
int64 OP_Group::getMemoryUsage ( bool  inclusive) const
inline

Return the amount of memory owned by this OP_Group.

Definition at line 140 of file OP_Group.h.

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

Definition at line 37 of file OP_Group.h.

OP_Network* OP_Group::getNetwork ( )
inline

Definition at line 131 of file OP_Group.h.

int OP_Group::getPattern ( UT_String str) const
int OP_Group::getPicked ( int  list = 0) const
fpreal OP_Group::getX ( ) const
inline

Definition at line 48 of file OP_Group.h.

fpreal OP_Group::getY ( ) const
inline

Definition at line 49 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 ( std::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 57 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 54 of file OP_Group.h.

void OP_Group::setName ( const char *  n)
int OP_Group::setPattern ( const char *  pat)
inline

Definition at line 86 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 ( fpreal  x,
fpreal  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 148 of file OP_Group.h.


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