Changeset d0cfcbe1 for libcfa/src/strstream.cfa
- Timestamp:
- Aug 18, 2023, 12:12:22 PM (12 months ago)
- Branches:
- master
- Children:
- 5ad2c6c7
- Parents:
- 18ebc28
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/strstream.cfa
r18ebc28 rd0cfcbe1 10 10 // Created On : Thu Apr 22 22:24:35 2021 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jun 29 10:59:00202313 // Update Count : 1 0512 // Last Modified On : Fri Aug 18 10:42:49 2023 13 // Update Count : 112 14 14 // 15 15 … … 33 33 // private 34 34 inline bool getNL$( ostrstream & os ) { return os.sawNL$; } 35 inline void setNL$( ostrstream & os, bool state ) { os.sawNL$ = state; }35 inline bool setNL$( ostrstream & os, bool state ) { bool temp = os.sawNL$; os.sawNL$ = state; return temp; } 36 36 inline bool getANL$( ostrstream & os ) { return os.nlOnOff$; } 37 inline bool setANL$( ostrstream & os, bool state ) { bool temp = os.nlOnOff$; os.nlOnOff$ = state; return temp; } 37 38 inline bool sepPrt$( ostrstream & os ) { setNL$( os, false ); return os.sepOnOff$; } 38 39 inline void sepReset$( ostrstream & os ) { os.sepOnOff$ = os.sepDefault$; } … … 41 42 inline void sepSetCur$( ostrstream & os, const char sepCur[] ) { os.sepCur$ = sepCur; } 42 43 inline bool getPrt$( ostrstream & os ) { return os.prt$; } 43 inline void setPrt$( ostrstream & os, bool state ) { os.prt$ = state; }44 inline bool setPrt$( ostrstream & os, bool state ) { bool temp = os.prt$; os.prt$ = state; return temp; } 44 45 45 46 // public … … 132 133 // private 133 134 bool getANL$( istrstream & is ) { return is.nlOnOff$; } 135 bool setANL$( istrstream & is, bool state ) { bool temp = is.nlOnOff$; is.nlOnOff$ = state; return temp; } 134 136 135 137 // public
Note: See TracChangeset
for help on using the changeset viewer.