10 class STRING : public string
19 operator const char * () const {
20 return const_cast <const char *> (this->c_str()) ;
28 STRING() :string() , _s()
32 template <class T> STRING( const T &valeur ) : string() , _s()
36 this->string::operator =( _s.str()); // freeze is true by now
39 template <class T> STRING &operator<<( const T &valeur )
43 this->string::operator = ( _s.str()) ; // freeze is true by now
48 // Exemple d'utilisation avec les exceptions SALOME
50 // msgErr << "ESSAI::ESSAI() : This Object cannot be instanciated by now ! Try "<< 11 << "times just to see what happens ";
51 // throw SALOME_EXCEPTION (LOCALIZED(msgErr)) ;