buds  0.1
FORTRAN reference counted types
Data Types | Functions/Subroutines | Variables
bud_file Module Reference

Data Types

interface  assignment(=)
 Assignment of bud to another bud. More...
 
interface  backspace
 Backspace the file. More...
 
interface  close
 Close file via object. More...
 
interface  delete
 Deletes the bud by decreasing references to the underlying data. More...
 
interface  exists
 Query whether file exists. More...
 
type  file
 File bud. More...
 
interface  file_delete
 Delete file on disk. More...
 
interface  filename
 Query filename of the file bud. More...
 
interface  get_stat
 Status of the latest action with iostat. More...
 
interface  get_unit
 Unit of opened file bud. More...
 
interface  initialize
 Initialization of data container. More...
 
interface  initialized
 See interface is_initialized More...
 
interface  is_direct
 Query file opened in DIRECT mode. More...
 
interface  is_formatted
 Query file opened in FORMATTED mode. More...
 
interface  is_initd
 See interface is_initialized More...
 
interface  is_initialized
 Query whether bud is associated with any data. More...
 
interface  is_open
 Query whether file is open. More...
 
interface  is_same
 Check whether two buds point to the same data (function) More...
 
interface  is_sequential
 Query file opened in SEQUENTIAL mode. More...
 
interface  is_unformatted
 Query file opened in UNFORMATTED mode. More...
 
interface  new
 Create a new file bud. More...
 
interface  new_file
 See interface new More...
 
interface  nullify
 Nullifies the current bud. More...
 
interface  open
 Open file via object. More...
 
interface  print
 Print, to std-out, some basic information of the data-container. More...
 
interface  references
 Query number of references to the bud. More...
 
interface  refs
 See interface #references More...
 
interface  rewind
 Rewind file to the beginning of the file. More...
 
interface  same
 See interface #is_same More...
 
interface  unit
 See interface #get_unit More...
 
interface  unopened_unit
 Retrieve new unused unit (global function) More...
 

Functions/Subroutines

subroutine initialize_ (this)
 
pure logical function is_initialized_ (this)
 
elemental logical function is_same_ (lhs, rhs)
 
subroutine delete_ (this)
 
elemental subroutine nullify_ (this)
 
subroutine assign_ (lhs, rhs)
 
elemental integer function references_ (this)
 
subroutine new_ (this, filename)
 
integer function unopened_unit_ ()
 
pure character(len=len_trim(this%d%file)) function filename_ (this)
 
integer function get_unit_ (this)
 
logical function is_open_ (this)
 
logical function exists_ (this)
 
logical function is_direct_ (this)
 
logical function is_sequential_ (this)
 
logical function is_formatted_ (this)
 
logical function is_unformatted_ (this)
 
integer function get_stat_ (this)
 
subroutine open_ (this, D, form, access, action, status)
 
subroutine close_ (this)
 
subroutine rewind_ (this)
 
subroutine backspace_ (this, n)
 
subroutine file_delete_ (this)
 
subroutine print_ (this, info, indent)
 

Variables

integer, parameter, private bud_id_len = 36
 Size of ID parameter for bud data-containers. More...
 
character(len=*), parameter, private bud_mod = "bud_" // "bud_File"
 Name of module. More...
 
character(len=*), parameter, private bud_type = "File"
 Name of bud in this module. More...
 
integer, parameter file_name_len = 256
 Maximum path length for the filenames. More...