18 #ifndef _COVISE_OBJECT_ALGORITHMS_
19 #define _COVISE_OBJECT_ALGORITHMS_
38 bool strict_case =
true);
50 if (
const coDoSet *set = dynamic_cast<const coDoSet *>(obj))
56 for (i = 0; i < no_elems; ++i)
58 bool thisType = containsType<T>(setList[i], strict_case);
59 if (!thisType && strict_case)
64 else if (!strict_case && thisType)
70 for (elem = 0; elem < no_elems; ++elem)
79 else if (i != no_elems || strict_case)
91 return dynamic_cast<T
>(
obj) !=
NULL;
Definition: covise_objalg.h:27
GLsizei GLsizei GLuint * obj
Definition: khronos-glext.h:6733
#define COVISEEXPORT
Definition: coExport.h:176
#define NULL
Definition: covise_list.h:22
Definition: coDistributedObject.h:294
static bool containsType(const coDistributedObject *obj, bool strict_case=true)
Definition: covise_objalg.h:43