CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlignableObjectId.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_AlignableObjectId_h
2 #define Alignment_CommonAlignment_AlignableObjectId_h
3 
5 #include <string>
6 
8 // Obsolete. Use the two free functions below.
10 {
11 
12 public:
16 
19  static const char *idToString(align::StructureType type);
20  static align::StructureType stringToId(const char *);
21  static align::StructureType stringToId(const std::string &s) { return stringToId(s.c_str()); };
22 };
23 
24 
25 #endif
type
Definition: HCALResponse.h:21
std::string typeToName(align::StructureType type) const
Convert type to name.
static align::StructureType stringToId(const char *)
static align::StructureType stringToId(const std::string &s)
Allows conversion between type and name, and vice-versa.
align::StructureType nameToType(const std::string &name) const
Convert name to type.
static const char * idToString(align::StructureType type)