Ignore:
Timestamp:
Aug 18, 2023, 12:12:22 PM (12 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
5ad2c6c7
Parents:
18ebc28
Message:

change setter routines in basic_i/ostream to return previous state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.hfa

    r18ebc28 rd0cfcbe1  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Aug 14 17:35:40 2023
    13 // Update Count     : 508
     12// Last Modified On : Fri Aug 18 10:44:50 2023
     13// Update Count     : 512
    1414//
    1515
     
    3131        const char * sepGetCur$( ostype & );                            // get current separator string
    3232        void sepSetCur$( ostype &, const char [] );                     // set current separator string
    33         bool getNL$( ostype & );                                                        // check newline
    34         void setNL$( ostype &, bool );                                          // saw newline
     33        bool getNL$( ostype & );                                                        // get newline
     34        bool setNL$( ostype &, bool );                                          // set newline
    3535        bool getANL$( ostype & );                                                       // get auto newline (on/off)
     36        bool setANL$( ostype &, bool );                                         // set auto newline (on/off), and return previous state
    3637        bool getPrt$( ostype & );                                                       // get fmt called in output cascade
    37         void setPrt$( ostype &, bool );                                         // set fmt called in output cascade
     38        bool setPrt$( ostype &, bool );                                         // set fmt called in output cascade
    3839        // public
    3940        void nlOn( ostype & );                                                          // turn auto-newline state on
     
    319320        // private
    320321        bool getANL$( istype & );                                                       // get scan newline (on/off)
     322        bool setANL$( istype &, bool );                                         // set scan newline (on/off)
    321323        // public
    322324        void nlOn( istype & );                                                          // read newline
Note: See TracChangeset for help on using the changeset viewer.