Changeset 6c5d92f for libcfa/src/fstream.hfa
- Timestamp:
- Apr 20, 2021, 9:32:28 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 6f6b844
- Parents:
- 59f3f61
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/fstream.hfa
r59f3f61 r6c5d92f 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Mar 1 22:45:08202113 // Update Count : 21 712 // Last Modified On : Tue Apr 20 19:04:12 2021 13 // Update Count : 218 14 14 // 15 15 … … 26 26 enum { sepSize = 16 }; 27 27 struct ofstream { 28 void * $file;29 bool $sepDefault;30 bool $sepOnOff;31 bool $nlOnOff;32 bool $prt; // print text33 bool $sawNL;34 const char * $sepCur;35 char $separator[sepSize];36 char $tupleSeparator[sepSize];37 multiple_acquisition_lock $lock;38 bool $acquired;28 void * file$; 29 bool sepDefault$; 30 bool sepOnOff$; 31 bool nlOnOff$; 32 bool prt$; // print text 33 bool sawNL$; 34 const char * sepCur$; 35 char separator$[sepSize]; 36 char tupleSeparator$[sepSize]; 37 multiple_acquisition_lock lock$; 38 bool acquired$; 39 39 }; // ofstream 40 40 41 41 // private 42 bool $sepPrt( ofstream & );43 void $sepReset( ofstream & );44 void $sepReset( ofstream &, bool );45 const char * $sepGetCur( ofstream & );46 void $sepSetCur( ofstream &, const char [] );47 bool $getNL( ofstream & );48 void $setNL( ofstream &, bool );49 bool $getANL( ofstream & );50 bool $getPrt( ofstream & );51 void $setPrt( ofstream &, bool );42 bool sepPrt$( ofstream & ); 43 void sepReset$( ofstream & ); 44 void sepReset$( ofstream &, bool ); 45 const char * sepGetCur$( ofstream & ); 46 void sepSetCur$( ofstream &, const char [] ); 47 bool getNL$( ofstream & ); 48 void setNL$( ofstream &, bool ); 49 bool getANL$( ofstream & ); 50 bool getPrt$( ofstream & ); 51 void setPrt$( ofstream &, bool ); 52 52 53 53 // public … … 94 94 95 95 struct ifstream { 96 void * $file;97 bool $nlOnOff;98 multiple_acquisition_lock $lock;99 bool $acquired;96 void * file$; 97 bool nlOnOff$; 98 multiple_acquisition_lock lock$; 99 bool acquired$; 100 100 }; // ifstream 101 101
Note: See TracChangeset
for help on using the changeset viewer.