IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseDataItemLeaf.h
1 // BaseDataItemLeaf.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKBASEDATA_BASEDATAITEMLEAF_H__
16 #define __IPSDKBASEDATA_BASEDATAITEMLEAF_H__
17 
18 #include <IPSDKBaseData/DataItem/BaseDataItem.h>
19 
20 namespace ipsdk {
21 
24 
26 {
27  // declare serial class
29 
30 // predefined public types
31 public:
34  static const bool g_bIsColl = false;
35  static const bool g_bNode = false;
36  static const bool g_bLeaf = true;
37  static const eDataItemType::domain g_itemType = eDataItemType::eDIT_Leaf;
39 
40 public:
44  virtual ~BaseDataItemLeaf() = 0;
46 
47 // methods
48 public:
50  eDataItemType getDataItemType() const;
51 
53  virtual eDataItemValueType getDataItemValueType() const = 0;
54 
55 // attributes
56 protected:
57 
58 };
59 
62 
63 inline eDataItemType
65 {
66  return g_itemType;
67 }
68 
71 
72 } // end of namespace ipsdk
73 
74 #endif // __IPSDKBASEDATA_BASEDATAITEMLEAF_H__
eDataItemType getDataItemType() const
retrieve data item type
Definition: BaseDataItemLeaf.h:64
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDK_DECLARE_ABSTRACT_SERIAL_WITH_COPY(libraryName, className)
macro enabling serialization on abstract class
Definition: SerializationHdrMacro.h:91
eDataItemValueType
Enumerate describing data items value type.
Definition: DataItemTypes.h:70
Definition: DataItemTypes.h:45
Base class for data item leafs.
Definition: BaseDataItemLeaf.h:25
static const eDataItemType::domain g_itemType
flags indicating item type
Definition: BaseDataItemLeaf.h:37
#define IPSDKBASEDATA_API
Import/Export macro for library IPSDKUtil.
Definition: IPSDKBaseDataExports.h:27
Base class for data items.
Definition: BaseDataItem.h:27
eDataItemType
Enumerate describing data items type.
Definition: DataItemTypes.h:43