VR-Vantage
Loading...
Searching...
No Matches
templateUtil.h File Reference

Contains utility macros and methods for templates. More...

Go to the source code of this file.

Classes

struct  makVrv::SortByFirst< Key, Value >
struct  makVrv::SortPointersByFunction_T< Ret, T >
struct  makVrv::EqualPointerByFunction_T< Ret, T >

Namespaces

namespace  makVrv
 Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarations.

Macros

#define DO_PP(MACRO)
#define MAKE_STREAM_1(word)
#define MAKE_STREAM_2(word)
#define MAKE_STREAM_3(word)
#define MAKE_STREAM_4(word)
#define MAKE_STREAM_5(word)
#define MAKE_STREAM_6(word)
#define MAKE_STREAM_7(word)
#define MAKE_STREAM_8(word)
#define MAKE_STREAM_9(word)
#define MAKE_STREAM_10(word)
#define MAKE_STREAM(word, count)
#define MAKE_STREAMOUT_1(word)
#define MAKE_STREAMOUT_2(word)
#define MAKE_STREAMOUT_3(word)
#define MAKE_STREAMOUT_4(word)
#define MAKE_STREAMOUT_5(word)
#define MAKE_STREAMOUT_6(word)
#define MAKE_STREAMOUT_7(word)
#define MAKE_STREAMOUT_8(word)
#define MAKE_STREAMOUT_9(word)
#define MAKE_STREAMOUT_10(word)
#define MAKE_STREAMOUT(word, count)
#define MAKE_LIST_1(word)
#define MAKE_LIST_2(word)
#define MAKE_LIST_3(word)
#define MAKE_LIST_4(word)
#define MAKE_LIST_5(word)
#define MAKE_LIST_6(word)
#define MAKE_LIST_7(word)
#define MAKE_LIST_8(word)
#define MAKE_LIST_9(word)
#define MAKE_LIST_10(word)
#define MAKE_LIST(word, count)
#define MAKE_MULTILIST_1(first, second)
#define MAKE_MULTILIST_2(first, second)
#define MAKE_MULTILIST_3(first, second)
#define MAKE_MULTILIST_4(first, second)
#define MAKE_MULTILIST_5(first, second)
#define MAKE_MULTILIST_6(first, second)
#define MAKE_MULTILIST_7(first, second)
#define MAKE_MULTILIST_8(first, second)
#define MAKE_MULTILIST_9(first, second)
#define MAKE_MULTILIST_10(first, second)
#define MAKE_MULTILIST(first, second, count)
#define MAKE_CAST_CALL_1(first, second, third, forth)
#define MAKE_CAST_CALL_2(first, second, third, forth)
#define MAKE_CAST_CALL_3(first, second, third, forth)
#define MAKE_CAST_CALL_4(first, second, third, forth)
#define MAKE_CAST_CALL_5(first, second, third, forth)
#define MAKE_CAST_CALL_6(first, second, third, forth)
#define MAKE_CAST_CALL_7(first, second, third, forth)
#define MAKE_CAST_CALL_8(first, second, third, forth)
#define MAKE_CAST_CALL_9(first, second, third, forth)
#define MAKE_CAST_CALL_10(first, second, third, forth)
#define MAKE_CAST_CALL(first, second, third, forth, count)
#define MAKE_DECL_LIST_1(word)
#define MAKE_DECL_LIST_2(word)
#define MAKE_DECL_LIST_3(word)
#define MAKE_DECL_LIST_4(word)
#define MAKE_DECL_LIST_5(word)
#define MAKE_DECL_LIST_6(word)
#define MAKE_DECL_LIST_7(word)
#define MAKE_DECL_LIST_8(word)
#define MAKE_DECL_LIST_9(word)
#define MAKE_DECL_LIST_10(word)
#define MAKE_DECL_LIST(word, count)
#define MAKE_DECL_MULTILIST_1(first, second)
#define MAKE_DECL_MULTILIST_2(first, second)
#define MAKE_DECL_MULTILIST_3(first, second)
#define MAKE_DECL_MULTILIST_4(first, second)
#define MAKE_DECL_MULTILIST_5(first, second)
#define MAKE_DECL_MULTILIST_6(first, second)
#define MAKE_DECL_MULTILIST_7(first, second)
#define MAKE_DECL_MULTILIST_8(first, second)
#define MAKE_DECL_MULTILIST_9(first, second)
#define MAKE_DECL_MULTILIST_10(first, second)
#define MAKE_DECL_MULTILIST(first, second, count)
#define EXPORT_TEMPLATE_TYPEDEF(C, TD)
#define FAST_REPEATED_CALL(count, x)

