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

Source part of plan indexed collection implementation macros. More...

#include <IPSDKSerialization/Engine/SerializationSrcMacro.h>

Go to the source code of this file.

Macros

#define IPSDK_IMPLEMENT_PLAN_INDEXED_COLL(libraryName, namespaceSeq, className)
 macro allowing to implement a plan indexed collection object More...
 

Detailed Description

Source part of plan indexed collection implementation macros.

Author
E. Noirfalise
Date
2015/06/18

Macro Definition Documentation

◆ IPSDK_IMPLEMENT_PLAN_INDEXED_COLL

#define IPSDK_IMPLEMENT_PLAN_INDEXED_COLL (   libraryName,
  namespaceSeq,
  className 
)
Value:
boost::shared_ptr<className> \
IPSDK_NAMESPACE_NAME(namespaceSeq) \
createPlanIndexedColl(const boost::shared_ptr<className::BaseClassType::ValueType>& pObject) \
{ \
boost::shared_ptr<className> pPlanIndexedColl(boost::make_shared<className>()); \
pPlanIndexedColl->insert(ipsdk::PlanIndex(0, 0, 0), pObject); \
return pPlanIndexedColl; \
} \
IPSDK_IMPLEMENT_SERIAL_WITHOUT_COPY(libraryName, namespaceSeq, className, 1) \
IPSDK_IMPLEMENT_SERIAL_WRITE(className, ipsdk::BasePlanIndexedColl) \
return true; \
} \
IPSDK_IMPLEMENT_SERIAL_READ(className, ipsdk::BasePlanIndexedColl) \
return true; \
}
Class used to store image plan index.
Definition: PlanIndex.h:26
Collection of serializable objects indexed by plan.
Definition: BasePlanIndexedColl.h:34

macro allowing to implement a plan indexed collection object