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

#include <PDG_AttributeOwner.h>

+ Inheritance diagram for PDG_AttributeOwner:

Public Member Functions

 PDG_AttributeOwner (bool has_runtime)
 
virtual ~PDG_AttributeOwner ()
 
PDG_AttributeMapattributes ()
 
const PDG_AttributeMapattributes () const
 
bool attribSaveJSON (std::ostream &os, bool binary) const
 
bool attribSaveJSON (const UT_StringHolder &file_path) const
 
bool attribLoadJSON (UT_IStream &istream, PDG_AttributeCollision strategy)
 
bool attribLoadJSON (const UT_StringHolder &file_path, PDG_AttributeCollision strategy)
 
bool hasAttributes () const
 
virtual bool isAttribFlagValid (PDG_AttributeFlag flag) const
 
virtual bool areAttribFlagsValid (uint16 flags) const
 
virtual UT_RWLockattribGlobalLock () const
 
virtual bool attribCanWrite (const PDG_EvaluationContext *context) const
 
virtual void attribUnlock (bool modified) const
 
virtual void attribModify (PDG_AttributeType attrib_type, const UT_StringHolder &attrib_name) const
 
virtual void attribWarn (const UT_StringHolder &msg) const
 
virtual UT_StringHolder attribOwnerName () const
 

Protected Attributes

PDG_AttributeMap myAttributes
 

Detailed Description

Definition at line 27 of file PDG_AttributeOwner.h.

Constructor & Destructor Documentation

PDG_AttributeOwner::PDG_AttributeOwner ( bool  has_runtime)
inline

Definition at line 30 of file PDG_AttributeOwner.h.

virtual PDG_AttributeOwner::~PDG_AttributeOwner ( )
inlinevirtual

Definition at line 32 of file PDG_AttributeOwner.h.

Member Function Documentation

virtual bool PDG_AttributeOwner::areAttribFlagsValid ( uint16  flags) const
virtual

Reimplemented in PDG_Graph.

virtual bool PDG_AttributeOwner::attribCanWrite ( const PDG_EvaluationContext context) const
inlinevirtual

Reimplemented in PDG_WorkItem.

Definition at line 59 of file PDG_AttributeOwner.h.

virtual UT_RWLock* PDG_AttributeOwner::attribGlobalLock ( ) const
inlinevirtual

Reimplemented in PDG_WorkItem.

Definition at line 57 of file PDG_AttributeOwner.h.

bool PDG_AttributeOwner::attribLoadJSON ( UT_IStream istream,
PDG_AttributeCollision  strategy 
)
bool PDG_AttributeOwner::attribLoadJSON ( const UT_StringHolder file_path,
PDG_AttributeCollision  strategy 
)
virtual void PDG_AttributeOwner::attribModify ( PDG_AttributeType  attrib_type,
const UT_StringHolder attrib_name 
) const
inlinevirtual

Reimplemented in PDG_WorkItem.

Definition at line 64 of file PDG_AttributeOwner.h.

virtual UT_StringHolder PDG_AttributeOwner::attribOwnerName ( ) const
inlinevirtual

Reimplemented in PDG_WorkItem, and PDG_Graph.

Definition at line 69 of file PDG_AttributeOwner.h.

bool PDG_AttributeOwner::attribSaveJSON ( std::ostream &  os,
bool  binary 
) const
bool PDG_AttributeOwner::attribSaveJSON ( const UT_StringHolder file_path) const
virtual void PDG_AttributeOwner::attribUnlock ( bool  modified) const
inlinevirtual

Reimplemented in PDG_WorkItem.

Definition at line 63 of file PDG_AttributeOwner.h.

PDG_AttributeMap& PDG_AttributeOwner::attributes ( )
inline
Examples:
PDG/PDG_ProcessorRandom.C.

Definition at line 34 of file PDG_AttributeOwner.h.

const PDG_AttributeMap& PDG_AttributeOwner::attributes ( ) const
inline

Definition at line 36 of file PDG_AttributeOwner.h.

virtual void PDG_AttributeOwner::attribWarn ( const UT_StringHolder msg) const
inlinevirtual

Reimplemented in PDG_WorkItem.

Definition at line 67 of file PDG_AttributeOwner.h.

bool PDG_AttributeOwner::hasAttributes ( ) const
virtual bool PDG_AttributeOwner::isAttribFlagValid ( PDG_AttributeFlag  flag) const
virtual

Reimplemented in PDG_Graph.

Member Data Documentation

PDG_AttributeMap PDG_AttributeOwner::myAttributes
protected

Definition at line 73 of file PDG_AttributeOwner.h.


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