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