|
NEP 4.3.0
NetCDF Expansion Pack
|
Per-file state owned by the nxCDF dispatch layer. More...
#include <nxcdf_internal.h>
Data Fields | |
| hid_t | hdfid |
| hid_t | rootid |
| char * | path |
| int | mode |
| int | no_write |
| int | define_mode |
| int | swmr_requested |
| int | swmr_active |
| int | swmr_read |
| int | netcdf4_model |
| int | backend_marked |
| int | created_by_us |
| char * | ncproperties |
Per-file state owned by the nxCDF dispatch layer.
Hung off netcdf-c's NC_FILE_INFO_T::format_file_info by NXCDF_add_file(); holds the open HDF5 handles and the mode flags the dispatch entries consult. See nxCDF Architecture.
| int NXCDF_FILE_INFO::backend_marked |
Nonzero when the nxCDF backend marker is present.
| int NXCDF_FILE_INFO::created_by_us |
Nonzero when this session created the file; only such files get a fresh _NCProperties stamp — an opened file keeps whatever provenance it already carried.
| int NXCDF_FILE_INFO::define_mode |
Nonzero while the file is in define mode.
| hid_t NXCDF_FILE_INFO::hdfid |
Open HDF5 file identifier, or a negative value.
| int NXCDF_FILE_INFO::mode |
Effective NetCDF create/open mode.
| char* NXCDF_FILE_INFO::ncproperties |
Owned _NCProperties value: built at create, read from the file at open, or NULL when the file has none.
| int NXCDF_FILE_INFO::netcdf4_model |
Nonzero for NC_NETCDF4_MODEL compatibility mode.
| int NXCDF_FILE_INFO::no_write |
Nonzero when the HDF5 file is read-only.
| char* NXCDF_FILE_INFO::path |
Owned copy of the file-system path.
| hid_t NXCDF_FILE_INFO::rootid |
Open HDF5 root-group identifier, or a negative value.
| int NXCDF_FILE_INFO::swmr_active |
HDF5 SWMR writing successfully started this session.
| int NXCDF_FILE_INFO::swmr_read |
Read-only session opened with H5F_ACC_SWMR_READ (NC_SWMR_READ); gates nc_swmr_refresh(). Mutually exclusive with swmr_requested/swmr_active.
| int NXCDF_FILE_INFO::swmr_requested |
Session requests activation after schema commitment.