#include <OP_Take.h>

Public Member Functions | |
| OP_Take () | |
| virtual | ~OP_Take () |
| void | storeTakeFlag (OP_Node *node, uchar flag) |
| void | storeTakeParm (OP_Node *node, PRM_Parm *parm, bool join=1, bool auto_take=false) |
| void | clearTakeFlag (OP_Node *node, uchar flag) |
| void | clearTakeParm (OP_Node *node, PRM_Parm *parm) |
| void | clearTakeData (int id, const char *label) |
| virtual void | switchToTake (TAKE_Take *take, bool force=false) |
| void | storeCurrentTake (OP_Node *root, bool force_master=false) |
| virtual TAKE_Data * | dataFactory (const char *oppath, const char *label) |
| virtual void | notifyObservers (TAKE_Event::TAKE_EventType type, const char *name, const TAKE_Take *take=0) |
| bool | takeSet (const char *name) |
| bool | takeMove (const char *name, const char *newparent, bool skip_current_restore=false) |
| bool | takeMerge (const char *dest, UT_StringArray &sources, bool override, UT_StringArray *missed=0) |
| bool | takeRemove (const char *name, bool recursive) |
| bool | takeRename (const char *oldname, const char *newname) |
| TAKE_Take * | takeAdd (const char *name, const char *parent=0) |
| TAKE_Take * | takeInsert (const char *name, const char *parent=0) |
| bool | takeInfo (const char *takename, UT_WorkBuffer &buf, int indent=0, bool contents=true, bool memusage=true) |
| bool | takeCommands (const char *takename, ostream &os) |
| bool | takeCopy (const char *takename, ostream &os, bool recurse) |
| bool | takePaste (UT_IStream &is, const char *parent=0, UT_PtrArray< TAKE_Take * > *created_list=0) |
| void | takeRestoreCurrent (TAKE_Take *take) |
| void | nodesDeleted (OP_NodeList &nodes) |
| void | removeSpareParm (OP_Node *node, const char *parmname) |
| void | copyDataFromNode (OP_Node *dest, const OP_Node *src) |
| void | pushSyncContext () |
| void | syncingNode (OP_Node *node) |
| void | popSyncContext () |
| void | setHandleNodeDeletionDuringUndoFlag (bool flag) |
| bool | handlesNodeDeletionDuringUndo () const |
| void | setSyncUndo (OP_UndoSync *) |
| OP_UndoSync * | getSyncUndo () const |
| bool | internalTakeSetForSync (const char *name) |
| virtual void | renameTake (TAKE_Take *take, const char *name) |
Static Public Member Functions | |
| static void | clearActiveFlags (OP_Node *root) |
| static bool | autoActivationActive () |
| static bool | needsParmAutoActivation (PRM_Parm *parm) |
| static bool | needsFlagAutoActivation (OP_Node *node, uchar flag) |
| static void | getNodesAndTokens (const TAKE_Take *take, UT_Functor1< const char *, uchar > flag_map, OP_NodeList &nodes, UT_StringArray &tokens) |
Protected Member Functions | |
| void | setACTIVETAKE (TAKE_Take *take) |
| void | recurseStoreCurrent (OP_Node *node, bool partial_recurse) |
| void | recursiveDestroy (TAKE_Take *take) |
| bool | recursiveNodeDeleted (TAKE_Take *take, OP_NodeList &node, UT_PtrArray< TAKE_Data * > &work) |
Definition at line 38 of file OP_Take.h.
| OP_Take::OP_Take | ( | ) |
| virtual OP_Take::~OP_Take | ( | ) | [virtual] |
| static bool OP_Take::autoActivationActive | ( | ) | [static] |
| static void OP_Take::clearActiveFlags | ( | OP_Node * | root | ) | [static] |
| void OP_Take::clearTakeData | ( | int | id, | |
| const char * | label | |||
| ) |
| virtual TAKE_Data* OP_Take::dataFactory | ( | const char * | oppath, | |
| const char * | label | |||
| ) | [virtual] |
Implements TAKE_Manager.
| static void OP_Take::getNodesAndTokens | ( | const TAKE_Take * | take, | |
| UT_Functor1< const char *, uchar > | flag_map, | |||
| OP_NodeList & | nodes, | |||
| UT_StringArray & | tokens | |||
| ) | [static] |
| bool OP_Take::handlesNodeDeletionDuringUndo | ( | ) | const [inline] |
| bool OP_Take::internalTakeSetForSync | ( | const char * | name | ) |
| static bool OP_Take::needsParmAutoActivation | ( | PRM_Parm * | parm | ) | [static] |
| void OP_Take::nodesDeleted | ( | OP_NodeList & | nodes | ) |
| virtual void OP_Take::notifyObservers | ( | TAKE_Event::TAKE_EventType | type, | |
| const char * | name, | |||
| const TAKE_Take * | take = 0 | |||
| ) | [virtual] |
Reimplemented from TAKE_Manager.
| void OP_Take::popSyncContext | ( | ) |
| void OP_Take::pushSyncContext | ( | ) |
| void OP_Take::recurseStoreCurrent | ( | OP_Node * | node, | |
| bool | partial_recurse | |||
| ) | [protected] |
| void OP_Take::recursiveDestroy | ( | TAKE_Take * | take | ) | [protected] |
| bool OP_Take::recursiveNodeDeleted | ( | TAKE_Take * | take, | |
| OP_NodeList & | node, | |||
| UT_PtrArray< TAKE_Data * > & | work | |||
| ) | [protected] |
| void OP_Take::removeSpareParm | ( | OP_Node * | node, | |
| const char * | parmname | |||
| ) |
| virtual void OP_Take::renameTake | ( | TAKE_Take * | take, | |
| const char * | name | |||
| ) | [virtual] |
Reimplemented from TAKE_Manager.
| void OP_Take::setACTIVETAKE | ( | TAKE_Take * | take | ) | [protected] |
| void OP_Take::setHandleNodeDeletionDuringUndoFlag | ( | bool | flag | ) |
| void OP_Take::setSyncUndo | ( | OP_UndoSync * | ) |
| void OP_Take::storeCurrentTake | ( | OP_Node * | root, | |
| bool | force_master = false | |||
| ) | [inline] |
| void OP_Take::storeTakeParm | ( | OP_Node * | node, | |
| PRM_Parm * | parm, | |||
| bool | join = 1, |
|||
| bool | auto_take = false | |||
| ) |
| virtual void OP_Take::switchToTake | ( | TAKE_Take * | take, | |
| bool | force = false | |||
| ) | [virtual] |
Reimplemented from TAKE_Manager.
| void OP_Take::syncingNode | ( | OP_Node * | node | ) |
| TAKE_Take* OP_Take::takeAdd | ( | const char * | name, | |
| const char * | parent = 0 | |||
| ) |
| bool OP_Take::takeCommands | ( | const char * | takename, | |
| ostream & | os | |||
| ) |
| bool OP_Take::takeCopy | ( | const char * | takename, | |
| ostream & | os, | |||
| bool | recurse | |||
| ) |
| bool OP_Take::takeInfo | ( | const char * | takename, | |
| UT_WorkBuffer & | buf, | |||
| int | indent = 0, |
|||
| bool | contents = true, |
|||
| bool | memusage = true | |||
| ) |
| TAKE_Take* OP_Take::takeInsert | ( | const char * | name, | |
| const char * | parent = 0 | |||
| ) |
| bool OP_Take::takeMerge | ( | const char * | dest, | |
| UT_StringArray & | sources, | |||
| bool | override, | |||
| UT_StringArray * | missed = 0 | |||
| ) |
| bool OP_Take::takeMove | ( | const char * | name, | |
| const char * | newparent, | |||
| bool | skip_current_restore = false | |||
| ) |
| bool OP_Take::takePaste | ( | UT_IStream & | is, | |
| const char * | parent = 0, |
|||
| UT_PtrArray< TAKE_Take * > * | created_list = 0 | |||
| ) |
| bool OP_Take::takeRemove | ( | const char * | name, | |
| bool | recursive | |||
| ) |
| bool OP_Take::takeRename | ( | const char * | oldname, | |
| const char * | newname | |||
| ) |
| void OP_Take::takeRestoreCurrent | ( | TAKE_Take * | take | ) |
| bool OP_Take::takeSet | ( | const char * | name | ) |
1.5.9