HDK
|
#include <OP_Group.h>
Public Member Functions | |
const UT_String & | getName () 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_Color & | getColor () 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, bool onoff) |
void | setDisplay (bool onoff) |
void | setSelectable (bool onoff) |
void | setTemplate (bool onoff) |
void | setExposed (bool onoff) |
void | setSelected (bool onoff) |
void | setExport (bool onoff) |
void | setThumbnail (bool 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_Array< OP_Node * > &list, int avoid_dups=0) const |
int | countMembers () const |
OP_Network * | getNetwork () |
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 |
Definition at line 32 of file OP_Group.h.
int OP_Group::addPattern | ( | const char * | pat | ) |
int OP_Group::addPickedNodes | ( | bool | or_in_picked_netbox = false | ) |
|
inline |
Definition at line 62 of file OP_Group.h.
Definition at line 115 of file OP_Group.h.
int OP_Group::countMembers | ( | ) | const |
|
inline |
Definition at line 56 of file OP_Group.h.
|
inline |
Definition at line 53 of file OP_Group.h.
|
inlinestatic |
Definition at line 35 of file OP_Group.h.
|
inline |
Return the amount of memory owned by this OP_Group.
Definition at line 140 of file OP_Group.h.
|
inline |
Definition at line 37 of file OP_Group.h.
|
inline |
Definition at line 131 of file OP_Group.h.
|
inline |
Definition at line 48 of file OP_Group.h.
|
inline |
Definition at line 49 of file OP_Group.h.
int OP_Group::isInternal | ( | ) | const |
bool OP_Group::loadContents | ( | UT_IStream & | is | ) |
void OP_Group::saveGroupForUndo | ( | ) |
void OP_Group::sendGroupChange | ( | ) |
Definition at line 57 of file OP_Group.h.
void OP_Group::setDisplay | ( | bool | onoff | ) |
void OP_Group::setExport | ( | bool | onoff | ) |
void OP_Group::setExposed | ( | bool | onoff | ) |
void OP_Group::setFlag | ( | char | flagchar, |
bool | onoff | ||
) |
|
inline |
Definition at line 54 of file OP_Group.h.
void OP_Group::setName | ( | const char * | n | ) |
|
inline |
Definition at line 86 of file OP_Group.h.
void OP_Group::setSelectable | ( | bool | onoff | ) |
void OP_Group::setSelected | ( | bool | onoff | ) |
void OP_Group::setTemplate | ( | bool | onoff | ) |
void OP_Group::setThumbnail | ( | bool | onoff | ) |
int OP_Group::subNonPickedRootNodes | ( | ) |
int OP_Group::subPattern | ( | const char * | pat | ) |
int OP_Group::subPickedNodes | ( | bool | or_in_picked_netbox = false | ) |
|
friend |
Definition at line 148 of file OP_Group.h.