Changeset 181 in PSPA for Interface_Web/trunk/pspaWT/include
- Timestamp:
- Dec 13, 2012, 9:29:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/include/nomdElements.h
r179 r181 4 4 using namespace std; 5 5 6 enum typedElement { RFgun, drift, cell, bend, soleno, beam, inconnu};6 enum typedElement {beam, RFgun, drift, cell, bend, soleno, inconnu}; 7 7 8 8 … … 17 17 18 18 static typedElement fromImage(std::string s); 19 static typedElement fromLabel(std::string s); 19 20 static std::string toName(typedElement eType); 20 21 static std::string toImage(typedElement eType); … … 34 35 static string getImageFromType( typedElement tp); 35 36 static std::string getLabelFromType(typedElement tp); 37 static typedElement getTypeFromLabel(std::string lb); 36 38 37 39 typedElement getElementType() const;
Note: See TracChangeset
for help on using the changeset viewer.