Ignore:
Timestamp:
Jan 28, 2014, 11:56:15 AM (10 years ago)
Author:
lemeur
Message:

liste des logiciels compatibles dans les tooltip des elements

File:
1 edited

Legend:

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

    r442 r485  
    22#define NOMDELOGICIEL_SEEN
    33
     4#include "trivaluedBool.h"
     5#include "nomdElements.h"
     6
    47#include <string>
    5 
     8#include <vector>
     9#include <iostream>
    610using namespace std;
    711
     
    2125  Logiciel program_;
    2226  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
    2338   
    2439  static Logiciel fromString( std::string s);
     
    2641  std::string getWtColor( nomDeLogiciel::Logiciel lg) const;
    2742 
     43  void registerElement(nomdElements::typedElement nomdel,trivaluedBool b);
     44  void setCompatiblesElements();
     45
     46  nomDeLogiciel(); 
     47
    2848 public :
    2949 
    30   nomDeLogiciel(); 
    3150  nomDeLogiciel(const string& s); 
    3251  nomDeLogiciel(int val);
     
    3554  inline std::string getString() const {return progString_;}
    3655  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
    3766
    3867  /** Color of the background of the sofware
Note: See TracChangeset for help on using the changeset viewer.