EleFits  4.0.0
A modern C++ API on top of CFitsIO

◆ filterCategories()

static std::vector<std::string> Euclid::Fits::KeywordCategory::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