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