Functions

template<typename M>
void makVrv::DtClearAndDeletePointersInMap (M &map)
template<typename V>
void makVrv::DtClearAndDeletePointersInVector (V &vec)
template<typename Iter>
void makVrv::DtDeletePointersInIterators (Iter begin, Iter end)
template<typename T, typename R, typename A, typename Col>
void makVrv::forEachCallMember (T *_this, R(T::*memfun)(A), Col &col)
template<typename Ret, typename AT, typename Class>
Ret makVrv::callConstFunction1 (const Class *_this, const Ret(Class::*memberPtr)(AT) const, AT param)
template<typename T, void(T::*)() MF>
void makVrv::DtMemberFunctionCallback (DtDe *de, void *data)
template<class InputIterator1, class InputIterator2, class OutputIterator1, class OutputIterator2>
void makVrv::set_split_difference (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator1 result1, OutputIterator2 result2)
template<typename iter, typename T>
iter makVrv::fasterFind (size_t size, iter begin, iter end, const T &value)
 boost::signalslib::signal<void (Argument)>& forwarder)
template<typename iter, typename F>
iter makVrv::fastFindPred (size_t size, iter begin, iter end, const F &pred)
template<typename T, typename Ax>
void makVrv::fastEraseFromUnsortedVector (std::vector< T, Ax > &list, const T &value)
template<typename T, typename Ax>
void makVrv::fastEraseFromUnsortedVector (std::vector< T *, Ax > &list, const T *value)
template<typename T, typename Ax, typename Function>
void makVrv::fastEraseFromUnsortedVectorPred (std::vector< T, Ax > &list, const Function &f)
template<typename T, typename Ax, typename Function>
void makVrv::fastEraseFromUnsortedVectorPred (std::vector< T *, Ax > &list, const Function &f)
template<typename Ret, typename T>
SortPointersByFunction_T< Ret, T > makVrv::SortPointersByFunction (Ret(T::*ptr)() const)
template<typename Ret, typename T>
EqualPointerByFunction_T< Ret, T > makVrv::EqualPointerByFunction (Ret(T::*ptr)() const, Ret value)
template<typename K, typename V>
const V & makVrv::findOrThrow (const std::map< K, V, std::less< K >, std::allocator< std::pair< const K, V > > > &map, K key)
 Find a value in a map, or throw an DtInvalidInput exception.
template<typename K, typename V>
const V & makVrv::findByIndexOrThrow (const std::map< K, V, std::less< K >, std::allocator< std::pair< const K, V > > > &map, int index)
 Find a value by index in a map, or throw an DtInvalidInput exception.
template<typename V>
const V & makVrv::findByIndexOrThrow (const std::vector< V > &vec, int index)
 Find a value by index in a map, or throw an DtInvalidInput exception.

Detailed Description

Contains utility macros and methods for templates.

Macro Definition Documentation

◆ DO_PP

#define DO_PP ( MACRO)
Value:
MACRO

◆ MAKE_STREAM_1

#define MAKE_STREAM_1 ( word)
Value:
word##1

◆ MAKE_STREAM_2

