IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Macros
TemplateClassId.h File Reference

Macro allowing to identify a template class by a string. More...

#include <boost/preprocessor/seq/for_each_i.hpp>
#include <boost/preprocessor/seq/size.hpp>
#include <boost/preprocessor/stringize.hpp>
#include <boost/preprocessor/control/if.hpp>
#include <boost/preprocessor/arithmetic/sub.hpp>

Go to the source code of this file.

Macros

#define IPSDK_TEMPLATE_CLASSID_MACRO_TRUE(T)   BOOST_PP_STRINGIZE(T) ","
 [INTERNAL] macro allowing to construct full template name for class
 
#define IPSDK_TEMPLATE_CLASSID_MACRO_FALSE(T)   BOOST_PP_STRINGIZE(T)
 [INTERNAL] macro allowing to construct full template name for class
 
#define IPSDK_TEMPLATE_CLASSID_MACRO(r, SeqLastIdx, i, T)
 [INTERNAL] macro allowing to construct full template name for class More...
 
#define IPSDK_TEMPLATE_CLASSID(className, seqT)
 macro allowing to construct full template name for class More...
 

Detailed Description

Macro allowing to identify a template class by a string.

Author
E. Noirfalise
Date
2013/2/15

Macro Definition Documentation

◆ IPSDK_TEMPLATE_CLASSID_MACRO

#define IPSDK_TEMPLATE_CLASSID_MACRO (   r,
  SeqLastIdx,
  i,
 
)
Value:
BOOST_PP_IF(BOOST_PP_SUB(SeqLastIdx, i), \
#define IPSDK_TEMPLATE_CLASSID_MACRO_FALSE(T)
[INTERNAL] macro allowing to construct full template name for class
Definition: TemplateClassId.h:33
#define IPSDK_TEMPLATE_CLASSID_MACRO_TRUE(T)
[INTERNAL] macro allowing to construct full template name for class
Definition: TemplateClassId.h:28

[INTERNAL] macro allowing to construct full template name for class

◆ IPSDK_TEMPLATE_CLASSID

#define IPSDK_TEMPLATE_CLASSID (   className,
  seqT 
)
Value:
BOOST_PP_STRINGIZE(className) \
"<" \
BOOST_PP_SEQ_FOR_EACH_I_R(200, \
BOOST_PP_SUB(BOOST_PP_SEQ_SIZE(seqT), 1), \
seqT) \
">"
#define IPSDK_TEMPLATE_CLASSID_MACRO(r, SeqLastIdx, i, T)
[INTERNAL] macro allowing to construct full template name for class
Definition: TemplateClassId.h:38

macro allowing to construct full template name for class