- Timestamp:
- Aug 2, 2024, 9:08:58 AM (5 months ago)
- Branches:
- master
- Children:
- 4db0140
- Parents:
- c141c09
- Location:
- libcfa/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/enum.cfa
rc141c09 rb12e4ad 117 117 return os | label( e ); 118 118 } 119 OSTYPE_VOID_IMPL( E )119 OSTYPE_VOID_IMPL( os, E ) 120 120 } -
libcfa/src/gmp.hfa
rc141c09 rb12e4ad 10 10 // Created On : Tue Apr 19 08:43:43 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jul 18 11:04:54 202313 // Update Count : 3 512 // Last Modified On : Fri Aug 2 07:41:25 2024 13 // Update Count : 36 14 14 // 15 15 … … 268 268 return os; 269 269 } // ?|? 270 OSTYPE_VOID_IMPL( Int )270 OSTYPE_VOID_IMPL( os, Int ) 271 271 } // distribution 272 272 } // distribution -
libcfa/src/iostream.cfa
rc141c09 rb12e4ad 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Jul 15 08:16:48202413 // Update Count : 202 012 // Last Modified On : Fri Aug 2 07:38:44 2024 13 // Update Count : 2021 14 14 // 15 15 … … 47 47 return os; 48 48 } // ?|? 49 OSTYPE_VOID_IMPL( bool )49 OSTYPE_VOID_IMPL( os, bool ) 50 50 51 51 ostype & ?|?( ostype & os, char c ) { … … 54 54 return nosep( os ); 55 55 } // ?|? 56 OSTYPE_VOID_IMPL( char )56 OSTYPE_VOID_IMPL( os, char ) 57 57 58 58 ostype & ?|?( ostype & os, signed char sc ) { … … 61 61 return os; 62 62 } // ?|? 63 OSTYPE_VOID_IMPL( signed char )63 OSTYPE_VOID_IMPL( os, signed char ) 64 64 65 65 ostype & ?|?( ostype & os, unsigned char usc ) { … … 68 68 return os; 69 69 } // ?|? 70 OSTYPE_VOID_IMPL( unsigned char )70 OSTYPE_VOID_IMPL( os, unsigned char ) 71 71 72 72 ostype & ?|?( ostype & os, short int si ) { … … 75 75 return os; 76 76 } // ?|? 77 OSTYPE_VOID_IMPL( short int )77 OSTYPE_VOID_IMPL( os, short int ) 78 78 79 79 ostype & ?|?( ostype & os, unsigned short int usi ) { … … 82 82 return os; 83 83 } // ?|? 84 OSTYPE_VOID_IMPL( unsigned short int )84 OSTYPE_VOID_IMPL( os, unsigned short int ) 85 85 86 86 ostype & ?|?( ostype & os, int i ) { … … 89 89 return os; 90 90 } // ?|? 91 OSTYPE_VOID_IMPL( int )91 OSTYPE_VOID_IMPL( os, int ) 92 92 93 93 ostype & ?|?( ostype & os, unsigned int ui ) { … … 96 96 return os; 97 97 } // ?|? 98 OSTYPE_VOID_IMPL( unsigned int )98 OSTYPE_VOID_IMPL( os, unsigned int ) 99 99 100 100 ostype & ?|?( ostype & os, long int li ) { … … 103 103 return os; 104 104 } // ?|? 105 OSTYPE_VOID_IMPL( long int )105 OSTYPE_VOID_IMPL( os, long int ) 106 106 107 107 ostype & ?|?( ostype & os, unsigned long int uli ) { … … 110 110 return os; 111 111 } // ?|? 112 OSTYPE_VOID_IMPL( unsigned long int )112 OSTYPE_VOID_IMPL( os, unsigned long int ) 113 113 114 114 ostype & ?|?( ostype & os, long long int lli ) { … … 117 117 return os; 118 118 } // ?|? 119 OSTYPE_VOID_IMPL( long long int )119 OSTYPE_VOID_IMPL( os, long long int ) 120 120 121 121 ostype & ?|?( ostype & os, unsigned long long int ulli ) { … … 124 124 return os; 125 125 } // ?|? 126 OSTYPE_VOID_IMPL( unsigned long long int )126 OSTYPE_VOID_IMPL( os, unsigned long long int ) 127 127 128 128 #if defined( __SIZEOF_INT128__ ) … … 156 156 return os; 157 157 } // ?|? 158 OSTYPE_VOID_IMPL( int128 )158 OSTYPE_VOID_IMPL( os, int128 ) 159 159 160 160 ostype & ?|?( ostype & os, unsigned int128 ullli ) { … … 163 163 return os; 164 164 } // ?|? 165 OSTYPE_VOID_IMPL( unsigned int128 )165 OSTYPE_VOID_IMPL( os, unsigned int128 ) 166 166 #endif // __SIZEOF_INT128__ 167 167 … … 186 186 return os; 187 187 } // ?|? 188 OSTYPE_VOID_IMPL( float )188 OSTYPE_VOID_IMPL( os, float ) 189 189 190 190 ostype & ?|?( ostype & os, double d ) { … … 193 193 return os; 194 194 } // ?|? 195 OSTYPE_VOID_IMPL( double )195 OSTYPE_VOID_IMPL( os, double ) 196 196 197 197 ostype & ?|?( ostype & os, long double ld ) { … … 200 200 return os; 201 201 } // ?|? 202 OSTYPE_VOID_IMPL( long double )202 OSTYPE_VOID_IMPL( os, long double ) 203 203 204 204 ostype & ?|?( ostype & os, float _Complex fc ) { … … 210 210 return os; 211 211 } // ?|? 212 OSTYPE_VOID_IMPL( float _Complex )212 OSTYPE_VOID_IMPL( os, float _Complex ) 213 213 214 214 ostype & ?|?( ostype & os, double _Complex dc ) { … … 220 220 return os; 221 221 } // ?|? 222 OSTYPE_VOID_IMPL( double _Complex )222 OSTYPE_VOID_IMPL( os, double _Complex ) 223 223 224 224 ostype & ?|?( ostype & os, long double _Complex ldc ) { … … 230 230 return os; 231 231 } // ?|? 232 OSTYPE_VOID_IMPL( long double _Complex )232 OSTYPE_VOID_IMPL( os, long double _Complex ) 233 233 234 234 ostype & ?|?( ostype & os, const char s[] ) { … … 273 273 // return write( os, s, len ); 274 274 } // ?|? 275 OSTYPE_VOID_IMPL( const char * )275 OSTYPE_VOID_IMPL( os, const char * ) 276 276 277 277 // ostype & ?|?( ostype & os, const char16_t s[] ) { … … 300 300 return os; 301 301 } // ?|? 302 OSTYPE_VOID_IMPL( const void * )302 OSTYPE_VOID_IMPL( os, const void * ) 303 303 304 304 // manipulators … … 487 487 return os; \ 488 488 } /* ?|? */ \ 489 OSTYPE_VOID_IMPL( _Ostream_Manip(T) ) \489 OSTYPE_VOID_IMPL( os, _Ostream_Manip(T) ) \ 490 490 } // distribution 491 491 … … 585 585 return os; \ 586 586 } /* ?|? */ \ 587 OSTYPE_VOID_IMPL( _Ostream_Manip(T) ) \587 OSTYPE_VOID_IMPL( os, _Ostream_Manip(T) ) \ 588 588 } // distribution 589 589 … … 683 683 } /* ?|? */ \ 684 684 \ 685 OSTYPE_VOID_IMPL( _Ostream_Manip(T) ) \685 OSTYPE_VOID_IMPL( os, _Ostream_Manip(T) ) \ 686 686 } // distribution 687 687 … … 718 718 return os; 719 719 } // ?|? 720 OSTYPE_VOID_IMPL( _Ostream_Manip(char) )720 OSTYPE_VOID_IMPL( os, _Ostream_Manip(char) ) 721 721 } // distribution 722 722 … … 765 765 return os; 766 766 } // ?|? 767 OSTYPE_VOID_IMPL( _Ostream_Manip(const char *) )767 OSTYPE_VOID_IMPL( os, _Ostream_Manip(const char *) ) 768 768 } // distribution 769 769 -
libcfa/src/iostream.hfa
rc141c09 rb12e4ad 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 12 05:45:48202413 // Update Count : 7 5912 // Last Modified On : Fri Aug 2 07:37:57 2024 13 // Update Count : 760 14 14 // 15 15 … … 75 75 76 76 #define OSTYPE_VOID( T ) void ?|?( ostype &, T ) 77 #define OSTYPE_VOID_IMPL( T ) \77 #define OSTYPE_VOID_IMPL( os, T ) \ 78 78 void ?|?( ostype & os, T t ) { \ 79 79 (ostype &)(os | t); ends( os ); \ -
libcfa/src/rational.cfa
rc141c09 rb12e4ad 10 10 // Created On : Wed Apr 6 17:54:28 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Oct 6 07:52:13 202313 // Update Count : 19 812 // Last Modified On : Fri Aug 2 07:41:25 2024 13 // Update Count : 199 14 14 // 15 15 … … 206 206 return os | r.numerator | '/' | r.denominator; 207 207 } // ?|? 208 OSTYPE_VOID_IMPL( rational(T) )208 OSTYPE_VOID_IMPL( os, rational(T) ) 209 209 } // distribution 210 210 } // distribution -
libcfa/src/time.cfa
rc141c09 rb12e4ad 10 10 // Created On : Tue Mar 27 13:33:14 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jul 18 10:55:01 202313 // Update Count : 7 112 // Last Modified On : Fri Aug 2 07:41:24 2024 13 // Update Count : 72 14 14 // 15 15 … … 43 43 return os; 44 44 } // ?|? 45 OSTYPE_VOID_IMPL( Duration )45 OSTYPE_VOID_IMPL( os, Duration ) 46 46 } // distribution 47 47 … … 152 152 return os; 153 153 } // ?|? 154 OSTYPE_VOID_IMPL( Time )154 OSTYPE_VOID_IMPL( os, Time ) 155 155 } // distribution 156 156 -
libcfa/src/vec/vec2.hfa
rc141c09 rb12e4ad 283 283 return os | '<' | x | ',' | y | '>'; 284 284 } 285 OSTYPE_VOID_IMPL( vec2(T) )285 OSTYPE_VOID_IMPL( os, vec2(T) ) 286 286 } -
libcfa/src/vec/vec3.hfa
rc141c09 rb12e4ad 292 292 return os | '<' | x | ',' | y | ',' | z | '>'; 293 293 } 294 OSTYPE_VOID_IMPL( vec3(T) )294 OSTYPE_VOID_IMPL( os, vec3(T) ) 295 295 } -
libcfa/src/vec/vec4.hfa
rc141c09 rb12e4ad 287 287 return os | '<' | x | ',' | y | ',' | z | ',' | w | '>'; 288 288 } 289 OSTYPE_VOID_IMPL( vec4(T) )289 OSTYPE_VOID_IMPL( os, vec4(T) ) 290 290 } 291 291
Note: See TracChangeset
for help on using the changeset viewer.