#define MAKE_STREAM_2 ( word)
Value:
MAKE_STREAM_1(word)<<word##2
#define MAKE_STREAM_1(word)
Definition templateUtil.h:25

◆ MAKE_STREAM_3

#define MAKE_STREAM_3 ( word)
Value:
MAKE_STREAM_2(word)<<word##3
#define MAKE_STREAM_2(word)
Definition templateUtil.h:26

◆ MAKE_STREAM_4

#define MAKE_STREAM_4 ( word)
Value:
MAKE_STREAM_3(word)<<word##4
#define MAKE_STREAM_3(word)
Definition templateUtil.h:27

◆ MAKE_STREAM_5

#define MAKE_STREAM_5 ( word)
Value:
MAKE_STREAM_4(word)<<word##5
#define MAKE_STREAM_4(word)
Definition templateUtil.h:28

◆ MAKE_STREAM_6

#define MAKE_STREAM_6 ( word)
Value:
MAKE_STREAM_5(word)<<word##6
#define MAKE_STREAM_5(word)
Definition templateUtil.h:29

◆ MAKE_STREAM_7

#define MAKE_STREAM_7 ( word)
Value:
MAKE_STREAM_6(word)<<word##7
#define MAKE_STREAM_6(word)
Definition templateUtil.h:30

◆ MAKE_STREAM_8

#define MAKE_STREAM_8 ( word)
Value:
MAKE_STREAM_7(word)<<word##8
#define MAKE_STREAM_7(word)
Definition templateUtil.h:31

◆ MAKE_STREAM_9

#define MAKE_STREAM_9 ( word)
Value:
MAKE_STREAM_8(word)<<word##9
#define MAKE_STREAM_8(word)
Definition templateUtil.h:32

◆ MAKE_STREAM_10

#define MAKE_STREAM_10 ( word)
Value:
MAKE_STREAM_9(word)<<word##10
#define MAKE_STREAM_9(word)
Definition templateUtil.h:33

◆ MAKE_STREAM

