Views: finished handling and documenting the conditions for an existing

column to be added to a view
This commit is contained in:
Celine Mercier
2017-08-03 16:32:22 +02:00
parent 644b55b49f
commit a3e81930c2
2 changed files with 29 additions and 13 deletions

View File

@ -340,6 +340,14 @@ Obiview_p obi_open_view(OBIDMS_p dms, const char* view_name);
/**
* @brief Adds a column to a view.
*
* - If there is a line selection:
* - The column's lines_used attribute must be at least the view's line count
* - If there is no line selection:
* - If it's the first column in the view:
* - The view's line count is set to the column's lines_used attribute
* - If it's not the first column in the view:
* - The column's lines_used attribute must be equal to the view's line count
*
* @warning The view must be writable.
*
* @param view A pointer on the view.