EleFits  5.3.1
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches

◆ filterCategories()

static std::vector< std::string > filterCategories ( const std::vector< std::string > &  keywords,
KeywordCategory  categories 
)
static

Keep only keywords of given categories.

Parameters
keywordsThe keyword vector to be filtered
categoriesThe categories to be kept, e.g. KeywordCategory::Reserved | KeywordCategory::User.
See also
KeywordCategory