#define MAKE_STREAM ( word,
count )
Value:
DO_PP(MAKE_STREAM_##count(word))
#define DO_PP(MACRO)
Definition templateUtil.h:18

◆ MAKE_STREAMOUT_1

#define MAKE_STREAMOUT_1 ( word)
Value:
word##1

◆ MAKE_STREAMOUT_2

#define MAKE_STREAMOUT_2 ( word)
Value:
MAKE_STREAMOUT_1(word)>>word##2
#define MAKE_STREAMOUT_1(word)
Definition templateUtil.h:42

◆ MAKE_STREAMOUT_3

#define MAKE_STREAMOUT_3 ( word)
Value:
MAKE_STREAMOUT_2(word)>>word##3
#define MAKE_STREAMOUT_2(word)
Definition templateUtil.h:43

◆ MAKE_STREAMOUT_4

#define MAKE_STREAMOUT_4 ( word)
Value:
MAKE_STREAMOUT_3(word)>>word##4
#define MAKE_STREAMOUT_3(word)
Definition templateUtil.h:44

◆ MAKE_STREAMOUT_5

#define MAKE_STREAMOUT_5 ( word)
Value:
MAKE_STREAMOUT_4(word)>>word##5
#define MAKE_STREAMOUT_4(word)
Definition templateUtil.h:45

◆ MAKE_STREAMOUT_6

#define MAKE_STREAMOUT_6 ( word)
Value:
MAKE_STREAMOUT_5(word)>>word##6
#define MAKE_STREAMOUT_5(word)
Definition templateUtil.h:46

◆ MAKE_STREAMOUT_7

#define MAKE_STREAMOUT_7 ( word)
Value:
MAKE_STREAMOUT_6(word)>>word##7
#define MAKE_STREAMOUT_6(word)
Definition templateUtil.h:47

◆ MAKE_STREAMOUT_8

#define MAKE_STREAMOUT_8 ( word)
Value:
MAKE_STREAMOUT_7(word)>>word##8
#define MAKE_STREAMOUT_7(word)
Definition templateUtil.h:48

◆ MAKE_STREAMOUT_9

#define MAKE_STREAMOUT_9 ( word)
Value:
MAKE_STREAMOUT_8(word)>>word##9
#define MAKE_STREAMOUT_8(word)
Definition templateUtil.h:49

◆ MAKE_STREAMOUT_10

#define MAKE_STREAMOUT_10 ( word)
Value:
MAKE_STREAMOUT_9(word)>>word##10
#define MAKE_STREAMOUT_9(word)
Definition templateUtil.h:50

◆ MAKE_STREAMOUT

#define MAKE_STREAMOUT ( word,
count )
Value:
DO_PP(MAKE_STREAMOUT_##count(word))

◆ MAKE_LIST_1

#define MAKE_LIST_1 ( word)
Value:
word##1

◆ MAKE_LIST_2

#define MAKE_LIST_2 ( word)
Value:
MAKE_LIST_1(word),word##2
#define MAKE_LIST_1(word)
Definition templateUtil.h:60

◆ MAKE_LIST_3

#define MAKE_LIST_3 ( word)
Value:
MAKE_LIST_2(word),word##3
#define MAKE_LIST_2(word)
Definition templateUtil.h:61

◆ MAKE_LIST_4

#define MAKE_LIST_4 ( word)
Value:
MAKE_LIST_3(word),word##4
#define MAKE_LIST_3(word)
Definition templateUtil.h:62

◆ MAKE_LIST_5

#define MAKE_LIST_5 ( word)
Value:
MAKE_LIST_4(word),word##5
#define MAKE_LIST_4(word)
Definition templateUtil.h:63

◆ MAKE_LIST_6

#define MAKE_LIST_6 ( word)
Value:
MAKE_LIST_5(word),word##6
#define MAKE_LIST_5(word)
Definition templateUtil.h:64

◆ MAKE_LIST_7

#define MAKE_LIST_7 ( word)
Value:
MAKE_LIST_6(word),word##7
#define MAKE_LIST_6(word)
Definition templateUtil.h:65

◆ MAKE_LIST_8

#define MAKE_LIST_8 ( word)
Value:
MAKE_LIST_7(word),word##8
#define MAKE_LIST_7(word)
Definition templateUtil.h:66

◆ MAKE_LIST_9

#define MAKE_LIST_9 ( word)
Value:
MAKE_LIST_8(word),word##9
#define MAKE_LIST_8(word)
Definition templateUtil.h:67

◆ MAKE_LIST_10

#define MAKE_LIST_10 ( word)
Value:
MAKE_LIST_9(word),word##10
#define MAKE_LIST_9(word)
Definition templateUtil.h:68

◆ MAKE_LIST

#define MAKE_LIST ( word,
count )
Value:
DO_PP(MAKE_LIST_##count(word))

◆ MAKE_MULTILIST_1

#define MAKE_MULTILIST_1 ( first,
second )
Value:
first##1 second##1

◆ MAKE_MULTILIST_2

#define MAKE_MULTILIST_2 ( first,
second )
Value:
MAKE_MULTILIST_1(first,second),first##2 second##2
#define MAKE_MULTILIST_1(first, second)
Definition templateUtil.h:77

◆ MAKE_MULTILIST_3

#define MAKE_MULTILIST_3 ( first,
second )
Value:
MAKE_MULTILIST_2(first,second),first##3 second##3
#define MAKE_MULTILIST_2(first, second)
Definition templateUtil.h:78

◆ MAKE_MULTILIST_4

#define MAKE_MULTILIST_4 ( first,
second )
Value:
MAKE_MULTILIST_3(first,second),first##4 second##4
#define MAKE_MULTILIST_3(first, second)
Definition templateUtil.h:79

