IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
StructuringElementAttributeSrcMacros.h
Go to the documentation of this file.
1 // StructuringElementAttributeSrcMacros.h:
3 // ---------------------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_STRUCTURINGELEMENTATTRIBUTESRCMACROS_H__
17 #define __IPSDKIMAGEPROCESSING_STRUCTURINGELEMENTATTRIBUTESRCMACROS_H__
18 
20 
23 
26 #define IPSDK_IMPLEMENT_SE_ATTRIBUTE(libraryName, namespaceSeq, className, eMsgEnum) \
27  IPSDK_IMPLEMENT_SERIAL_WITHOUT_COPY(libraryName, namespaceSeq, className, 1) \
28  IPSDK_IMPLEMENT_TOOLTIP(libraryName, className, eMsgEnum) \
29  IPSDK_IMPLEMENT_ATTRIBUTE_BASE_BODY(className, eMsgEnum) \
30  className::className() \
31  { \
32  } \
33  className::~className() \
34  { \
35  } \
36  void className::init(const StorageType& pStructuringElement) \
37  { \
38  initBase(pStructuringElement); \
39  } \
40  IPSDK_IMPLEMENT_SERIAL_WRITE(className, className::BaseSEAttributeClassType) \
41  return true; \
42  } \
43  IPSDK_IMPLEMENT_SERIAL_READ(className, className::BaseSEAttributeClassType) \
44  return true; \
45  }
46 
49 
50 #endif // __IPSDKIMAGEPROCESSING_STRUCTURINGELEMENTATTRIBUTESRCMACROS_H__
Source part of macros set for attribute class implementation.