|
QDP++
|
Typedefs | |
| typedef unsigned int | file_version_t |
Functions | |
| std::string | getFileMagic () |
| Get the file magic. | |
| std::string | getMetaData (const std::string &filename) |
| Get the meta-data from a file. | |
| bool | checkForNewFile (const std::string &filename, std::ios_base::openmode mode) |
| Check if this will be a new file. | |
| typedef unsigned int QDP::MapObjDiskEnv::file_version_t |
Definition at line 18 of file qdp_map_obj_disk.h.
| bool QDP::MapObjDiskEnv::checkForNewFile | ( | const std::string & | file, |
| std::ios_base::openmode | mode ) |
Check if this will be a new file.
Definition at line 49 of file qdp_map_obj_disk.cc.
References QDP::QDPInternal::broadcast(), and QDP::Layout::primaryNode().
Referenced by QDP::MapObjectDisk< K, V >::fileExists(), and QDP::MapObjectDisk< K, V >::open().
| std::string QDP::MapObjDiskEnv::getFileMagic | ( | ) |
Get the file magic.
Definition at line 20 of file qdp_map_obj_disk.cc.
| std::string QDP::MapObjDiskEnv::getMetaData | ( | const std::string & | filename | ) |
Get the meta-data from a file.
Definition at line 23 of file qdp_map_obj_disk.cc.
References QDP::QDPIO::cerr, QDP::BinaryFileReader::close(), QDP::BinaryFileReader::open(), QDP::QDP_abort(), QDP::read(), QDP::BinaryReader::readDesc(), and QDP::readDesc().