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

#include <PDG_WorkItemData.h>

+ Inheritance diagram for PDG_WorkItemData:

Public Member Functions

 PDG_WorkItemData ()
 
 PDG_WorkItemData (const PDG_BaseType *base_type, const PDGT_ValueArgs &extra_args)
 
 ~PDG_WorkItemData () override
 
int64 getMemoryUsage (bool inclusive) const override
 
virtual UT_StringHolder serialize (const PDG_WorkItem *, const PDG_Scheduler *) const
 
virtual bool deserialize (const UT_StringHolder &str)
 
virtual bool serializeToFile (const UT_StringHolder &, const PDG_WorkItem *, const PDG_Scheduler *) const
 
bool load (const UT_JSONValue &json_val)
 
virtual void clone (const PDG_WorkItemData *data)
 
virtual bool compare (PDG_WorkItemData *item) const
 
void setWorkItem (PDG_WorkItem *work_item)
 
PDG_WorkItemworkItem ()
 
virtual bool setFloat (const UT_StringHolder &name, fpreal data, int index)
 
bool setFloatArray (const UT_StringHolder &name, const PDG_AttributeFloat::Array &data)
 
virtual bool setInt (const UT_StringHolder &name, int data, int index)
 
bool setIntArray (const UT_StringHolder &name, const PDG_AttributeInteger::Array &data)
 
virtual bool setString (const UT_StringHolder &name, const UT_StringHolder &data, int index)
 
bool setStringArray (const UT_StringHolder &name, const PDG_AttributeString::Array &data)
 
virtual bool floatData (fpreal &param, const UT_StringHolder &name, int index) const
 
virtual bool floatData (PDG_AttributeFloat::Map &params) const
 
bool floatData (PDG_AttributeFloat::Array &param, const UT_StringHolder &name) const
 
virtual bool intData (exint &param, const UT_StringHolder &name, int index) const
 
virtual bool intData (PDG_AttributeInteger::Map &params) const
 
bool intData (PDG_AttributeInteger::Array &param, const UT_StringHolder &name) const
 
virtual bool stringData (UT_StringHolder &param, const UT_StringHolder &name, int index) const
 
virtual bool stringData (PDG_AttributeString::Map &params) const
 
bool stringData (PDG_AttributeString::Array &param, const UT_StringHolder &name) const
 
virtual bool clearFloatData ()
 
virtual bool clearIntData ()
 
virtual bool clearStringData ()
 
virtual bool removeData (const UT_StringHolder &name, int index)
 
virtual bool cook ()
 
- 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
 

Static Public Member Functions

static void registerTypes (PDG_TypeRegistry *registry)
 

Additional Inherited Members

- Public Types inherited from PDGT_TypeInstance< EnumType >
using BaseType = PDGT_BaseType< EnumType >
 
- Protected Attributes inherited from PDGT_TypeInstance< EnumType >
const BaseTypemyBaseType
 
PDGT_ValueArgs myExtraArgs
 
bool myReloading
 

Detailed Description

Definition at line 27 of file PDG_WorkItemData.h.

Constructor & Destructor Documentation

PDG_WorkItemData::PDG_WorkItemData ( )
PDG_WorkItemData::PDG_WorkItemData ( const PDG_BaseType base_type,
const PDGT_ValueArgs extra_args 
)
PDG_WorkItemData::~PDG_WorkItemData ( )
override

Member Function Documentation

virtual bool PDG_WorkItemData::clearFloatData ( )
virtual
virtual bool PDG_WorkItemData::clearIntData ( )
virtual
virtual bool PDG_WorkItemData::clearStringData ( )
virtual
virtual void PDG_WorkItemData::clone ( const PDG_WorkItemData data)
virtual
virtual bool PDG_WorkItemData::compare ( PDG_WorkItemData item) const
inlinevirtual

Definition at line 51 of file PDG_WorkItemData.h.

virtual bool PDG_WorkItemData::cook ( )
inlinevirtual

Definition at line 103 of file PDG_WorkItemData.h.

virtual bool PDG_WorkItemData::deserialize ( const UT_StringHolder str)
virtual
virtual bool PDG_WorkItemData::floatData ( fpreal param,
const UT_StringHolder name,
int  index 
) const
virtual
virtual bool PDG_WorkItemData::floatData ( PDG_AttributeFloat::Map params) const
virtual
bool PDG_WorkItemData::floatData ( PDG_AttributeFloat::Array param,
const UT_StringHolder name 
) const
int64 PDG_WorkItemData::getMemoryUsage ( bool  inclusive) const
overridevirtual

Reimplemented from PDGT_TypeInstance< EnumType >.

virtual bool PDG_WorkItemData::intData ( exint param,
const UT_StringHolder name,
int  index 
) const
virtual
virtual bool PDG_WorkItemData::intData ( PDG_AttributeInteger::Map params) const
virtual
bool PDG_WorkItemData::intData ( PDG_AttributeInteger::Array param,
const UT_StringHolder name 
) const
bool PDG_WorkItemData::load ( const UT_JSONValue json_val)
static void PDG_WorkItemData::registerTypes ( PDG_TypeRegistry registry)
static
virtual bool PDG_WorkItemData::removeData ( const UT_StringHolder name,
int  index 
)
virtual
virtual UT_StringHolder PDG_WorkItemData::serialize ( const PDG_WorkItem ,
const PDG_Scheduler  
) const
virtual
virtual bool PDG_WorkItemData::serializeToFile ( const UT_StringHolder ,
const PDG_WorkItem ,
const PDG_Scheduler  
) const
inlinevirtual

Definition at line 42 of file PDG_WorkItemData.h.

virtual bool PDG_WorkItemData::setFloat ( const UT_StringHolder name,
fpreal  data,
int  index 
)
virtual
bool PDG_WorkItemData::setFloatArray ( const UT_StringHolder name,
const PDG_AttributeFloat::Array data 
)
virtual bool PDG_WorkItemData::setInt ( const UT_StringHolder name,
int  data,
int  index 
)
virtual
bool PDG_WorkItemData::setIntArray ( const UT_StringHolder name,
const PDG_AttributeInteger::Array data 
)
virtual bool PDG_WorkItemData::setString ( const UT_StringHolder name,
const UT_StringHolder data,
int  index 
)
virtual
bool PDG_WorkItemData::setStringArray ( const UT_StringHolder name,
const PDG_AttributeString::Array data 
)
void PDG_WorkItemData::setWorkItem ( PDG_WorkItem work_item)
virtual bool PDG_WorkItemData::stringData ( UT_StringHolder param,
const UT_StringHolder name,
int  index 
) const
virtual
virtual bool PDG_WorkItemData::stringData ( PDG_AttributeString::Map params) const
virtual
bool PDG_WorkItemData::stringData ( PDG_AttributeString::Array param,
const UT_StringHolder name 
) const
PDG_WorkItem* PDG_WorkItemData::workItem ( )

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