-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIStringFeature.h
49 lines (44 loc) · 1.48 KB
/
IStringFeature.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//------------------------------------------------------------------------
/**
\file IStringFeature.h
\brief Definition of the IStringFeature interface
\Date 2016-8-09
\Version 1.1.1608.9091
*/
//------------------------------------------------------------------------
#pragma once
#include "GXStringCPP.h"
#include "GXIAPIBase.h"
#include "GXSmartPtr.h"
class GXIAPICPP_API IStringFeature
{
public:
//---------------------------------------------------------
/**
\brief Destructor
*/
//---------------------------------------------------------
virtual ~IStringFeature(){};
//---------------------------------------------------------
/**
\brief Get a feature value
*/
//---------------------------------------------------------
virtual GxIAPICPP::gxstring GetValue() = 0;
//---------------------------------------------------------
/**
\brief Set a feature value
\param strValue[in] The value to be set
\return void
*/
//---------------------------------------------------------
virtual void SetValue(const GxIAPICPP::gxstring& strValue) = 0;
//---------------------------------------------------------
/**
\brief Retrieves the maximum length of the string in bytes
*/
//---------------------------------------------------------
virtual int64_t GetStringMaxLength() = 0;
};
template class GXIAPICPP_API GXSmartPtr<IStringFeature>;
typedef GXSmartPtr<IStringFeature> CStringFeaturePointer;