#include <TAKE_Manager.h>

Public Member Functions | |
| TAKE_Manager () | |
| virtual | ~TAKE_Manager () |
| TAKE_Take * | getMasterTake () |
| void | destroyTake (TAKE_Take *take) |
| void | clear () |
| TAKE_Take * | findTake (const char *name) |
| virtual void | switchToTake (TAKE_Take *take, bool force_even_if_current=false) |
| bool | isSwitching () const |
| void | reApplyTake (TAKE_Hash &id) |
| TAKE_Take * | insertTake (const char *name, const char *parent=0) |
| TAKE_Take * | getCurrentTake () |
| bool | isMasterTake () |
| int | globTakes (UT_PtrArray< TAKE_Take * > &list, const char *pattern) |
| virtual void | renameTake (TAKE_Take *take, const char *newname) |
| bool | reparentTake (TAKE_Take *take, TAKE_Take *parent) |
| TAKE_Take * | findDefinition (TAKE_Hash &id, TAKE_Take *from_which=0) |
| int | getListSerial () const |
| const char * | getDefaultTakeName () |
| void | setDefaultTakeName (const char *s) |
| bool | mergeTake (TAKE_Take *dest, TAKE_Take *src, bool overwrite_dest=false) |
| virtual int | save (ostream &os, int binary) const |
| virtual bool | load (UT_IStream &is) |
| int | copyTake (ostream &os, TAKE_Take *take, bool binary, bool recurse) const |
| bool | pasteTake (UT_IStream &is, UT_PtrArray< TAKE_Take * > &createdTakes, TAKE_Take *under=0) |
| int | stashTakeForUndo (TAKE_Take *layer, ostream &os, int binary) const |
| bool | restoreTakeForUndo (UT_IStream &is) |
| virtual TAKE_Data * | dataFactory (const char *oppath, const char *label)=0 |
| virtual void | notifyObservers (TAKE_Event::TAKE_EventType type, const char *name, const TAKE_Take *take=0) |
| UT_NotifierImpl< TAKE_Event & > & | getEventNotifier () |
Static Public Member Functions | |
| static TAKE_Manager * | getCurrentManager () |
| static void | setCurrentManager (TAKE_Manager *mgr) |
| static bool | getAutoIncludeModeFlag () |
| static void | setAutoIncludeModeFlag (bool state) |
| static bool | getAutoIncludeLockedAssetsFlag () |
| static void | setAutoIncludeLockedAssetsFlag (bool state) |
Protected Member Functions | |
| int | buildTakeTree (TAKE_Take *take, UT_PtrArray< TAKE_Take * > &list) |
| int | generateName (const char *name, UT_String &result) |
| int | saveTake (TAKE_StringSaver &strings, TAKE_Take *take, ostream &os, int bin, bool recurse) const |
| bool | loadTake (UT_StringArray &strings, TAKE_Take *parent, UT_IStream &is, UT_PtrArray< TAKE_Take * > *createdTakes) |
| bool | isCurrentTakeActivationPending () const |
| void | handlePendingTakeActivation () |
| TAKE_Take * | mergeExternal (TAKE_Manager &src, const char *prefix_base, bool current_take_to_require_activation, UT_String &prefix) |
Protected Attributes | |
| UT_SymbolTable | myNameSpace |
| TAKE_Take * | myMasterTake |
| TAKE_Take * | myCurrentTake |
Definition at line 35 of file TAKE_Manager.h.
| TAKE_Manager::TAKE_Manager | ( | ) |
| virtual TAKE_Manager::~TAKE_Manager | ( | ) | [virtual] |
| int TAKE_Manager::buildTakeTree | ( | TAKE_Take * | take, | |
| UT_PtrArray< TAKE_Take * > & | list | |||
| ) | [protected] |
| void TAKE_Manager::clear | ( | ) |
| int TAKE_Manager::copyTake | ( | ostream & | os, | |
| TAKE_Take * | take, | |||
| bool | binary, | |||
| bool | recurse | |||
| ) | const |
| virtual TAKE_Data* TAKE_Manager::dataFactory | ( | const char * | oppath, | |
| const char * | label | |||
| ) | [pure virtual] |
Implemented in OP_Take.
| void TAKE_Manager::destroyTake | ( | TAKE_Take * | take | ) |
| TAKE_Take* TAKE_Manager::findTake | ( | const char * | name | ) |
| int TAKE_Manager::generateName | ( | const char * | name, | |
| UT_String & | result | |||
| ) | [protected] |
| static bool TAKE_Manager::getAutoIncludeLockedAssetsFlag | ( | ) | [inline, static] |
Definition at line 48 of file TAKE_Manager.h.
| static bool TAKE_Manager::getAutoIncludeModeFlag | ( | ) | [inline, static] |
Definition at line 43 of file TAKE_Manager.h.
| static TAKE_Manager* TAKE_Manager::getCurrentManager | ( | ) | [static] |
| TAKE_Take* TAKE_Manager::getCurrentTake | ( | ) | [inline] |
Definition at line 74 of file TAKE_Manager.h.
| const char* TAKE_Manager::getDefaultTakeName | ( | ) | [inline] |
Definition at line 90 of file TAKE_Manager.h.
| UT_NotifierImpl<TAKE_Event &>& TAKE_Manager::getEventNotifier | ( | ) | [inline] |
Definition at line 124 of file TAKE_Manager.h.
| int TAKE_Manager::getListSerial | ( | ) | const [inline] |
Definition at line 88 of file TAKE_Manager.h.
| TAKE_Take* TAKE_Manager::getMasterTake | ( | ) | [inline] |
Definition at line 53 of file TAKE_Manager.h.
| int TAKE_Manager::globTakes | ( | UT_PtrArray< TAKE_Take * > & | list, | |
| const char * | pattern | |||
| ) |
| void TAKE_Manager::handlePendingTakeActivation | ( | ) | [protected] |
| TAKE_Take* TAKE_Manager::insertTake | ( | const char * | name, | |
| const char * | parent = 0 | |||
| ) |
| bool TAKE_Manager::isCurrentTakeActivationPending | ( | ) | const [inline, protected] |
Definition at line 145 of file TAKE_Manager.h.
| bool TAKE_Manager::isMasterTake | ( | ) | [inline] |
Definition at line 75 of file TAKE_Manager.h.
| bool TAKE_Manager::isSwitching | ( | ) | const [inline] |
Definition at line 63 of file TAKE_Manager.h.
| virtual bool TAKE_Manager::load | ( | UT_IStream & | is | ) | [virtual] |
| bool TAKE_Manager::loadTake | ( | UT_StringArray & | strings, | |
| TAKE_Take * | parent, | |||
| UT_IStream & | is, | |||
| UT_PtrArray< TAKE_Take * > * | createdTakes | |||
| ) | [protected] |
| TAKE_Take* TAKE_Manager::mergeExternal | ( | TAKE_Manager & | src, | |
| const char * | prefix_base, | |||
| bool | current_take_to_require_activation, | |||
| UT_String & | prefix | |||
| ) | [protected] |
| virtual void TAKE_Manager::notifyObservers | ( | TAKE_Event::TAKE_EventType | type, | |
| const char * | name, | |||
| const TAKE_Take * | take = 0 | |||
| ) | [virtual] |
Reimplemented in OP_Take.
| bool TAKE_Manager::pasteTake | ( | UT_IStream & | is, | |
| UT_PtrArray< TAKE_Take * > & | createdTakes, | |||
| TAKE_Take * | under = 0 | |||
| ) |
| void TAKE_Manager::reApplyTake | ( | TAKE_Hash & | id | ) |
| virtual void TAKE_Manager::renameTake | ( | TAKE_Take * | take, | |
| const char * | newname | |||
| ) | [virtual] |
Reimplemented in OP_Take.
| bool TAKE_Manager::restoreTakeForUndo | ( | UT_IStream & | is | ) |
| virtual int TAKE_Manager::save | ( | ostream & | os, | |
| int | binary | |||
| ) | const [virtual] |
| int TAKE_Manager::saveTake | ( | TAKE_StringSaver & | strings, | |
| TAKE_Take * | take, | |||
| ostream & | os, | |||
| int | bin, | |||
| bool | recurse | |||
| ) | const [protected] |
| static void TAKE_Manager::setAutoIncludeLockedAssetsFlag | ( | bool | state | ) | [inline, static] |
Definition at line 50 of file TAKE_Manager.h.
| static void TAKE_Manager::setAutoIncludeModeFlag | ( | bool | state | ) | [inline, static] |
Definition at line 45 of file TAKE_Manager.h.
| static void TAKE_Manager::setCurrentManager | ( | TAKE_Manager * | mgr | ) | [static] |
| void TAKE_Manager::setDefaultTakeName | ( | const char * | s | ) |
| int TAKE_Manager::stashTakeForUndo | ( | TAKE_Take * | layer, | |
| ostream & | os, | |||
| int | binary | |||
| ) | const |
| virtual void TAKE_Manager::switchToTake | ( | TAKE_Take * | take, | |
| bool | force_even_if_current = false | |||
| ) | [virtual] |
Reimplemented in OP_Take.
TAKE_Take* TAKE_Manager::myCurrentTake [protected] |
Definition at line 135 of file TAKE_Manager.h.
TAKE_Take* TAKE_Manager::myMasterTake [protected] |
Definition at line 134 of file TAKE_Manager.h.
UT_SymbolTable TAKE_Manager::myNameSpace [protected] |
Definition at line 133 of file TAKE_Manager.h.
1.5.9