16 #ifndef __IPSDKIMAGEPROCESSING_PLANINDEXEDATTRIBUTESRCMACROS_H__ 17 #define __IPSDKIMAGEPROCESSING_PLANINDEXEDATTRIBUTESRCMACROS_H__ 26 #define IPSDK_IMPLEMENT_PLANINDEXED_ATTRIBUTE(libraryName, namespaceSeq, \ 27 className, eMsgEnum) \ 28 IPSDK_IMPLEMENT_SERIAL_WITHOUT_COPY(libraryName, namespaceSeq, className, 1) \ 29 IPSDK_IMPLEMENT_TOOLTIP(libraryName, className, eMsgEnum) \ 30 IPSDK_IMPLEMENT_ATTRIBUTE_BASE_BODY(className, eMsgEnum) \ 31 className::className() \ 34 className::~className() \ 37 const className::PlanValueType& className::getPlanValue(const ipsdk::PlanIndex& planIndex) const { \ 38 return getColl().getValue(planIndex); \ 40 const className::PlanValueType& className::getPlanValue(const ipsdk::ipUInt64 zPlanIdx, \ 41 const ipsdk::ipUInt64 cPlanIdx, \ 42 const ipsdk::ipUInt64 tPlanIdx) const { \ 43 return getColl().getValue(zPlanIdx, cPlanIdx, tPlanIdx); \ 45 className::PlanConstStorageType className::getPlanStorage(const ipsdk::PlanIndex& planIndex) const { \ 46 return getColl().getStorage(planIndex); \ 48 className::PlanConstStorageType className::getPlanStorage(const ipsdk::ipUInt64 zPlanIdx, \ 49 const ipsdk::ipUInt64 cPlanIdx, \ 50 const ipsdk::ipUInt64 tPlanIdx) const { \ 51 return getColl().getStorage(zPlanIdx, cPlanIdx, tPlanIdx); \ 53 void className::insert(const ipsdk::PlanIndex& planIndex, const PlanStorageType& pObject) { \ 54 ValueType& coll = static_cast<ValueType&>(*accessStorage()); \ 55 coll.insert(planIndex, pObject); \ 57 void className::insert(const ipsdk::ipUInt64 zPlanIdx, const ipsdk::ipUInt64 cPlanIdx, \ 58 const ipsdk::ipUInt64 tPlanIdx, const PlanStorageType& pObject) { \ 59 ValueType& coll = static_cast<ValueType&>(*accessStorage()); \ 60 coll.insert(zPlanIdx, cPlanIdx, tPlanIdx, pObject); \ 62 void className::init(const StorageType& pPlanIndexedColl) { \ 63 ipsdk::imaproc::BasePlanIndexedAttribute::initBase( \ 64 boost::const_pointer_cast<ValueType>(pPlanIndexedColl)); \ 66 IPSDK_IMPLEMENT_SERIAL_WRITE(className, ipsdk::imaproc::BasePlanIndexedAttribute) \ 69 IPSDK_IMPLEMENT_SERIAL_READ(className, ipsdk::imaproc::BasePlanIndexedAttribute) \ 76 #endif // __IPSDKIMAGEPROCESSING_PLANINDEXEDATTRIBUTESRCMACROS_H__ Source part of macros set for attribute class implementation.