IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseMeasureFormulaAttribute.h
1 // BaseMeasureFormulaAttribute.h:
3 // ------------------------------
4 //
14 
15 #ifndef __IPSDKIMAGEPROCESSING_BASEMEASUREFORMULAATTRIBUTE_H__
16 #define __IPSDKIMAGEPROCESSING_BASEMEASUREFORMULAATTRIBUTE_H__
17 
18 #include <IPSDKImageProcessing/Attribute/Formula/BaseFormulaAttribute.h>
19 
20 namespace ipsdk {
21 namespace imaproc {
22 
25 
27 {
28  // declare serial class
30 
31 // predefined public types
32 public:
34  static const eFormulaAttributeType::domain g_formulaAttributeType = eFormulaAttributeType::eFAT_Measure;
35 
37  typedef std::string StorageType;
38 
39 protected:
42 
43 public:
45  virtual ~BaseMeasureFormulaAttribute() = 0;
46 
47 // methods
48 public:
50  eFormulaAttributeType getFormulaAttributeType() const;
51 
53  void init(const std::string& formulaStr);
54 
58  StorageType getStorage() const;
59 
60 // attributes
61 protected:
62 
63 };
64 
67 
70 {
72 }
73 
76 
77 } // end of namespace imaproc
78 } // end of namespace ipsdk
79 
80 #endif // __IPSDKIMAGEPROCESSING_BASEMEASUREFORMULAATTRIBUTE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
static const eFormulaAttributeType::domain g_formulaAttributeType
image processing attribute type
Definition: BaseMeasureFormulaAttribute.h:34
#define IPSDK_DECLARE_ABSTRACT_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on abstract class
Definition: SerializationHdrMacro.h:97
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
Formula attribute is associated to a measure operation.
Definition: FormulaAttributeTypes.h:36
eFormulaAttributeType getFormulaAttributeType() const
retrieve formula attribute type
Definition: BaseMeasureFormulaAttribute.h:69
Base class for measure formula attributes.
Definition: BaseMeasureFormulaAttribute.h:26
eFormulaAttributeType
Enumerate describing formula attribute type.
Definition: FormulaAttributeTypes.h:34
std::string StorageType
storage type for attribute familly
Definition: BaseMeasureFormulaAttribute.h:37
Base class for formula attributes.
Definition: BaseFormulaAttribute.h:32