Ignore:
Timestamp:
Feb 7, 2014, 2:00:55 PM (10 years ago)
Author:
lemeur
Message:

lecture fichier sauvegarde AML

File:
1 edited

Legend:

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

    r424 r488  
    4141  }
    4242 
     43/* inline  bool readAMLParameterAttribut(UAPNode* parametersNode, string parameterName, string attributName, double& resultat) { */
     44/*   if ( !parametersNode ) return false; */
     45/*   UAPNode* parametre = parametersNode->getChildByName(parameterName); */
     46/*   if ( !parametre ) return false; */
     47/*   UAPAttribute* att =  parametre->getAttribute(attributName); */
     48/*   if ( att ) { */
     49/*     att->getDouble( resultat); */
     50/*     return true; */
     51/*   } else return false; */
     52/* } */
     53
     54/* inline  bool readAMLParameterAttribut(UAPNode* parametersNode, string parameterName, string attributName, int& resultat) { */
     55/*   if ( !parametersNode ) return false; */
     56/*   UAPNode* parametre = parametersNode->getChildByName(parameterName); */
     57/*   if ( !parametre ) return false; */
     58/*   UAPAttribute* att =  parametre->getAttribute(attributName); */
     59/*   if ( att ) { */
     60/*     att->getInt( resultat); */
     61/*     return true; */
     62/*   } else return false; */
     63/* } */
     64
    4365 public:
    4466 
     
    5678  string* getParametersString() const;
    5779  void setParametersString(string* param);
    58   string FileOutputFlow() const;
    59   void FileInput(ifstream& ifs);
     80  // string FileOutputFlow() const;
     81  //  void FileInput(ifstream& ifs);
     82  void FileAMLInput( UAPNode* entree);
    6083
    6184  void InputRep(UAPNode* root);
Note: See TracChangeset for help on using the changeset viewer.