These functions are used in order to check that the arguments are valid (such as the sample rank, the locator type, the user-designation rank)
- Parameters
-
icol | Column rank to be checked |
iuid | User-designated rank |
iech | Sample rank to be checked |
idim | Space rank to be checked |
iechs | Vector of sample ranks to be checked |
useSel | When TRUE, the rank corresponds to the active sample |
locatorType | Type of the Locator |
locatorIndex | Rank of the locator (0-based) |
bool Db::isColIdxValid |
( |
int |
icol | ) |
const |
Check if the argument 'icol' is a valid Column rank (0-based)
bool Db::isDimensionIndexValid |
( |
int |
idim | ) |
const |
Check if the argument 'idim' is a valid Space rank (0-based)
bool Db::isLocatorIndexValid |
( |
const ELoc & |
locatorType, |
|
|
int |
locatorIndex |
|
) |
| const |
Check if the arguments 'locatorType' and 'locatorIndex' are valid
bool Db::isSampleIndexValid |
( |
int |
iech | ) |
const |
Check if the argument 'iech' is a valid Sample rank (0-based)
bool Db::isSampleIndicesValid |
( |
const VectorInt & |
iechs, |
|
|
bool |
useSel = false |
|
) |
| const |
Check if the argument 'iechs' are valid Sample ranks (0-based)
bool Db::isUIDValid |
( |
int |
iuid | ) |
const |
Check if the argument 'iuid' is a valid user-designated rank