◆ MAKE_MULTILIST_5

#define MAKE_MULTILIST_5 ( first,
second )
Value:
MAKE_MULTILIST_4(first,second),first##5 second##5
#define MAKE_MULTILIST_4(first, second)
Definition templateUtil.h:80

◆ MAKE_MULTILIST_6

#define MAKE_MULTILIST_6 ( first,
second )
Value:
MAKE_MULTILIST_5(first,second),first##6 second##6
#define MAKE_MULTILIST_5(first, second)
Definition templateUtil.h:81

◆ MAKE_MULTILIST_7

#define MAKE_MULTILIST_7 ( first,
second )
Value:
MAKE_MULTILIST_6(first,second),first##7 second##7
#define MAKE_MULTILIST_6(first, second)
Definition templateUtil.h:82

◆ MAKE_MULTILIST_8

#define MAKE_MULTILIST_8 ( first,
second )
Value:
MAKE_MULTILIST_7(first,second),first##8 second##8
#define MAKE_MULTILIST_7(first, second)
Definition templateUtil.h:83

◆ MAKE_MULTILIST_9

#define MAKE_MULTILIST_9 ( first,
second )
Value:
MAKE_MULTILIST_8(first,second),first##9 second##9
#define MAKE_MULTILIST_8(first, second)
Definition templateUtil.h:84

◆ MAKE_MULTILIST_10

#define MAKE_MULTILIST_10 ( first,
second )
Value:
MAKE_MULTILIST_9(first,second),first##10 second##10
#define MAKE_MULTILIST_9(first, second)
Definition templateUtil.h:85

◆ MAKE_MULTILIST

#define MAKE_MULTILIST ( first,
second,
count )
Value:
DO_PP(MAKE_MULTILIST_##count(first,second))

◆ MAKE_CAST_CALL_1

#define MAKE_CAST_CALL_1 ( first,
second,
third,
forth )
Value:
first##1 second(third,forth##1)

◆ MAKE_CAST_CALL_2

#define MAKE_CAST_CALL_2 ( first,
second,
third,
forth )
Value:
MAKE_CAST_CALL_1(first,second,third,forth),first##2 second(third,forth##2)
#define MAKE_CAST_CALL_1(first, second, third, forth)
Definition templateUtil.h:95

◆ MAKE_CAST_CALL_3

#define MAKE_CAST_CALL_3 ( first,
second,
third,
forth )
Value:
MAKE_CAST_CALL_2(first,second,third,forth),first##3 second(third,forth##3)
#define MAKE_CAST_CALL_2(first, second, third, forth)
Definition templateUtil.h:96

◆ MAKE_CAST_CALL_4

#define MAKE_CAST_CALL_4 ( first,
second,
third,
forth )
Value:
MAKE_CAST_CALL_3(first,second,third,forth),first##4 second(third,forth##4)
#define MAKE_CAST_CALL_3(first, second, third, forth)
Definition templateUtil.h:97

◆ MAKE_CAST_CALL_5

#define MAKE_CAST_CALL_5 ( first,
second,
third,
forth )
Value:
MAKE_CAST_CALL_4(first,second,third,forth),first##5 second(third,forth##5)
#define MAKE_CAST_CALL_4(first, second, third, forth)
Definition templateUtil.h:98

◆ MAKE_CAST_CALL_6

#define MAKE_CAST_CALL_6 ( first,
second,
third,
forth )
Value:
MAKE_CAST_CALL_5(first,second,third,forth),first##6 second(third,forth##6)
#define MAKE_CAST_CALL_5(first, second, third, forth)
Definition templateUtil.h:99

◆ MAKE_CAST_CALL_7

#define MAKE_CAST_CALL_7 ( first,
second,
third,
forth )
Value:
MAKE_CAST_CALL_6(first,second,third,forth),first##7 second(third,forth##7)
#define MAKE_CAST_CALL_6(first, second, third, forth)
Definition templateUtil.h:100

