When closing a view, it is now automatically checked that all OBI_QUAL

columns correspond to their associated OBI_SEQ column
This commit is contained in:
Celine Mercier
2016-11-25 12:04:57 +01:00
parent 70e056a2aa
commit f897e87600
2 changed files with 125 additions and 101 deletions

View File

@ -464,7 +464,7 @@ int obi_save_view(Obiview_p view);
/**
* @brief Closes an opened view.
*
* @warning Use obi_save_and_close_view() to automatically save the view if it's not already saved in the view file.
* @warning Uses obi_save_and_close_view() to automatically save the view if it's not already saved in the view file.
*
* @param view A pointer on the view.
*
@ -481,6 +481,9 @@ int obi_close_view(Obiview_p view);
/**
* @brief Closes an opened view, and saves it if it is not read-only (meaning it is not already saved in the view file).
*
* The predicates associated with the view are checked before saving it, and -1 is returned if at
* least one predicate is not respected.
*
* @param view A pointer on the view.
*
* @returns A value indicating the success of the operation.