IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
OutputShapeMeasureSetAttribute.h
1 // OutputShapeMeasureSetAttribute.h:
3 // ---------------------------------
4 //
14 
15 #ifndef __IPSDKIMAGEPROCESSING_OUTPUTSHAPEMEASURESETATTRIBUTE_H__
16 #define __IPSDKIMAGEPROCESSING_OUTPUTSHAPEMEASURESETATTRIBUTE_H__
17 
18 // suppression warnings
19 // warning C4251: 'ipsdk::imaproc::OutputShapeMeasureSetAttribute::_pMeasureSet' : class 'boost::shared_ptr<T>' needs to have dll-interface to be used by clients of class 'ipsdk::imaproc::OutputShapeMeasureSetAttribute'
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
23 #include <IPSDKImageProcessing/Attribute/ShapeMeasureSet/BaseShapeMeasureSetAttribute.h>
24 
25 namespace ipsdk {
26 namespace imaproc {
27 
30 
32 {
33  // declare serial class
35 
36  // declare output data
38 
39 // predefined public types
40 public:
43 
46 
47 protected:
50 
51 public:
53  virtual ~OutputShapeMeasureSetAttribute() = 0;
54 
55 // methods
56 public:
58  void init(const StorageType& pMeasureSet);
59 
64  const ValueType& getMeasureSet() const;
65  ValueType& getMeasureSet();
67 
72  ConstStorageType getStorage() const;
73  StorageType getStorage();
75 
77  void clearDerived();
78 
79 // attributes
80 protected:
83 };
84 
87 
88 } // end of namespace imaproc
89 } // end of namespace ipsdk
90 
91 #pragma warning (pop)
92 
93 #endif // __IPSDKIMAGEPROCESSING_OUTPUTSHAPEMEASURESETATTRIBUTE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Base class for output shape measure set attributes.
Definition: OutputShapeMeasureSetAttribute.h:31
Base class for shape measure set attributes.
Definition: BaseShapeMeasureSetAttribute.h:27
ipsdk::shape::analysis::MeasureSetConstPtr ConstStorageType
const storage type for attribute familly
Definition: OutputShapeMeasureSetAttribute.h:45
#define IPSDK_DECLARE_ABSTRACT_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on abstract class
Definition: SerializationHdrMacro.h:97
#define IPSDK_DECLARE_OUTPUT_DATA()
macro allowing to declare an output data
Definition: DataStatusHdrMacros.h:113
Object allowing to agregate a collection of measure.
Definition: MeasureSet.h:38
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
StorageType _pMeasureSet
shape measure set collection associated to attribute
Definition: OutputShapeMeasureSetAttribute.h:82
ipsdk::shape::analysis::MeasureSetPtr StorageType
storage type for attribute familly
Definition: OutputShapeMeasureSetAttribute.h:42
boost::shared_ptr< const MeasureSet > MeasureSetConstPtr
shared pointer to const shape measure set
Definition: MeasureTypes.h:100
boost::shared_ptr< MeasureSet > MeasureSetPtr
shared pointer to shape measure set
Definition: MeasureTypes.h:97