Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/Fred/String/StrLinux.inl

Go to the documentation of this file.
00001 #ifndef __J2K__JString_Linux_INL__
00002 #define __J2K__JString_Linux_INL__
00003 
00004 #include <j2k/Fred/String/String.hpp>
00005 
00006 // Extra stuff for compatibility with the widely used Linux String class
00007 
00008 // Not C function due to function overloading
00009 // gcc doesn't like it. =[
00010 
00011 inline void cat( const JString& S1, const JString& S2, const JString& S3, JString& Dest )
00012 {
00013   JString temp;
00014   Dest = temp.Add( S1, S2, S3 );
00015 }
00016 
00017 inline void cat( const JString& S1, const JString& S2, const JString& S3, \
00018                  const JString& S4, JString& Dest )
00019 {
00020   JString temp;
00021   Dest = temp.Add( S1, S2, S3, S4 );
00022 }
00023 
00024 inline void cat( const JString& S1, const JString& S2, const JString& S3, \
00025                  const JString& S4, const JString& S5, JString& Dest )
00026 {
00027   JString temp;
00028   Dest = temp.Add( S1, S2, S3, S4, S5 );
00029 }
00030 
00031 inline void cat( const JString& S1, const JString& S2, const JString& S3, \
00032                  const JString& S4, const JString& S5, const JString& S6, JString& Dest )
00033 {
00034   JString temp;
00035   Dest = temp.Add( S1, S2, S3, S4, S5, S6 );
00036 } 
00037 
00038 inline void cat( const JString& S1, const JString& S2, const JString& S3, \
00039                  const JString& S4, const JString& S5, const JString& S6, \
00040                  const JString& S7, JString& Dest )
00041 {
00042   JString temp;
00043   Dest = temp.Add( S1, S2, S3, S4, S5, S6, S7 );
00044 }
00045 
00046 inline void cat( const JString& S1, const JString& S2, const JString& S3, \
00047                  const JString& S4, const JString& S5, const JString& S6, \
00048                  const JString& S7, const JString& S8, JString& Dest )
00049 {
00050   JString temp;
00051   Dest = temp.Add( S1, S2, S3, S4, S5, S6, S7, S8 );
00052 }
00053 
00054 #endif

Generated on Sun Oct 14 18:46:32 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001