![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Collection of serializable objects indexed by plan. More...
#include <BasePlanIndexedColl.h>
Public Types | |
| typedef std::map< PlanIndex, SerializationObjectPtr > | PlanIndexedColl |
| collection of plan indexed serializable object shared pointers | |
| typedef std::map< PlanIndex, SerializationObjectConstPtr > | PlanIndexedConstColl |
| collection of plan indexed serializable object shared pointers | |
Public Member Functions | |
| virtual const std::string & | getElementsClassName () const =0 |
| retrieve class name associated to concrete elements into collection | |
| virtual bool | haveSkeleton () const =0 |
| const PlanIndexedConstColl & | getBaseColl () const |
| retrieve base object collection | |
| ipUInt64 | getNbPlans () const |
| retrieve number of plan indexes | |
| bool | isComplete () const |
| check whether collection is complete for maximum size along each direction | |
| bool | isComplete (const ipUInt64 sizeZ, const ipUInt64 sizeC, const ipUInt64 sizeT) const |
| check whether collection is complete given a number of plans | |
| const PlanIndex & | getPlanIndex (const ipUInt64 planOffset) const |
| retrieve plan index associated to a given plan offset More... | |
| void | clear () |
| clear object data | |
Constructors and destructors | |
| BasePlanIndexedColl () | |
| virtual | ~BasePlanIndexedColl ()=0 |
| ipUInt64 | getMaxSizeZ () const |
| retrieve maximum size of collection along each directions | |
| ipUInt64 | getMaxSizeC () const |
| retrieve maximum size of collection along each directions | |
| ipUInt64 | getMaxSizeT () const |
| retrieve maximum size of collection along each directions | |
| bool | exists (const PlanIndex &planIndex) const |
| check whether an element is available for a given plan index | |
| bool | exists (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx) const |
| check whether an element is available for a given plan index | |
Public Member Functions inherited from ipsdk::BaseObjectWithSkeleton | |
| const eSklSrzMode & | getSerializationMode () const |
| retrieve serialization flag for object More... | |
| void | setSerializationMode (const eSklSrzMode &sklSrzMode) const |
| set serialization flag for object | |
| BaseObjectWithSkeleton () | |
| ~BaseObjectWithSkeleton () | |
Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| BaseSerializationObject () | |
| Default constructor. | |
| virtual | ~BaseSerializationObject ()=0 |
| destructor | |
Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual const std::string & | getClassName () const |
| method allowing to retrieve object class name | |
| virtual BaseDynamicObject * | createNew () const =0 |
| method allowing to create new instance of current object type | |
| virtual DynamicObjectPtr | createShared () const =0 |
| method allowing to create new shared instance of current object type | |
| virtual bool | hasCopySupport () const =0 |
| check whether objet has copy support | |
| virtual BaseDynamicObject * | duplicate () const =0 |
| method allowing to duplicate current object More... | |
| virtual DynamicObjectPtr | duplicateShared () const =0 |
| method allowing shared duplication of current object More... | |
| BaseDynamicObject () | |
| virtual | ~BaseDynamicObject ()=0 |
Protected Member Functions | |
| void | insert (const PlanIndex &planIndex, const SerializationObjectPtr &pObject) |
| insert a new element for a given plan index More... | |
| void | assign (const BaseSerializationObject &object, const ipUInt64 sizeZ, const ipUInt64 sizeC, const ipUInt64 sizeT) |
| assign a given value to all data of collection More... | |
| SerializationObjectConstPtr | getStorage (const PlanIndex &planIndex) const |
| retrieve an element associated to a given plan index More... | |
| const SerializationObjectPtr & | getStorage (const PlanIndex &planIndex) |
| retrieve an element associated to a given plan index More... | |
Protected Member Functions inherited from ipsdk::BaseSerializationObject | |
| virtual BoolResult | write (BaseOArchive &ar) const |
| method allowing to ensure serialization write part for object | |
| virtual BoolResult | read (BaseIArchive &ar) |
| method allowing to ensure serialization read part for object | |
Protected Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual void | initCtorCopy (const BaseDynamicObject &object) |
| virtual void | copy (const BaseDynamicObject &object) |
| method allowing to copy data from another object | |
Protected Attributes | |
| PlanIndexedColl | _planIndexedColl |
| collection of plan indexed elements associated to attribute | |
Protected Attributes inherited from ipsdk::BaseObjectWithSkeleton | |
| eSklSrzMode | _sklSrzMode |
| serialization flag for object More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| static ipUInt32 | getVersion () |
| method allowing to retrieve class version information for serialization | |
Static Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| static const std::string & | getTypeName () |
| method allowing to retrieve name associated to class | |
Collection of serializable objects indexed by plan.
|
pure virtual |
method allowing to check whether type of collection elements is associated to a skeleton
Implemented in ipsdk::PlanIndexedColl< T >, and ipsdk::PlanIndexedColl< dataType >.
retrieve plan index associated to a given plan offset
| ipsdk::IPSDKBaseDataException | if planOffset >= getNbPlans() |
|
protected |
insert a new element for a given plan index
| ipsdk::IPSDKBaseDataException | if pObject.get() == 0 |
| ipsdk::IPSDKBaseDataException | if exists(planIndex) == true |
|
protected |
assign a given value to all data of collection
| ipsdk::eIPSDKUtilErrors | if object.hasCopySupport() == false |
|
protected |
retrieve an element associated to a given plan index
| ipsdk::IPSDKBaseDataException | if exists(planIndex) == false |
|
protected |
retrieve an element associated to a given plan index
| ipsdk::IPSDKBaseDataException | if exists(planIndex) == false |
1.8.14