Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/iostream

    r3849857 r4040425  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Apr 10 23:00:12 2016
    13 // Update Count     : 92
     12// Last Modified On : Wed Mar  2 18:05:27 2016
     13// Update Count     : 85
    1414//
    1515
     
    2020
    2121trait ostream( dtype ostype ) {
    22         _Bool sepPrt( ostype * );                                                       // return separator state (on/off)
    23         void sepOn( ostype * );                                                         // turn separator state on
    24         void sepOff( ostype * );                                                        // turn separator state off
    25         void sepReset( ostype * );                                                      // set separator state to default state
    26         void sepReset( ostype *, _Bool );                                       // set separator and default state
    27         void sepSet( ostype *, const char * );                          // set separator to string (15 character maximum)
    28         const char * sepGet( ostype * );                                        // get separator string
    29         _Bool sepDisable( ostype * );                                           // set default state to off, and return previous state
    30         _Bool sepEnable( ostype * );                                            // set default state to on, and return previous state
    31 
     22        _Bool sepPrt( ostype * );
     23        void sepOn( ostype * );
     24        void sepOff( ostype * );
     25        void sepSet( ostype *, const char * );
     26        const char * sepGet( ostype * );
     27        void sepDisable( ostype * );
     28        void sepEnable( ostype * );
    3229        int fail( ostype * );
    3330        int flush( ostype * );
     
    7067forall( dtype ostype | ostream( ostype ) ) ostype * sepOn( ostype * );
    7168forall( dtype ostype | ostream( ostype ) ) ostype * sepOff( ostype * );
    72 forall( dtype ostype | ostream( ostype ) ) ostype * sepDisable( ostype * );
    73 forall( dtype ostype | ostream( ostype ) ) ostype * sepEnable( ostype * );
    7469
    7570// writes the range [begin, end) to the given stream
     
    115110forall( dtype istype | istream( istype ) ) istype * ?|?( istype *, long double _Complex * );
    116111
    117 struct _Istream_cstrUC { char * s; };
    118 _Istream_cstrUC cstr( char * );
    119 forall( dtype istype | istream( istype ) ) istype * ?|?( istype *, _Istream_cstrUC );
     112struct _Istream_str1 { char * s; };
     113_Istream_str1 str( char * );
     114forall( dtype istype | istream( istype ) ) istype * ?|?( istype *, _Istream_str1 );
    120115
    121 struct _Istream_cstrC { char * s; int size; };
    122 _Istream_cstrC cstr( char *, int size );
    123 forall( dtype istype | istream( istype ) ) istype * ?|?( istype *, _Istream_cstrC );
     116struct _Istream_str2 { char * s; int size; };
     117_Istream_str2 str( char *, int size );
     118forall( dtype istype | istream( istype ) ) istype * ?|?( istype *, _Istream_str2 );
    124119
    125120#endif // __IOSTREAM_H__
Note: See TracChangeset for help on using the changeset viewer.