IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
StringIdentifier.h
1 // StringIdentifier.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKBASEDATA_STRINGIDENTIFIER_H__
16 #define __IPSDKBASEDATA_STRINGIDENTIFIER_H__
17 
18 // suppression warnings
19 // warning C4251: 'ipsdk::StringIdentifier::_value' : class 'std::basic_string<_Elem,_Traits,_Ax>' nécessite une interface DLL pour être utilisé(e) par les clients de class 'ipsdk::StringIdentifier'
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
23 #include <IPSDKBaseData/Identifier/BaseIdentifier.h>
24 
25 namespace ipsdk {
26 
29 
31 {
32  // declare dynamic serializable class
34 
35 public:
39  explicit StringIdentifier(const std::string& value);
42 
43 // methods
44 public:
46  void setValue(const std::string& value);
47 
49  const std::string& getValue() const;
50 
51 // attributes
52 protected:
54  std::string _value;
55 };
56 
59 
60 } // end of namespace ipsdk
61 
62 #pragma warning (pop)
63 
64 #endif // __IPSDKBASEDATA_STRINGIDENTIFIER_H__
std::string _value
value associated to identifier
Definition: StringIdentifier.h:54
#define IPSDK_DECLARE_SERIAL_WITH_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:73
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Data identifier associated to a string value.
Definition: StringIdentifier.h:30
Base class for data identifier.
Definition: BaseIdentifier.h:27
#define IPSDKBASEDATA_API
Import/Export macro for library IPSDKUtil.
Definition: IPSDKBaseDataExports.h:27