@@ -210,18 +210,16 @@ class UTF8String
210210{
211211 public :
212212
213+ #ifndef SWIG
213214 friend UTF8String& operator << (UTF8String& u8str, Charset::CHARSET);
214215 friend UTF8String& operator << (UTF8String& u8str, const Charset&);
215216 friend UTF8String& operator << (UTF8String& u8str, setw width);
216- friend UTF8String& operator << (
217- UTF8String& u8str, setprecision prec);
218- friend UTF8String& operator << (
219- UTF8String& u8str, IN_STD ios_base::fmtflags);
220- friend UTF8String operator + (
221- const UTF8String& us, const IN_STD string& str);
217+ friend UTF8String& operator << (UTF8String& u8str, setprecision prec);
218+ friend UTF8String& operator << (UTF8String& u8str, IN_STD ios_base::fmtflags);
219+ friend UTF8String operator + (const UTF8String& us, const IN_STD string& str);
222220 friend UTF8String operator + (const UTF8String& us, const char * str);
223221 friend UTF8String operator + (const UTF8String& us1, const UTF8String& us2);
224-
222+ # endif // SWIG
225223
226224 /* *
227225 * <P>
@@ -795,6 +793,7 @@ class ConsoleOutput // v 4.2.0
795793 const TkUtil::Charset& getCharset ( ) const
796794 { return _charset; }
797795
796+ #ifndef SWIG
798797 ConsoleOutput& operator << (const TkUtil::UTF8String&);
799798 ConsoleOutput& operator << (unsigned long );
800799 ConsoleOutput& operator << (double );
@@ -807,6 +806,7 @@ class ConsoleOutput // v 4.2.0
807806 friend ConsoleOutput& co_endl (ConsoleOutput&);
808807 ConsoleOutput& operator << (ConsoleOutput& (*pf)(ConsoleOutput&))
809808 { return pf (*this ); } // Pour endl et autres manipulateurs.
809+ #endif // SWIG
810810
811811 /* *
812812 * @return Une référence sur la sortie standard.
@@ -836,10 +836,11 @@ class ConsoleOutput // v 4.2.0
836836 TkUtil::Charset _charset;
837837}; // class ConsoleOutput
838838
839+ #ifndef SWIG
839840ConsoleOutput& operator << (ConsoleOutput&, std::_Setprecision);
840841ConsoleOutput& operator << (ConsoleOutput&, std::_Setw);
841842ConsoleOutput& co_endl (ConsoleOutput&);
842-
843+ # endif // SWIG
843844
844845
845846// END_NAMESPACE_UTIL
0 commit comments