diff --git a/src/sphere/List.h b/src/sphere/List.h index f344328c3a91e823de531f7fde2beca48724bb04..d151b9ac20a625bfa62274bf36328250fca5b86a 100644 --- a/src/sphere/List.h +++ b/src/sphere/List.h @@ -102,6 +102,13 @@ template<class T> class List { return current->value; } + /*! \fn length() + * \brief Get the number of elements in the list. + * + * Get the number of elements currently stored in the list. + * + * \return int: the size of the list. + */ int length() { return size; }