HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TAKE_Data Class Referenceabstract

#include <TAKE_Data.h>

+ Inheritance diagram for TAKE_Data:

Public Member Functions

 TAKE_Data (const TAKE_DataId &id, int priority)
 
virtual ~TAKE_Data ()
 
virtual TAKE_Dataduplicate () const =0
 
virtual bool canDuplicateForNode (int op_id) const =0
 
virtual TAKE_DataduplicateForNode (int op_id) const =0
 
virtual void storeCurrent ()=0
 
virtual void applyData ()=0
 
virtual void getOpIdString (UT_String &str)=0
 
virtual void markActive ()=0
 
virtual void markInactive ()=0
 
virtual void generateIncludeCommand (UT_WorkBuffer &)=0
 
virtual void generateCommand (UT_WorkBuffer &)=0
 
virtual void getDescription (UT_WorkBuffer &, int brief=0)=0
 
virtual int64 getMemoryUsage () const =0
 
virtual bool canSaveInMasterTake () const =0
 
virtual int save (std::ostream &os, int binary) const =0
 
virtual bool load (UT_IStream &is)=0
 
const TAKE_DataIdgetId () const
 
void bumpRefCount (int dir)
 
int getRefCount () const
 
void setPriority (int p)
 
int getPriority () const
 

Protected Member Functions

 TAKE_Data (const TAKE_Data &)=default
 
TAKE_Dataoperator= (const TAKE_Data &)=default
 

Detailed Description

Definition at line 33 of file TAKE_Data.h.

Constructor & Destructor Documentation

TAKE_Data::TAKE_Data ( const TAKE_DataId id,
int  priority 
)
inline

Definition at line 36 of file TAKE_Data.h.

virtual TAKE_Data::~TAKE_Data ( )
virtual
TAKE_Data::TAKE_Data ( const TAKE_Data )
protecteddefault

Member Function Documentation

virtual void TAKE_Data::applyData ( )
pure virtual

Implemented in OP_TakeParm, and OP_TakeData.

void TAKE_Data::bumpRefCount ( int  dir)
inline

Definition at line 80 of file TAKE_Data.h.

virtual bool TAKE_Data::canDuplicateForNode ( int  op_id) const
pure virtual

Implemented in OP_TakeParm.

virtual bool TAKE_Data::canSaveInMasterTake ( ) const
pure virtual

Implemented in OP_TakeData.

virtual TAKE_Data* TAKE_Data::duplicate ( ) const
pure virtual

Implemented in OP_TakeParm, and OP_TakeData.

virtual TAKE_Data* TAKE_Data::duplicateForNode ( int  op_id) const
pure virtual

Implemented in OP_TakeParm.

virtual void TAKE_Data::generateCommand ( UT_WorkBuffer )
pure virtual

Implemented in OP_TakeParm, and OP_TakeData.

virtual void TAKE_Data::generateIncludeCommand ( UT_WorkBuffer )
pure virtual

Implemented in OP_TakeParm.

virtual void TAKE_Data::getDescription ( UT_WorkBuffer ,
int  brief = 0 
)
pure virtual

Implemented in OP_TakeParm, and OP_TakeData.

const TAKE_DataId& TAKE_Data::getId ( ) const
inline

Definition at line 78 of file TAKE_Data.h.

virtual int64 TAKE_Data::getMemoryUsage ( ) const
pure virtual
virtual void TAKE_Data::getOpIdString ( UT_String str)
pure virtual

Implemented in OP_TakeData.

int TAKE_Data::getPriority ( ) const
inline

Definition at line 84 of file TAKE_Data.h.

int TAKE_Data::getRefCount ( ) const
inline

Definition at line 81 of file TAKE_Data.h.

virtual bool TAKE_Data::load ( UT_IStream is)
pure virtual

Implemented in OP_TakeParm.

virtual void TAKE_Data::markActive ( )
pure virtual

Implemented in OP_TakeParm.

virtual void TAKE_Data::markInactive ( )
pure virtual

Implemented in OP_TakeParm.

TAKE_Data& TAKE_Data::operator= ( const TAKE_Data )
protecteddefault
virtual int TAKE_Data::save ( std::ostream &  os,
int  binary 
) const
pure virtual

Implemented in OP_TakeParm.

void TAKE_Data::setPriority ( int  p)
inline

Definition at line 83 of file TAKE_Data.h.

virtual void TAKE_Data::storeCurrent ( )
pure virtual

Implemented in OP_TakeParm, and OP_TakeData.


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