QDP++
QDP::MapObjDiskEnv Namespace Reference

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 Documentation

◆ file_version_t

typedef unsigned int QDP::MapObjDiskEnv::file_version_t

Definition at line 18 of file qdp_map_obj_disk.h.

Function Documentation

◆ checkForNewFile()

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().

◆ getFileMagic()

std::string QDP::MapObjDiskEnv::getFileMagic ( )

Get the file magic.

Definition at line 20 of file qdp_map_obj_disk.cc.

◆ getMetaData()

std::string QDP::MapObjDiskEnv::getMetaData ( const std::string & filename)