Changeset 485 in PSPA for Interface_Web/trunk/pspaWT/sources/controler/include/nomDeLogiciel.h
- Timestamp:
- Jan 28, 2014, 11:56:15 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/controler/include/nomDeLogiciel.h
r442 r485 2 2 #define NOMDELOGICIEL_SEEN 3 3 4 #include "trivaluedBool.h" 5 #include "nomdElements.h" 6 4 7 #include <string> 5 8 #include <vector> 9 #include <iostream> 6 10 using namespace std; 7 11 … … 21 25 Logiciel program_; 22 26 std::string progString_; 27 28 /** 29 Accepted elements list for this software 30 */ 31 std::vector <nomdElements::typedElement> acceptedElements_; 32 33 /** 34 Ignore software list for this element 35 */ 36 std::vector <nomdElements::typedElement> ignoredElements_; 37 23 38 24 39 static Logiciel fromString( std::string s); … … 26 41 std::string getWtColor( nomDeLogiciel::Logiciel lg) const; 27 42 43 void registerElement(nomdElements::typedElement nomdel,trivaluedBool b); 44 void setCompatiblesElements(); 45 46 nomDeLogiciel(); 47 28 48 public : 29 49 30 nomDeLogiciel();31 50 nomDeLogiciel(const string& s); 32 51 nomDeLogiciel(int val); … … 35 54 inline std::string getString() const {return progString_;} 36 55 inline nomDeLogiciel::Logiciel getLogiciel() const {return program_;} 56 57 58 inline const std::vector<nomdElements::typedElement>& acceptedElements() const { return acceptedElements_; 59 } 60 61 inline const std::vector<nomdElements::typedElement>& ignoredElements() const { return ignoredElements_; 62 } 63 64 trivaluedBool doAcceptElement(nomdElements::typedElement typdel); 65 37 66 38 67 /** Color of the background of the sofware
Note: See TracChangeset
for help on using the changeset viewer.