Accessible input stream.  
 More...
#include <JAccessibleStream.hh>
 | 
| static void  | Throw (const bool option) | 
|   | Enable/disable throw option.  More...
  | 
|   | 
| static int  | Throw (const JException_t &error, const int value=-1) | 
|   | Throw exception or return error.  More...
  | 
|   | 
Accessible input stream. 
This class is a simple wrapper around the std::ifstream class. It implements the JAccessible interface. 
Definition at line 25 of file JAccessibleStream.hh.
 
◆ JAccessibleInputStream() [1/2]
  
  
      
        
          | JLANG::JAccessibleInputStream::JAccessibleInputStream  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JAccessibleInputStream() [2/2]
  
  
      
        
          | JLANG::JAccessibleInputStream::JAccessibleInputStream  | 
          ( | 
          const char *  | 
          file_name | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ is_open()
  
  
      
        
          | virtual bool JLANG::JAccessibleInputStream::is_open  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ open()
  
  
      
        
          | virtual void JLANG::JAccessibleInputStream::open  | 
          ( | 
          const char *  | 
          file_name | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ close()
  
  
      
        
          | virtual void JLANG::JAccessibleInputStream::close  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ Throw() [1/2]
Enable/disable throw option. 
- Parameters
 - 
  
    | option | true enable; false disable  | 
  
   
Definition at line 37 of file JThrow.hh.
static bool do_throw
throw option
 
 
 
 
◆ Throw() [2/2]
Throw exception or return error. 
- Parameters
 - 
  
    | error | exception  | 
    | value | return code  | 
  
   
- Returns
 - return code 
 
Definition at line 51 of file JThrow.hh.
   59       cerr << error.what() << endl;
 
 
 
 
◆ do_throw
throw option 
Set default throw option to true. 
Definition at line 28 of file JThrow.hh.
 
 
The documentation for this class was generated from the following file: