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

#include <TAKE_Take.h>

Public Member Functions

 TAKE_Take (TAKE_Take *parent, const char *name)
 
 ~TAKE_Take ()
 
void destroyAllKids ()
 
void destroyKid (TAKE_Take *kid)
 
void insertChildTake (TAKE_Take *kid)
 
bool isAncestor (const TAKE_Take *take) const
 
void addChildTake (TAKE_Take *kid)
 
void applyTake (int setactive, UT_Array< TAKE_Data * > &data)
 
void applySpecificTake (bool setactive, const TAKE_DataId &id)
 
void markActive ()
 
void clearData ()
 
int64 getMemoryUsage (bool inclusive) const
 
void setName (const char *name)
 
const char * getName () const
 
int save (TAKE_StringSaver &strings, std::ostream &os, int binary) const
 
int load (UT_StringArray &strings, TAKE_Manager *mgr, UT_IStream &is)
 
TAKE_DatagetData (const TAKE_DataId &id) const
 
void addData (TAKE_Data *data)
 
void destroyData (const TAKE_DataId &id)
 
void replaceData (TAKE_Data *new_data)
 
void getDataList (UT_Array< TAKE_Data * > &list) const
 
void getNodeDataList (UT_Array< TAKE_Data * > &list, int opid) const
 
int getDeadDataCount () const
 
const TAKE_TakegetParent () const
 
TAKE_TakegetParent ()
 
void setParent (TAKE_Take *p)
 
bool reparent (TAKE_Take *newparent)
 
int entries () const
 
TAKE_TakegetChild (int i)
 
int getChildren (UT_Array< TAKE_Take * > &layers)
 
void deReferenceMasterData (TAKE_Data *data)
 
void cleanDeadData ()
 

Detailed Description

Definition at line 29 of file TAKE_Take.h.

Constructor & Destructor Documentation

TAKE_Take::TAKE_Take ( TAKE_Take parent,
const char *  name 
)
TAKE_Take::~TAKE_Take ( )

Member Function Documentation

void TAKE_Take::addChildTake ( TAKE_Take kid)
inline

Definition at line 47 of file TAKE_Take.h.

void TAKE_Take::addData ( TAKE_Data data)
void TAKE_Take::applySpecificTake ( bool  setactive,
const TAKE_DataId id 
)
void TAKE_Take::applyTake ( int  setactive,
UT_Array< TAKE_Data * > &  data 
)
void TAKE_Take::cleanDeadData ( )
void TAKE_Take::clearData ( )
void TAKE_Take::deReferenceMasterData ( TAKE_Data data)
void TAKE_Take::destroyAllKids ( )
void TAKE_Take::destroyData ( const TAKE_DataId id)
void TAKE_Take::destroyKid ( TAKE_Take kid)
int TAKE_Take::entries ( ) const
inline

Definition at line 85 of file TAKE_Take.h.

TAKE_Take* TAKE_Take::getChild ( int  i)
inline

Definition at line 86 of file TAKE_Take.h.

int TAKE_Take::getChildren ( UT_Array< TAKE_Take * > &  layers)
TAKE_Data* TAKE_Take::getData ( const TAKE_DataId id) const
void TAKE_Take::getDataList ( UT_Array< TAKE_Data * > &  list) const
int TAKE_Take::getDeadDataCount ( ) const
inline

Definition at line 77 of file TAKE_Take.h.

int64 TAKE_Take::getMemoryUsage ( bool  inclusive) const
const char* TAKE_Take::getName ( ) const
inline

Definition at line 63 of file TAKE_Take.h.

void TAKE_Take::getNodeDataList ( UT_Array< TAKE_Data * > &  list,
int  opid 
) const
const TAKE_Take* TAKE_Take::getParent ( ) const
inline

Definition at line 80 of file TAKE_Take.h.

TAKE_Take* TAKE_Take::getParent ( )
inline

Definition at line 81 of file TAKE_Take.h.

void TAKE_Take::insertChildTake ( TAKE_Take kid)
bool TAKE_Take::isAncestor ( const TAKE_Take take) const
int TAKE_Take::load ( UT_StringArray strings,
TAKE_Manager mgr,
UT_IStream is 
)
void TAKE_Take::markActive ( )
bool TAKE_Take::reparent ( TAKE_Take newparent)
void TAKE_Take::replaceData ( TAKE_Data new_data)
int TAKE_Take::save ( TAKE_StringSaver strings,
std::ostream &  os,
int  binary 
) const
void TAKE_Take::setName ( const char *  name)
void TAKE_Take::setParent ( TAKE_Take p)
inline

Definition at line 82 of file TAKE_Take.h.


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