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

#include <OP_NamedMicroNodes.h>

+ Inheritance diagram for OP_NamedDataMicroNode:

Public Member Functions

 OP_NamedDataMicroNode (OP_Node &node, const UT_StringHolder &name)
const char * className () const override
const UT_StringHoldergetMicroNodeName () const
void rebuildDependents ()
const UT_Array< const
OP_NamedDataMicroNode * > & 
dependents () const
- Public Member Functions inherited from OP_DataMicroNode
 OP_DataMicroNode (OP_Node &node)
void getParmInputs (DEP_MicroNodeList &inputs) const
void getUsedDataInputs (DEP_MicroNodeList &inputs) const
bool inheritTimeDependentFromUsedDataInputs ()
bool inheritTimeInterestedFromUsedDataInputs ()
void getInputs (DEP_MicroNodeList &inputs) const override
void clearInputs () override
void getOutputs (DEP_MicroNodeList &outputs) const override
void getExtraInputs (DEP_MicroNodeList &inputs) const
 Like getInputs() but excludes wired OP_Node inputs. More...
void getExtraOutputs (DEP_MicroNodeList &outputs) const
void update (fpreal t) override
void update (DEP_ContextOptionsReadHandle options, const DEP_ContextOptionsStack *optstack)
bool requiresUpdate (fpreal t) const override
bool requiresUpdate (DEP_ContextOptionsReadHandle options, const DEP_ContextOptionsStack *optstack) const
DEP_ContextOptionsReadHandle getLastUsedContextOptions () const
 Returns the options and values used in the last cook of this data. More...
getLastAllContextOptions () const
 Returns all options and values provided to the last cook of this data. More...
DEP_ContextOptionsStackgetLastUsedContextOptionsStack () const
const UT_StringArraygetLastMissingContextOptions () const
bool isEvaluating () const override
void evaluateExports () override
bool isExporting () const override
int64 getMemoryUsage (bool inclusive) const override
 Obtain approximate memory usage. More...
void dump (std::ostream &os, const char *prefix=0, int indent_level=0) const override
 Dump contents to output stream, strictly for debugging purposes. More...
OP_NodeownerNode () const
void bumpModVersion ()
bool isModVersionOutdated () const
OP_VERSION modVersion () const
OP_VERSION lastModVersion () const
fpreal lastUpdateTime () const
bool isEqualToLastUpdateTime (fpreal t) const
void becameDirty (DEP_MicroNode &src, const DEP_PropagateData &data) override
void setModVersion (OP_VERSION v)
- Public Member Functions inherited from DEP_MicroNode
 DEP_MicroNode ()
virtual ~DEP_MicroNode ()
void propagateDirty (Visitor client_visit, bool only_outputs=false)
void traverseAncestorInputs (const TraverseVisitor &visitor) const
 Traverse all ancestor inputs of this micronode. More...
bool markVisitPass (int pass)
SYS_FORCE_INLINE int lastVisitPass () const
void dumpAsDOT (std::ostream &os, const char *prefix=0, int indent_level=0) const
 Dump the contents is a manner more suitable for DOT. More...
bool inheritTimeDependentFromExplicitInputs ()
bool inheritTimeInterestedFromExplicitInputs ()
bool inheritContextOptionDepsFromExplicitInputs (const UT_StringArray &ignore_deps)
void addExplicitInput (DEP_MicroNode &inp, bool check_dup)
 Methods for manipulating explicit edges. More...
void addExplicitInput (DEP_MicroNode &inp)
 Add an input that this micronode depends on. More...
void addExplicitInputs (const DEP_MicroNodeList &sources, bool check_dup=true)
 Bulk add multiple explicit inputs at once. More...
void getExplicitInputs (DEP_MicroNodeList &inputs) const
 Get list of all non-null explicit inputs. More...
int getNumExplicitInputs () const
 Get the number of non-null inputs. More...
void getExplicitOutputs (DEP_MicroNodeList &outputs) const
 Get list of all non-null explicit outputs. More...
int getNumExplicitOutputs () const
 Get the number of non-null outputs. More...
SYS_FORCE_INLINE bool isDirty () const
 Flag accessors. More...
void setDirty (bool flag, bool allow_clear=true)
 Flag accessors. More...
SYS_FORCE_INLINE bool isTimeDependent () const
 Flag accessors. More...
SYS_FORCE_INLINE void setTimeDependent (bool time_dependent)
 Flag accessors. More...
SYS_FORCE_INLINE bool isTimeInterested () const
 Flag accessors. More...
SYS_FORCE_INLINE void setTimeInterested (bool time_interested)
 Flag accessors. More...
SYS_FORCE_INLINE bool hasContextOptionDeps () const
 Flag accessors. More...
getContextOptionDeps () const
 Flag accessors. More...
SYS_FORCE_INLINE void addContextOptionDeps (const DEP_ContextOptionDeps &opts)
 Flag accessors. More...
SYS_FORCE_INLINE void addContextOptionDep (const UT_StringHolder &opt)
 Flag accessors. More...
SYS_FORCE_INLINE void clearContextOptionDeps ()
 Flag accessors. More...
SYS_FORCE_INLINE bool isOpDataMicroNode () const
 Flag accessors. More...

Public Attributes

UT_StringHolder myMicroNodeName
bool myRebuildDependents
UT_Array< const
OP_NamedDataMicroNode * > 

Additional Inherited Members

- Public Types inherited from DEP_MicroNode
typedef std::function< void(DEP_MicroNode
&, DEP_MicroNode &) > 
typedef std::function< bool(const
DEP_MicroNode &, const
DEP_MicroNode &) > 
- Static Public Member Functions inherited from DEP_MicroNode
static SYS_FORCE_INLINE bool canClearDependencies ()
 Global control whether dependencies can be cleared. More...
static SYS_FORCE_INLINE bool canEvaluateExports ()
 Global control whether we can evaluate exports. More...
static SYS_FORCE_INLINE bool isSameTime (fpreal a, fpreal b)
- Static Public Member Functions inherited from UT_SmallObject< UT_NonCopyable >
static voidoperator new (size_t size)
 Regular new/delete operators. More...
static void operator delete (void *p, size_t size)
 Regular new/delete operators. More...
static voidoperator new (size_t, void *p)
static void operator delete (void *, void *)
- Protected Member Functions inherited from DEP_MicroNode
SYS_FORCE_INLINE void setIsOpDataMicroNode (bool b)

Detailed Description

Definition at line 27 of file OP_NamedMicroNodes.h.

Constructor & Destructor Documentation

OP_NamedDataMicroNode::OP_NamedDataMicroNode ( OP_Node node,
const UT_StringHolder name 

Member Function Documentation

const char* OP_NamedDataMicroNode::className ( ) const

Reimplemented from OP_DataMicroNode.

const UT_Array<const OP_NamedDataMicroNode*>& OP_NamedDataMicroNode::dependents ( ) const
const UT_StringHolder& OP_NamedDataMicroNode::getMicroNodeName ( ) const
void OP_NamedDataMicroNode::rebuildDependents ( )

Member Data Documentation

UT_Array<const OP_NamedDataMicroNode*> OP_NamedDataMicroNode::myDependents

Definition at line 42 of file OP_NamedMicroNodes.h.

UT_StringHolder OP_NamedDataMicroNode::myMicroNodeName

Definition at line 39 of file OP_NamedMicroNodes.h.

bool OP_NamedDataMicroNode::myRebuildDependents

Definition at line 40 of file OP_NamedMicroNodes.h.

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