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