◆ MAKE_CAST_CALL_8

#define MAKE_CAST_CALL_8 ( first,
second,
third,
forth )
Value:
MAKE_CAST_CALL_7(first,second,third,forth),first##8 second(third,forth##8)
#define MAKE_CAST_CALL_7(first, second, third, forth)
Definition templateUtil.h:101

◆ MAKE_CAST_CALL_9

#define MAKE_CAST_CALL_9 ( first,
second,
third,
forth )
Value:
MAKE_CAST_CALL_8(first,second,third,forth),first##9 second(third,forth##9)
#define MAKE_CAST_CALL_8(first, second, third, forth)
Definition templateUtil.h:102

◆ MAKE_CAST_CALL_10

#define MAKE_CAST_CALL_10 ( first,
second,
third,
forth )
Value:
MAKE_CAST_CALL_9(first,second,third,forth),first##10 second(third,forth##10)
#define MAKE_CAST_CALL_9(first, second, third, forth)
Definition templateUtil.h:103

◆ MAKE_CAST_CALL

#define MAKE_CAST_CALL ( first,
second,
third,
forth,
count )
Value:
DO_PP(MAKE_CAST_CALL_##count(first,second,third,forth))

◆ MAKE_DECL_LIST_1

#define MAKE_DECL_LIST_1 ( word)
Value:
word##1

◆ MAKE_DECL_LIST_2

#define MAKE_DECL_LIST_2 ( word)
Value:
MAKE_DECL_LIST_1(word);word##2
#define MAKE_DECL_LIST_1(word)
Definition templateUtil.h:112

◆ MAKE_DECL_LIST_3

#define MAKE_DECL_LIST_3 ( word)
Value:
MAKE_DECL_LIST_2(word);word##3
#define MAKE_DECL_LIST_2(word)
Definition templateUtil.h:113

◆ MAKE_DECL_LIST_4

#define MAKE_DECL_LIST_4 ( word)
Value:
MAKE_DECL_LIST_3(word);word##4
#define MAKE_DECL_LIST_3(word)
Definition templateUtil.h:114

◆ MAKE_DECL_LIST_5

#define MAKE_DECL_LIST_5 ( word)
Value:
MAKE_DECL_LIST_4(word);word##5
#define MAKE_DECL_LIST_4(word)
Definition templateUtil.h:115

◆ MAKE_DECL_LIST_6

#define MAKE_DECL_LIST_6 ( word)
Value:
MAKE_DECL_LIST_5(word);word##6
#define MAKE_DECL_LIST_5(word)
Definition templateUtil.h:116

◆ MAKE_DECL_LIST_7

#define MAKE_DECL_LIST_7 ( word)
Value:
MAKE_DECL_LIST_6(word);word##7
#define MAKE_DECL_LIST_6(word)
Definition templateUtil.h:117

◆ MAKE_DECL_LIST_8

#define MAKE_DECL_LIST_8 ( word)
Value:
MAKE_DECL_LIST_7(word);word##8
#define MAKE_DECL_LIST_7(word)
Definition templateUtil.h:118

◆ MAKE_DECL_LIST_9

#define MAKE_DECL_LIST_9 ( word)
Value:
MAKE_DECL_LIST_8(word);word##9
#define MAKE_DECL_LIST_8(word)
Definition templateUtil.h:119

◆ MAKE_DECL_LIST_10

#define MAKE_DECL_LIST_10 ( word)
Value:
MAKE_DECL_LIST_9(word);word##10
#define MAKE_DECL_LIST_9(word)
Definition templateUtil.h:120

◆ MAKE_DECL_LIST

#define MAKE_DECL_LIST ( word,
count )
Value:
DO_PP(MAKE_DECL_LIST_##count(word))

◆ MAKE_DECL_MULTILIST_1

#define MAKE_DECL_MULTILIST_1 ( first,
second )
Value:
first##1 second##1

