Changes in libcfa/src/fstream.hfa [9d362a0:58b6d1b]
- File:
-
- 1 edited
-
libcfa/src/fstream.hfa (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/fstream.hfa
r9d362a0 r58b6d1b 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Dec 24 18:33:41201813 // Update Count : 1 4912 // Last Modified On : Tue Jun 5 10:20:25 2018 13 // Update Count : 131 14 14 // 15 15 … … 21 21 struct ofstream { 22 22 void * file; 23 bool sepDefault; 24 bool sepOnOff; 25 bool nlOnOff; 26 bool prt; // print text 27 bool sawNL; 23 _Bool sepDefault; 24 _Bool sepOnOff; 25 _Bool sawNL; 28 26 const char * sepCur; 29 27 char separator[sepSize]; … … 32 30 33 31 // private 34 bool sepPrt( ofstream & );32 _Bool sepPrt( ofstream & ); 35 33 void sepReset( ofstream & ); 36 void sepReset( ofstream &, bool );34 void sepReset( ofstream &, _Bool ); 37 35 const char * sepGetCur( ofstream & ); 38 36 void sepSetCur( ofstream &, const char * ); 39 bool getNL( ofstream & ); 40 void setNL( ofstream &, bool ); 41 bool getANL( ofstream & ); 42 bool getPrt( ofstream & ); 43 void setPrt( ofstream &, bool ); 37 _Bool getNL( ofstream & ); 38 void setNL( ofstream &, _Bool ); 44 39 45 40 // public 46 41 void sepOn( ofstream & ); 47 42 void sepOff( ofstream & ); 48 bool sepDisable( ofstream & ); 49 bool sepEnable( ofstream & ); 50 void nlOn( ofstream & ); 51 void nlOff( ofstream & ); 43 _Bool sepDisable( ofstream & ); 44 _Bool sepEnable( ofstream & ); 52 45 53 46 const char * sepGet( ofstream & ); … … 62 55 void close( ofstream & ); 63 56 ofstream & write( ofstream &, const char * data, size_t size ); 64 int fmt( ofstream &, const char f ormat[], ... );57 int fmt( ofstream &, const char fmt[], ... ); 65 58 66 59 void ?{}( ofstream & os ); … … 83 76 ifstream & read( ifstream & is, char * data, size_t size ); 84 77 ifstream & ungetc( ifstream & is, char c ); 85 int fmt( ifstream &, const char f ormat[], ... );78 int fmt( ifstream &, const char fmt[], ... ); 86 79 87 80 void ?{}( ifstream & is );
Note:
See TracChangeset
for help on using the changeset viewer.