icedb  version 0.5.1
Snow particle scattering database API
Namespaces | Functions | Variables
fs_backend.cpp File Reference
#include "../icedb/fs_backend.hpp"
#include "../icedb/compat/gsl/gsl_assert"
#include "../private/hdf5_load.h"
#include <algorithm>
#include <atomic>
#include <sstream>
#include <string>
#include <iostream>
Include dependency graph for fs_backend.cpp:

Go to the source code of this file.

Namespaces

 icedb
 
 icedb::fs
 
 icedb::fs::impl
 

Functions

sfs::path icedb::fs::impl::resolveSymLinks (const sfs::path &base)
 Finds out where a symbolic link points to. More...
 
CollectedFilesRet_Type icedb::fs::impl::collectDatasetFiles (const sfs::path &base, const ExtensionsMatching_Type &valid_extensions)
 
sfs::path icedb::fs::impl::resolveSymlinkPathandForceExists (const std::string &location)
 Like resolveSymLinks, but throw if the resulting path does not exist. More...
 
CollectedFilesRet_Type icedb::fs::impl::collectActualHDF5files (const sfs::path &pBaseS)
 Like collectDatasetFiles for HDF5 files, but then check that these files are, indeed, HDF5 files. More...
 
std::string icedb::fs::impl::getUniqueVROOTname ()
 Generate a unique string, used in memort-only HDF5 file trees. More...
 

Variables

const ExtensionsMatching_Type icedb::fs::impl::common_hdf5_extensions = { ".hdf5", ".nc", ".h5", ".cdf", ".hdf" }