test
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, TypeSet& missingTypes);
24 void checkClassDictionaries(TypeID const& type, TypeSet& missingTypes, bool recursive = true);
25 bool checkTypeDictionary(TypeID const& type, TypeSet& missingTypes);
26 void checkTypeDictionaries(TypeID const& type, TypeSet& missingTypes, bool recursive = true);
28 void loadMissingDictionaries(TypeSet missingTypes);
29 
31  std::vector<TypeWithDict>& baseTypes);
32 } // namespace edm
33 
34 #endif // FWCore_Utilities_DictionaryTools_h
type
Definition: HCALResponse.h:21
bool checkTypeDictionary(TypeID const &type, TypeSet &missingTypes)
void public_base_classes(TypeWithDict const &type, std::vector< TypeWithDict > &baseTypes)
std::set< TypeID > TypeSet
bool checkClassDictionary(TypeID const &type, TypeSet &missingTypes)
void throwMissingDictionariesException(TypeSet const &)
void checkClassDictionaries(TypeID const &type, TypeSet &missingTypes, bool recursive=true)
void loadMissingDictionaries(TypeSet missingTypes)
void checkTypeDictionaries(TypeID const &type, TypeSet &missingTypes, bool recursive=true)