IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SerializationIItem.h
1 // SerializationIItem.h:
3 // ---------------------
4 //
14 
15 #ifndef __IPSDKSERIALIZATION_SERIALIZATIONIITEM_H__
16 #define __IPSDKSERIALIZATION_SERIALIZATIONIITEM_H__
17 
18 namespace ipsdk {
19 
22 
23 template <typename T>
24 class SerializationIItem
25 {
26 public:
29  SerializationIItem(const std::string& itemName, T& value) :
30  _itemName(itemName),
31  _value(value)
32  {}
33  ~SerializationIItem() {}
35 
36 // attributes
37 public:
39  std::string _itemName;
40 
42  T& _value;
43 };
44 
47 
48 } // end of namespace ipsdk
49 
50 #endif // __IPSDKSERIALIZATION_SERIALIZATIONIITEM_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
T & _value
item reference used for serialization
Definition: SerializationIItem.h:42
std::string _itemName
item name used during serialization
Definition: SerializationIItem.h:39