icedb
version 0.5.1
Snow particle scattering database API
|
#include <Database.hpp>
Public Types | |
typedef std::unique_ptr< Database > | Database_ptr |
Public Member Functions | |
virtual | ~Database () |
virtual Groups::Group::Group_ptr | openGroup (const std::string &path)=0 |
virtual Groups::Group::Group_ptr | createGroup (const std::string &path)=0 |
virtual Groups::Group::Group_ptr | createGroupStructure (const std::string &groupName)=0 |
virtual Groups::Group::Group_ptr | createGroupStructure (const std::vector< std::string > &groupNames)=0 |
Static Public Member Functions | |
static Database_ptr | createSampleDatabase (const std::string &location) |
static Database_ptr | createSingleFileDatabase (const std::string &location) |
static Database_ptr | openDatabase (const std::string &location, fs::IOopenFlags flags=fs::IOopenFlags::READ_ONLY) |
static Database_ptr | openVirtualDatabase (size_t memSizeInBytes) |
static void | indexDatabase (const std::string &location) |
Protected Member Functions | |
Database () | |
Definition at line 16 of file Database.hpp.
typedef std::unique_ptr<Database> icedb::Databases::Database::Database_ptr |
Definition at line 20 of file Database.hpp.
|
protected |
Definition at line 66 of file databases.cpp.
|
virtual |
Definition at line 64 of file databases.cpp.
|
pure virtual |
Implemented in icedb::Databases::Database_impl.
|
pure virtual |
Implemented in icedb::Databases::Database_impl.
|
pure virtual |
Implemented in icedb::Databases::Database_impl.
|
static |
Definition at line 68 of file databases.cpp.
References icedb::fs::hdf5::getHDF5IOflags(), icedb::Databases::Database_impl::makeDatabaseFileStandard(), openDatabase(), icedb::fs::READ_WRITE, and icedb::fs::TRUNCATE.
Referenced by main().
|
static |
Definition at line 95 of file databases.cpp.
References icedb::fs::hdf5::getHDF5IOflags(), icedb::Databases::Database_impl::makeDatabaseFileStandard(), openDatabase(), icedb::fs::READ_WRITE, and icedb::fs::TRUNCATE.
Referenced by openDatabase().
|
static |
Definition at line 161 of file databases.cpp.
References icedb::fs::impl::collectActualHDF5files(), icedb::fs::hdf5::createGroupStructure(), icedb::fs::hdf5::explodeHDF5groupPath(), icedb::Databases::Database_impl::makeDatabaseFileStandard(), and icedb::fs::impl::resolveSymlinkPathandForceExists().
Referenced by main().
|
static |
Definition at line 118 of file databases.cpp.
References icedb::fs::impl::collectActualHDF5files(), icedb::fs::CREATE, icedb::fs::hdf5::createGroupStructure(), createSingleFileDatabase(), icedb::fs::hdf5::getHDF5IOflags(), icedb::fs::impl::resolveSymLinks(), and icedb::fs::TRUNCATE.
Referenced by createSampleDatabase(), createSingleFileDatabase(), and main().
|
pure virtual |
Implemented in icedb::Databases::Database_impl.
|
static |
Definition at line 107 of file databases.cpp.