Ignore:
Timestamp:
Nov 15, 2013, 3:30:50 PM (11 years ago)
Author:
touze
Message:

systeme periodique (mailles) + multipoles + madx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/controler/include/nomDeLogiciel.h

    r418 r431  
    66using namespace std;
    77
    8 
    9 
    108class nomDeLogiciel
    119{
    1210
    13  public:
    14 
    15 
     11 public :
     12 
    1613  enum Logiciel
    1714  {
    18     parmela, transport, generator, useraction, test, unknownSoftware
     15    parmela, transport, generator, useraction, test, madx, unknownSoftware
    1916  };
    20 
     17 
    2118   
    22  private:
     19 private :
    2320
    2421  Logiciel program_;
    2522  std::string progString_;
    26   //  int value_;
    27  
     23   
    2824  static Logiciel fromString( std::string s);
    2925  static std::string toString( Logiciel lg); 
     
    3127 
    3228 public :
    33   // constructors
    34  
     29 
    3530  nomDeLogiciel(); 
    3631  nomDeLogiciel(const string& s); 
     
    3934 
    4035  inline std::string getString() const {return progString_;}
     36  inline nomDeLogiciel::Logiciel getLogiciel() const {return program_;}
    4137
    42   inline nomDeLogiciel::Logiciel getLogiciel() const { return program_; }
    43 
    44     /** Color of the background of the sofware
    45      Should be a valid Css name as FFEEDD
    46      */
     38  /** Color of the background of the sofware
     39      Should be a valid Css name as FFEEDD
     40  */
    4741  inline std::string  getColor() const {return getWtColor(program_);}
    4842  // operators
    49  
    5043  nomDeLogiciel& operator= (const nomDeLogiciel& nl); 
    5144  bool operator== (const nomDeLogiciel& nl); 
    5245  bool operator!= (const nomDeLogiciel& nl);
    53  
    5446};
    55 
    56 
    57 
    58 
    5947#endif
Note: See TracChangeset for help on using the changeset viewer.