◆ MAKE_DECL_MULTILIST_2

#define MAKE_DECL_MULTILIST_2 ( first,
second )
Value:
MAKE_DECL_MULTILIST_1(first,second);first##2 second##2
#define MAKE_DECL_MULTILIST_1(first, second)
Definition templateUtil.h:128

◆ MAKE_DECL_MULTILIST_3

#define MAKE_DECL_MULTILIST_3 ( first,
second )
Value:
MAKE_DECL_MULTILIST_2(first,second);first##3 second##3
#define MAKE_DECL_MULTILIST_2(first, second)
Definition templateUtil.h:129

◆ MAKE_DECL_MULTILIST_4

#define MAKE_DECL_MULTILIST_4 ( first,
second )
Value:
MAKE_DECL_MULTILIST_3(first,second);first##4 second##4
#define MAKE_DECL_MULTILIST_3(first, second)
Definition templateUtil.h:130

◆ MAKE_DECL_MULTILIST_5

#define MAKE_DECL_MULTILIST_5 ( first,
second )
Value:
MAKE_DECL_MULTILIST_4(first,second);first##5 second##5
#define MAKE_DECL_MULTILIST_4(first, second)
Definition templateUtil.h:131

◆ MAKE_DECL_MULTILIST_6

#define MAKE_DECL_MULTILIST_6 ( first,
second )
Value:
MAKE_DECL_MULTILIST_5(first,second);first##6 second##6
#define MAKE_DECL_MULTILIST_5(first, second)
Definition templateUtil.h:132

◆ MAKE_DECL_MULTILIST_7

#define MAKE_DECL_MULTILIST_7 ( first,
second )
Value:
MAKE_DECL_MULTILIST_6(first,second);first##7 second##7
#define MAKE_DECL_MULTILIST_6(first, second)
Definition templateUtil.h:133

◆ MAKE_DECL_MULTILIST_8

#define MAKE_DECL_MULTILIST_8 ( first,
second )
Value:
MAKE_DECL_MULTILIST_7(first,second);first##8 second##8
#define MAKE_DECL_MULTILIST_7(first, second)
Definition templateUtil.h:134

◆ MAKE_DECL_MULTILIST_9

#define MAKE_DECL_MULTILIST_9 ( first,
second )
Value:
MAKE_DECL_MULTILIST_8(first,second);first##9 second##9
#define MAKE_DECL_MULTILIST_8(first, second)
Definition templateUtil.h:135

◆ MAKE_DECL_MULTILIST_10

#define MAKE_DECL_MULTILIST_10 ( first,
second )
Value:
MAKE_DECL_MULTILIST_9(first,second);first##10 second##10
#define MAKE_DECL_MULTILIST_9(first, second)
Definition templateUtil.h:136

◆ MAKE_DECL_MULTILIST

#define MAKE_DECL_MULTILIST ( first,
second,
count )
Value:
DO_PP(MAKE_DECL_MULTILIST_##count(first,second))

◆ EXPORT_TEMPLATE_TYPEDEF

#define EXPORT_TEMPLATE_TYPEDEF ( C,
TD )
Value:
typedef C TD;\
template class C;

◆ FAST_REPEATED_CALL

#define FAST_REPEATED_CALL ( count,
x )
Value:
{ \
if(count > 0) \
{ \
size_t __FAST_ITERATE_count = count;\
size_t __FAST_ITERATE_n = (__FAST_ITERATE_count + 7) >> 3; \
switch (__FAST_ITERATE_count & 7) \
{ \
case 0: do { x;\
case 7: x; \
case 6: x; \
case 5: x; \
case 4: x; \
case 3: x; \
case 2: x; \
case 1: x; \
} while (--__FAST_ITERATE_n > 0);\
}\
}\
}

Referenced by makVrv::fasterFind(), and makVrv::fastFindPred().