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

Source part of macros set for border policy attributes class implementation. More...

#include <IPSDKBaseProcessing/Attribute/Base/AttributeSrcMacros.h>

Go to the source code of this file.

Macros

#define IPSDK_IMPLEMENT_BORDER_POLICY_ATTRIBUTE(libraryName, namespaceSeq, className, eMsgEnum)
 [Internal] macro allowing to implement a mandatory input border policy attribute concrete class More...
 
#define IPSDK_IMPLEMENT_OPTIONAL_BORDER_POLICY_ATTRIBUTE(libraryName, namespaceSeq, className, eMsgEnum)
 [Internal] macro allowing to implement an optional input border policy attribute concrete class More...
 

Detailed Description

Source part of macros set for border policy attributes class implementation.

Author
E. Noirfalise
Date
2014/07/09

Macro Definition Documentation

◆ IPSDK_IMPLEMENT_BORDER_POLICY_ATTRIBUTE

#define IPSDK_IMPLEMENT_BORDER_POLICY_ATTRIBUTE (   libraryName,
  namespaceSeq,
  className,
  eMsgEnum 
)
Value:
IPSDK_IMPLEMENT_SERIAL_WITHOUT_COPY(libraryName, namespaceSeq, className, 1) \
IPSDK_IMPLEMENT_TOOLTIP(libraryName, className, eMsgEnum) \
IPSDK_IMPLEMENT_ATTRIBUTE_BASE_BODY(className, eMsgEnum) \
className::className() \
{ \
} \
className::~className() \
{ \
} \
void className::init(const ValueType& borderPolicy) \
{ \
initBase(borderPolicy); \
} \
void className::init(const StorageType& pBorderPolicy) \
{ \
initBase(*pBorderPolicy); \
} \
IPSDK_IMPLEMENT_SERIAL_WRITE(className, BaseBorderPolicyAttributeClassType) \
return true; \
} \
IPSDK_IMPLEMENT_SERIAL_READ(className, BaseBorderPolicyAttributeClassType) \
return true; \
}
#define IPSDK_IMPLEMENT_SERIAL_WITHOUT_COPY(libraryName, namespaceSeq, className, version)
macro enabling class serialization in library class
Definition: SerializationSrcMacro.h:57

[Internal] macro allowing to implement a mandatory input border policy attribute concrete class

◆ IPSDK_IMPLEMENT_OPTIONAL_BORDER_POLICY_ATTRIBUTE

#define IPSDK_IMPLEMENT_OPTIONAL_BORDER_POLICY_ATTRIBUTE (   libraryName,
  namespaceSeq,
  className,
  eMsgEnum 
)
Value:
IPSDK_IMPLEMENT_SERIAL_WITHOUT_COPY(libraryName, namespaceSeq, className, 1) \
IPSDK_IMPLEMENT_TOOLTIP(libraryName, className, eMsgEnum) \
IPSDK_IMPLEMENT_ATTRIBUTE_BASE_BODY(className, eMsgEnum) \
className::className() \
{ \
BaseBorderPolicyAttributeClassType::initBase(getDefaultValue()); \
} \
className::~className() \
{ \
} \
void className::init(const ValueType& borderPolicy) \
{ \
initBase(borderPolicy); \
} \
void className::init(const StorageType& pBorderPolicy) \
{ \
initBase(*pBorderPolicy); \
} \
IPSDK_IMPLEMENT_SERIAL_WRITE(className, BaseBorderPolicyAttributeClassType) \
return true; \
} \
IPSDK_IMPLEMENT_SERIAL_READ(className, BaseBorderPolicyAttributeClassType) \
return true; \
}
#define IPSDK_IMPLEMENT_SERIAL_WITHOUT_COPY(libraryName, namespaceSeq, className, version)
macro enabling class serialization in library class
Definition: SerializationSrcMacro.h:57

[Internal] macro allowing to implement an optional input border policy attribute concrete class