IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
PlanIndexedCollSrcMacros.h
Go to the documentation of this file.
1 // PlanIndexedCollSrcMacros.h:
3 // ---------------------------
4 //
14 
15 #ifndef __IPSDKBASEDATA_PLANINDEXEDCOLLSRCMACROS_H__
16 #define __IPSDKBASEDATA_PLANINDEXEDCOLLSRCMACROS_H__
17 
19 
22 
25 #define IPSDK_IMPLEMENT_PLAN_INDEXED_COLL(libraryName, namespaceSeq, className) \
26  boost::shared_ptr<className> \
27  IPSDK_NAMESPACE_NAME(namespaceSeq) \
28  createPlanIndexedColl(const boost::shared_ptr<className::BaseClassType::ValueType>& pObject) \
29  { \
30  boost::shared_ptr<className> pPlanIndexedColl(boost::make_shared<className>()); \
31  pPlanIndexedColl->insert(ipsdk::PlanIndex(0, 0, 0), pObject); \
32  return pPlanIndexedColl; \
33  } \
34  IPSDK_IMPLEMENT_SERIAL_WITHOUT_COPY(libraryName, namespaceSeq, className, 1) \
35  IPSDK_IMPLEMENT_SERIAL_WRITE(className, ipsdk::BasePlanIndexedColl) \
36  return true; \
37  } \
38  IPSDK_IMPLEMENT_SERIAL_READ(className, ipsdk::BasePlanIndexedColl) \
39  return true; \
40  }
41 
44 
45 #endif // __IPSDKBASEDATA_PLANINDEXEDCOLLSRCMACROS_H__
Source part of macros set for class serialization.