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

#include <PDG_Dependency.h>

+ Inheritance diagram for PDG_Dependency:

Public Member Functions

 PDG_Dependency (const PDG_BaseType *type, const PDGT_ValueArgs &extra_args, const UT_StringHolder &key)
 
 ~PDG_Dependency () override
 
int64 getMemoryUsage (bool inclusive) const override
 
const UT_StringHolderkey () const
 
void setUnresolved ()
 
bool resolve (PDG_GraphContext *context, PDG_Node *node)
 
virtual bool isResolved (PDG_GraphContext *context, PDG_Node *node) const
 
virtual bool onResolve (PDG_GraphContext *, PDG_Node *)=0
 
void addNode (PDG_Node *node)
 
bool removeNode (PDG_Node *node)
 
const PDG_NodeArraynodes () const
 
- Public Member Functions inherited from PDGT_TypeInstance< EnumType >
 PDGT_TypeInstance ()
 
 PDGT_TypeInstance (const PDGT_BaseType< EnumType > *base_type, const PDGT_ValueArgs &extra_args)
 
virtual ~PDGT_TypeInstance ()
 
virtual bool reloadInstance (UT_WorkBuffer &errors)
 
const BaseTypetype () const
 
const UT_StringHoldertypeName () const
 
const PDGT_ValueArgsextraArgs () const
 
bool compareType (const BaseType *other_type, bool deep=true) const
 
void setReloading (bool is_reloading)
 
bool isReloading () const
 

Protected Attributes

UT_StringHolder myKey
 
- Protected Attributes inherited from PDGT_TypeInstance< EnumType >
const BaseTypemyBaseType
 
PDGT_ValueArgs myExtraArgs
 
bool myReloading
 

Additional Inherited Members

- Public Types inherited from PDGT_TypeInstance< EnumType >
using BaseType = PDGT_BaseType< EnumType >
 

Detailed Description

Definition at line 20 of file PDG_Dependency.h.

Constructor & Destructor Documentation

PDG_Dependency::PDG_Dependency ( const PDG_BaseType type,
const PDGT_ValueArgs extra_args,
const UT_StringHolder key 
)
PDG_Dependency::~PDG_Dependency ( )
override

Member Function Documentation

void PDG_Dependency::addNode ( PDG_Node node)
int64 PDG_Dependency::getMemoryUsage ( bool  inclusive) const
overridevirtual

Reimplemented from PDGT_TypeInstance< EnumType >.

Reimplemented in PDG_FileDependency.

virtual bool PDG_Dependency::isResolved ( PDG_GraphContext context,
PDG_Node node 
) const
virtual

Reimplemented in PDG_FileDependency.

const UT_StringHolder& PDG_Dependency::key ( ) const
const PDG_NodeArray& PDG_Dependency::nodes ( ) const
virtual bool PDG_Dependency::onResolve ( PDG_GraphContext ,
PDG_Node  
)
pure virtual

Implemented in PDG_FileDependency.

bool PDG_Dependency::removeNode ( PDG_Node node)
bool PDG_Dependency::resolve ( PDG_GraphContext context,
PDG_Node node 
)
void PDG_Dependency::setUnresolved ( )

Member Data Documentation

UT_StringHolder PDG_Dependency::myKey
protected

Definition at line 45 of file PDG_Dependency.h.


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