Added comments about listing columns and indexers in obidms functions
This commit is contained in:
@ -561,7 +561,7 @@ Obi_indexer_p obi_dms_get_indexer_from_list(OBIDMS_p dms, const char* indexer_na
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void obi_dms_list_indexer(OBIDMS_p dms, Obi_indexer_p indexer)
|
void obi_dms_list_indexer(OBIDMS_p dms, Obi_indexer_p indexer) // TODO add check if indexer already in list?
|
||||||
{
|
{
|
||||||
*(((dms->opened_indexers)->indexers)+((dms->opened_indexers)->nb_opened_indexers)) = indexer;
|
*(((dms->opened_indexers)->indexers)+((dms->opened_indexers)->nb_opened_indexers)) = indexer;
|
||||||
((dms->opened_indexers)->nb_opened_indexers)++;
|
((dms->opened_indexers)->nb_opened_indexers)++;
|
||||||
|
@ -230,6 +230,8 @@ OBIDMS_column_p obi_dms_get_column_from_list(OBIDMS_p dms, const char* column_na
|
|||||||
/**
|
/**
|
||||||
* @brief Adds a column identified by its name and its version number in the list of opened columns.
|
* @brief Adds a column identified by its name and its version number in the list of opened columns.
|
||||||
*
|
*
|
||||||
|
* @warning obi_dms_get_column_from_list() should be used first to check if the column isn't already listed.
|
||||||
|
*
|
||||||
* @param dms The OBIDMS.
|
* @param dms The OBIDMS.
|
||||||
* @param column A pointer on the column that should be added in the list of opened columns.
|
* @param column A pointer on the column that should be added in the list of opened columns.
|
||||||
*
|
*
|
||||||
@ -269,6 +271,8 @@ Obi_indexer_p obi_dms_get_indexer_from_list(OBIDMS_p dms, const char* indexer_na
|
|||||||
/**
|
/**
|
||||||
* @brief Adds an indexer identified by its name in the list of opened indexers.
|
* @brief Adds an indexer identified by its name in the list of opened indexers.
|
||||||
*
|
*
|
||||||
|
* @warning obi_dms_get_indexer_from_list() should be used first to check if the indexer isn't already listed.
|
||||||
|
*
|
||||||
* @param dms The OBIDMS.
|
* @param dms The OBIDMS.
|
||||||
* @param indexer A pointer on the indexer that should be added in the list of opened indexers.
|
* @param indexer A pointer on the indexer that should be added in the list of opened indexers.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user