IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseDataItemLeafColl.h
1 // BaseDataItemLeafColl.h:
3 // -----------------------
4 //
14 
15 #ifndef __IPSDKBASEDATA_BASEDATAITEMLEAFCOLL_H__
16 #define __IPSDKBASEDATA_BASEDATAITEMLEAFCOLL_H__
17 
18 #include <IPSDKBaseData/DataItem/BaseDataItem.h>
19 #include <vector>
20 
21 namespace ipsdk {
22 
25 
27 {
28  // declare serial class
30 
31 // predefined public types
32 public:
35  static const bool g_bIsColl = true;
36  static const bool g_bNode = false;
37  static const bool g_bLeaf = true;
38  static const eDataItemType::domain g_itemType = eDataItemType::eDIT_LeafColl;
40 
41 public:
45  virtual ~BaseDataItemLeafColl() = 0;
47 
48 // methods
49 public:
51  eDataItemType getDataItemType() const;
52 
54  virtual eDataItemValueType getDataItemValueType() const = 0;
55 
56 // attributes
57 protected:
58 
59 };
60 
63 
64 inline eDataItemType
66 {
67  return g_itemType;
68 }
69 
72 
73 } // end of namespace ipsdk
74 
75 #endif // __IPSDKBASEDATA_BASEDATAITEMLEAFCOLL_H__
Definition: DataItemTypes.h:51
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
eDataItemType getDataItemType() const
retrieve data item type
Definition: BaseDataItemLeafColl.h:65
#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
#define IPSDKBASEDATA_API
Import/Export macro for library IPSDKUtil.
Definition: IPSDKBaseDataExports.h:27
Base class for data items.
Definition: BaseDataItem.h:27
static const eDataItemType::domain g_itemType
flags indicating item type
Definition: BaseDataItemLeafColl.h:38
Base class for collection of data item leafs.
Definition: BaseDataItemLeafColl.h:26
eDataItemType
Enumerate describing data items type.
Definition: DataItemTypes.h:43