9 |
|
#define ZCONSPARADATA_ID "ZCONSPARA" |
10 |
|
#define ZCONSFILENAME_ID "ZCONSFILENAME" |
11 |
|
#define ZCONSTOL_ID "ZCONSTOL" |
12 |
+ |
#define ZCONSFORCEPOLICY_ID "ZCONSFORCEPOLICY" |
13 |
|
|
14 |
|
using namespace std; |
15 |
|
|
51 |
|
string data; |
52 |
|
}; |
53 |
|
|
54 |
< |
struct ZConsParaItem |
54 |
< |
{ |
54 |
> |
struct ZConsParaItem { |
55 |
|
int zconsIndex; |
56 |
|
bool havingZPos; |
57 |
|
double zPos; |
66 |
|
vector<ZConsParaItem>* getData() {return &data;} |
67 |
|
void setData(vector<ZConsParaItem>& theData) {data = theData;} |
68 |
|
void sortByIndex(); |
69 |
+ |
bool isIndexUnique(); |
70 |
|
|
71 |
|
private: |
72 |
|
vector<ZConsParaItem> data; |