11 #ifndef __PRM_CALLBACK_H_INCLUDED__
12 #define __PRM_CALLBACK_H_INCLUDED__
95 return myCallbackOpt(data, index, time, tplate, 0);
96 else if (myCallback64)
97 return myCallback64(data, index, time, tplate);
98 else if (myCallback32)
99 return myCallback32(data, index,
fpreal32(time), tplate);
107 return myCallbackOpt(data, index, time, tplate, options);
108 else if (myCallback64)
109 return myCallback64(data, index, time, tplate);
110 else if (myCallback32)
111 return myCallback32(data, index,
fpreal32(time), tplate);
116 return (myCallbackOpt == other.myCallbackOpt
117 && myCallback64 == other.myCallback64
118 && myCallback32 == other.myCallback32);
123 return (myCallbackOpt || myCallback64 || myCallback32);
136 #endif // __PRM_CALLBACK_H_INCLUDED__
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
int(* PRM_Callback32)(void *data, int index, fpreal32 time, const PRM_Template *tplate)
GT_API const UT_StringHolder time
int operator()(void *data, int index, fpreal64 time, const PRM_Template *tplate, const UT_Options *options)
PRM_Callback(PRM_CallbackOpt cb)
PRM_Callback(PRM_Callback64 cb)
int operator()(void *data, int index, fpreal64 time, const PRM_Template *tplate)
PRM_Callback(long int ptr)
int(* PRM_Callback64)(void *data, int index, fpreal64 time, const PRM_Template *tplate)
bool operator==(const PRM_Callback &other)
PRM_Callback(PRM_Callback32 cb)
int(* PRM_CallbackOpt)(void *data, int index, fpreal64 time, const PRM_Template *tplate, const UT_Options *options)
A map of string to various well defined value types.
PRM_Callback(std::nullptr_t)