A wrapper around a polymorphic generic_file_t that handles its init. This is essentially a factory for generic_file_t descendants additionally handling special CSV file parameters (header and precision).  
 More...
 | 
| procedure, pass(this)  | init (this, fname, header, precision, layout, overwrite) | 
|   | Constructor.  
  | 
|   | 
| procedure  | write (this, data, t) | 
|   | Writes data to a file.  
  | 
|   | 
| procedure  | read (this, data) | 
|   | Read data from a file.  
  | 
|   | 
| procedure  | get_fname (this) | 
|   | Get a file's name.  
  | 
|   | 
| procedure  | get_base_fname (this) | 
|   | Get a file's base name.  
  | 
|   | 
| procedure  | get_counter (this) | 
|   | Get a file's counter.  
  | 
|   | 
| procedure  | set_counter (this, n) | 
|   | Set a file's counter.  
  | 
|   | 
| procedure  | set_start_counter (this, n) | 
|   | Set a file's start counter.  
  | 
|   | 
| procedure  | set_header (this, hd) | 
|   | Set a file's header.  
  | 
|   | 
| procedure  | set_precision (this, precision) | 
|   | Set a file's output precision.  
  | 
|   | 
| procedure  | set_layout (this, layout) | 
|   | Set a file's output layout.  
  | 
|   | 
| procedure, pass(this)  | set_overwrite (this, overwrite) | 
|   | Sets the file's overwrite flag.  
  | 
|   | 
| procedure, pass(this)  | free (this) | 
|   | File operation destructor.  
  | 
|   | 
Definition at line 55 of file file.f90.
 
◆ free()
◆ get_base_fname()
◆ get_counter()
◆ get_fname()
◆ init()
      
        
          | procedure, pass(this) file::file_t::init  | 
          ( | 
          class(file_t), intent(inout)  | 
          this,  | 
        
        
           | 
           | 
          character(len=*), intent(in)  | 
          fname,  | 
        
        
           | 
           | 
          character(len=*), intent(in), optional  | 
          header,  | 
        
        
           | 
           | 
          integer, intent(in), optional  | 
          precision,  | 
        
        
           | 
           | 
          integer, intent(in), optional  | 
          layout,  | 
        
        
           | 
           | 
          logical, intent(in), optional  | 
          overwrite  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
  
 
Definition at line 59 of file file.f90.
 
 
◆ read()
- Parameters
 - 
  
  
 
Definition at line 63 of file file.f90.
 
 
◆ set_counter()
◆ set_header()
◆ set_layout()
- Parameters
 - 
  
    | layout | The data layout as defined in bp_file.f90 and src/io/buffer/.  | 
  
   
Definition at line 79 of file file.f90.
 
 
◆ set_overwrite()
◆ set_precision()
- Parameters
 - 
  
  
 
Definition at line 77 of file file.f90.
 
 
◆ set_start_counter()
◆ write()
- Parameters
 - 
  
  
 
Definition at line 61 of file file.f90.
 
 
◆ file_type
The documentation for this type was generated from the following file:
- /home/runner/work/neko/neko/src/io/file.f90