13 #ifndef __OPUI_GraphBadge__
14 #define __OPUI_GraphBadge__
26 namespace apex {
class APEX_Node; }
43 using Node = std::variant<OP_Node*, const apex::APEX_Node*>;
47 auto p = std::get_if<OP_Node*>(&myItem);
48 return p ? *p :
nullptr;
53 auto p = std::get_if<const apex::APEX_Node*>(
55 return p ? *p :
nullptr;
85 {
return myPreferenceName; }
87 {
return myPreferenceCategory; }
89 {
return myDescription; }
93 {
return myDefaultVisibility; }
95 {
return myBadgeTest; }
97 {
return myThreadSafe; }
100 {
return myVisibility; }
102 { myVisibility = vis; }
static const UT_StringHolder theCommentPref
OPUI_GraphBadgeVisibility getVisibility() const
static const UT_StringHolder theNodeDiveablePref
bool getThreadSafe() const
static const UT_StringHolder the64bitPref
cvex test(vector P=0;int unbound=3;export float s=0;export vector Cf=0;)
static const UT_StringHolder theParametersBadgeCategory
static const UT_StringHolder theLopDebugPref
static const UT_StringHolder theKinematicsPref
static const UT_StringHolder theLoadFromDiskPref
static const UT_StringHolder theHDALockedPref
UT_ErrorSeverity myErrorSeverity
static const UT_StringHolder theLopUnloadedPayloadsPref
static const UT_StringHolder theConstraintsPref
const UT_StringHolder & getPreferenceName() const
static const UT_StringHolder theNodeHasDataPref
OPUI_GraphBadgeVisibility getDefaultVisibility() const
const UT_StringHolder & getDescription() const
UT_Array< OPUI_GraphBadge > OPUI_GraphBadgeArray
static const UT_StringHolder theNotCompilablePref
static const UT_StringHolder theErrorPref
static const UT_StringHolder theHasTakeDataPref
static const UT_StringHolder theLopPopulationMaskPref
OPUI_GraphBadgeTest getBadgeTest() const
void setVisibility(OPUI_GraphBadgeVisibility vis)
const apex::APEX_Node * apexNode() const
static const UT_StringHolder theMainBadgeCategory
static const UT_StringHolder theChildErrorPref
OPUI_GraphBadgeVisibility
const UT_StringHolder & getIcon() const
static const UT_StringHolder theNodeUnloadPref
static const UT_StringHolder theNeedsCookPref
static const UT_StringHolder theMessagePref
static const UT_StringHolder theDynamicTOPPref
static const UT_StringHolder theTimeDepPref
static const UT_StringHolder theMQClientsAuthPref
static const UT_StringHolder theTagsPref
const UT_StringHolder & getPreferenceCategory() const
static const UT_StringHolder theContextSpecificBadgeCategory
static const UT_StringHolder theHDAUnlockedPref
static const UT_StringHolder theMQServerAuthPref
static const UT_StringHolder theHDADelaySyncPref
static const UT_StringHolder theVexCachePref
static const UT_StringHolder theWarningPref
bool(* OPUI_GraphBadgeTest)(const OPUI_GraphBadgeInfo &info, OPUI_GraphBadgeVisibility visibility, OP_Context &context, UT_StringHolder &icon, UT_Color &clr)
static const UT_StringHolder theNodeLockedPref