- bool CheckDBFFileExisting(const QString& theSHPFilePath, QString& thePathToDBFFile);
- bool DBF_OpenDBF(const QString& thePathToDBFFile);
- int DBF_GetNbFields();
- QStringList DBF_GetFieldList();
- void DBF_GetFieldTypeList(std::vector<DBF_FieldType>& FTVect);
- int DBF_GetNbRecords();
- void DBF_CloseDBF();
- void DBF_GetAttributeList(int theIndexOfField, std::vector<DBF_AttrValue>& theAttrV);
+ HYDRODATA_EXPORT bool CheckDBFFileExisting(const QString& theSHPFilePath, QString& thePathToDBFFile);
+ HYDRODATA_EXPORT bool DBF_OpenDBF(const QString& thePathToDBFFile);
+ HYDRODATA_EXPORT int DBF_GetNbFields();
+ HYDRODATA_EXPORT QStringList DBF_GetFieldList();
+ HYDRODATA_EXPORT void DBF_GetFieldTypeList(std::vector<DBF_FieldType>& FTVect);
+ HYDRODATA_EXPORT int DBF_GetNbRecords();
+ HYDRODATA_EXPORT void DBF_CloseDBF();
+ HYDRODATA_EXPORT void DBF_GetAttributeList(int theIndexOfField, std::vector<DBF_AttrValue>& theAttrV);
+ HYDRODATA_EXPORT bool DBF_WriteFieldAndValues(const QString& theFileName, const QString& theFieldName, DBF_FieldType theType, const std::vector<DBF_AttrValue>& theAttrV, bool bUseStrValue);