ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/optimisation/src/mgopt_parametre.h
Revision: 239
Committed: Sat Mar 13 00:19:11 2010 UTC (15 years, 2 months ago) by francois
Content type: text/plain
Original Path: magic/lib/optimisation/optimisation/src/mgopt_parametre.h
File size: 854 byte(s)
Log Message:
Optimisation de topologie integre generique. Version SIMP implemente.
optimisation de code apparu.

File Contents

# User Rev Content
1 francois 239 #ifndef opt_parametreH
2     #define opt_parametreH
3    
4     #ifdef WINDOWS_VERSION
5     #ifdef BUILT_DLL_OPTIMISATION
6     #define DLLPORTOPTIMISATION __declspec(dllexport)
7     #else
8     #define DLLPORTOPTIMISATION __declspec(dllimport)
9     #endif
10     #else
11     #define DLLPORTOPTIMISATION
12     #endif
13    
14     #include <vector>
15     #include <string>
16     #include "tpl_octree.h"
17    
18     class DLLPORTOPTIMISATION MGOPT_PARAMETRE
19     {
20     public:
21     MGOPT_PARAMETRE();
22     MGOPT_PARAMETRE(MGOPT_PARAMETRE &mdd);
23     ~MGOPT_PARAMETRE();
24    
25    
26     void ajouter(std::string chaine,double valeur);
27     void ajouter(std::string chaine,std::string valeurstring);
28     double get_valeur(std::string chaine);
29     std::string get_nom(std::string chaine);
30     void enregistrer(char *nom);
31     void lire(char *nom);
32     void vide(void);
33    
34     private:
35     std::vector<std::string> nom_param;
36     std::vector<std::string> valeur_param;
37    
38    
39     };
40    
41    
42    
43    
44    
45    
46    
47     #endif