Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/fstream.hfa

    r00e9be9 rba0d2ea  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Apr 28 20:37:57 2021
    13 // Update Count     : 230
     12// Last Modified On : Wed Jul 28 07:35:50 2021
     13// Update Count     : 234
    1414//
    1515
     
    148148
    149149
    150 EHM_EXCEPTION(Open_Failure)(
    151         union {
    152                 ofstream * ostream;
    153                 ifstream * istream;
    154         };
    155         // TEMPORARY: need polymorphic exceptions
    156         int tag;                                                                                        // 1 => ostream; 0 => istream
    157 );
     150exception Open_Failure {
     151        union {
     152                ofstream * ostream;
     153                ifstream * istream;
     154        };
     155        // TEMPORARY: need polymorphic exceptions
     156        int tag;                                                                                        // 1 => ostream; 0 => istream
     157};
    158158
    159159void ?{}( Open_Failure & this, ofstream & );
    160160void ?{}( Open_Failure & this, ifstream & );
     161
     162exception Close_Failure {
     163        union {
     164                ofstream * ostream;
     165                ifstream * istream;
     166        };
     167        // TEMPORARY: need polymorphic exceptions
     168        int tag;                                                                                        // 1 => ostream; 0 => istream
     169};
     170
     171void ?{}( Close_Failure & this, ofstream & );
     172void ?{}( Close_Failure & this, ifstream & );
     173
     174exception Write_Failure {
     175        union {
     176                ofstream * ostream;
     177                ifstream * istream;
     178        };
     179        // TEMPORARY: need polymorphic exceptions
     180        int tag;                                                                                        // 1 => ostream; 0 => istream
     181};
     182
     183void ?{}( Write_Failure & this, ofstream & );
     184void ?{}( Write_Failure & this, ifstream & );
     185
     186exception Read_Failure {
     187        union {
     188                ofstream * ostream;
     189                ifstream * istream;
     190        };
     191        // TEMPORARY: need polymorphic exceptions
     192        int tag;                                                                                        // 1 => ostream; 0 => istream
     193};
     194
     195void ?{}( Read_Failure & this, ofstream & );
     196void ?{}( Read_Failure & this, ifstream & );
    161197
    162198// Local Variables: //
Note: See TracChangeset for help on using the changeset viewer.