4 * Auteur : Ivan DUTKA-MALEN - EDF R&D
5 * Date : Septembre 2003
10 #ifndef _STRINGTYPE_H_
11 #define _STRINGTYPE_H_
15 #include "Batch_GenericType.hxx"
19 class StringType : public GenericType
23 StringType(const string & s="") : _data(s) {}
25 // Conversion en chaine
26 virtual string affiche() const;
27 virtual operator string() const;
29 // Operateur d'affectation
30 virtual StringType & operator =(string);
32 // Clone duplique l'objet et en fabrique un nouveau a l'aide de new
33 // qu'il faudra detruire ensuite manuellement
34 virtual GenericType * clone() const;