EleFits  5.0.0
A modern C++ API on top of CFITSIO

◆ 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