CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DictionaryTools.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_DictionaryTools_h
2 #define FWCore_Utilities_DictionaryTools_h
3 
4 /*----------------------------------------------------------------------
5 
6 DictionaryTools provides a small number of dictionary based tools, used in
7 the CMS event model.
8 
9 ----------------------------------------------------------------------*/
10 
11 #include <set>
12 #include <string>
13 #include <vector>
14 
16 
17 namespace edm {
18 
19 class TypeID;
20 class TypeWithDict;
21 using TypeSet = std::set<TypeID>;
22 
23 bool checkClassDictionary(TypeID const& type);
24 void checkClassDictionaries(TypeID const& type, bool recursive = true);
25 bool checkTypeDictionary(TypeID const& type);
26 void checkTypeDictionaries(TypeID const& type, bool recursive = true);
30 
32  std::vector<TypeWithDict>& baseTypes);
33 
35 
36 } // namespace edm
37 
38 #endif // FWCore_Utilities_DictionaryTools_h
type
Definition: HCALResponse.h:21
bool checkTypeDictionary(TypeID const &type)
void checkTypeDictionaries(TypeID const &type, bool recursive=true)
void checkClassDictionaries(TypeID const &type, bool recursive=true)
std::string const & dictionaryPlugInPrefix()
void public_base_classes(TypeWithDict const &type, std::vector< TypeWithDict > &baseTypes)
std::set< TypeID > TypeSet
void throwMissingDictionariesException()
void loadMissingDictionaries()
TypeSet & missingTypes()
bool checkClassDictionary(TypeID const &type)