Changes in libcfa/src/fstream.hfa [c8371b5:7e7a076]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/fstream.hfa
rc8371b5 r7e7a076 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Oct 10 09:37:32202113 // Update Count : 2 4312 // Last Modified On : Wed Jul 28 07:35:50 2021 13 // Update Count : 234 14 14 // 15 15 … … 36 36 char tupleSeparator$[ofstream_sepSize]; 37 37 multiple_acquisition_lock lock$; 38 bool acquired$; 38 39 }; // ofstream 39 40 … … 52 53 void setPrt$( ofstream &, bool ); 53 54 54 void lock( ofstream & );55 void unlock( ofstream & );56 57 55 // public 58 56 void sepOn( ofstream & ); … … 77 75 void open( ofstream &, const char name[] ); 78 76 void close( ofstream & ); 79 80 77 ofstream & write( ofstream &, const char data[], size_t size ); 78 79 void acquire( ofstream & ); 80 void release( ofstream & ); 81 82 void lock( ofstream & ); 83 void unlock( ofstream & ); 84 85 struct osacquire { 86 ofstream & os; 87 }; 88 void ?{}( osacquire & acq, ofstream & ); 89 void ^?{}( osacquire & acq ); 81 90 82 91 void ?{}( ofstream & ); … … 101 110 bool nlOnOff$; 102 111 multiple_acquisition_lock lock$; 112 bool acquired$; 103 113 }; // ifstream 104 114 105 115 // Satisfies istream 106 107 // private108 bool getANL$( ifstream & );109 110 void lock( ifstream & );111 void unlock( ifstream & );112 116 113 117 // public 114 118 void nlOn( ifstream & ); 115 119 void nlOff( ifstream & ); 120 bool getANL( ifstream & ); 116 121 void ends( ifstream & ); 117 122 int fmt( ifstream &, const char format[], ... ) __attribute__(( format(scanf, 2, 3) )); … … 123 128 void open( ifstream & is, const char name[] ); 124 129 void close( ifstream & is ); 125 126 130 ifstream & read( ifstream & is, char data[], size_t size ); 127 131 ifstream & ungetc( ifstream & is, char c ); 132 133 void acquire( ifstream & is ); 134 void release( ifstream & is ); 135 136 struct isacquire { 137 ifstream & is; 138 }; 139 void ?{}( isacquire & acq, ifstream & is ); 140 void ^?{}( isacquire & acq ); 128 141 129 142 void ?{}( ifstream & is );
Note:
See TracChangeset
for help on using the changeset viewer.