All Classes Namespaces Functions Typedefs Enumerations Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
H5::File Class Reference
Inheritance diagram for H5::File:
H5::GroupBase H5::Object H5::Container< Object, GroupBase > H5::Element H5::Container< Attribute, Object > fmatvec::Atom

Classes

struct  IPC
 

Public Types

enum  FileAccess { read, write }
 
- Public Types inherited from fmatvec::Atom
enum  MsgType
 

Public Member Functions

 File (const boost::filesystem::path &filename, FileAccess type_)
 
void reopenAsSWMR ()
 
void refresh ()
 
void flush ()
 
void requestWriterFlush ()
 
bool waitForWriterFlush ()
 
void flushIfRequested ()
 
void refreshAfterWriterFlush ()
 
- Public Member Functions inherited from H5::GroupBase
template<class T >
Container< Object, GroupBase >
::Creator< T > 
createChildObject (const std::string &path)
 
template<class T >
T * openChildObject (const std::string &path)
 
ObjectopenChildObject (const std::string &name_, ElementType *objectType=NULL, hid_t *type=NULL)
 
std::set< std::string > getChildObjectNames ()
 
bool hasChildObject (const std::string &name_)
 
bool isExternalLink (const std::string &name_)
 
std::pair
< boost::filesystem::path,
std::string > 
getExternalLink (const std::string &name_)
 
void createExternalLink (const std::string &name_, const std::pair< boost::filesystem::path, std::string > &target)
 
void createSoftLink (const std::string &name_, const std::string &target)
 
- Public Member Functions inherited from H5::Object
template<class T >
Creator< T > createChildAttribute (const std::string &path)
 
template<class T >
T * openChildAttribute (const std::string &path)
 
AttributeopenChildAttribute (const std::string &name_, ElementType *objectType=NULL, hid_t *type=NULL)
 
std::set< std::string > getChildAttributeNames ()
 
bool hasChildAttribute (const std::string &name_)
 
GroupBasegetParent ()
 
FilegetFile ()
 
std::string getPath ()
 
- Public Member Functions inherited from H5::Element
hid_t getID ()
 Note: use the returned hid_t only temporarily since its value may change, at least when File::reopenAsSWMR is called.
 
std::string getName ()
 
- Public Member Functions inherited from fmatvec::Atom
Atomoperator= (const Atom &)
 
void setMessageStreamActive (MsgType type, bool active)
 
void getMessageStream (MsgType type, boost::shared_ptr< bool > &a, boost::shared_ptr< std::ostream > &s)
 
void adoptMessageStreams (const Atom *src=NULL)
 
std::ostream & msg (MsgType type)
 
bool msgAct (MsgType type)
 

Static Public Member Functions

static void reopenAllFilesAsSWMR ()
 
static int getDefaultCompression ()
 
static void setDefaultCompression (int comp)
 
static int getDefaultChunkSize ()
 
static void setDefaultChunkSize (int chunk)
 
static void flushAllFiles ()
 
static void flushAllFilesIfRequested ()
 
static void refreshAllFiles ()
 
static void refreshFilesAfterWriterFlush (const std::set< H5::File * > &files)
 
static void refreshAllFilesAfterWriterFlush ()
 
- Static Public Member Functions inherited from fmatvec::Atom
static void setCurrentMessageStream (MsgType type, const boost::shared_ptr< bool > &a=boost::make_shared< bool >(true), const boost::shared_ptr< std::ostream > &s=boost::make_shared< std::ostream >(std::cout.rdbuf()))
 
static std::ostream & msgStatic (MsgType type)
 
static bool msgActStatic (MsgType type)
 

Protected Member Functions

void close ()
 
void open ()
 
void addFileToNotifyOnRefresh (const boost::filesystem::path &filename)
 
- Protected Member Functions inherited from H5::GroupBase
 GroupBase (int dummy, GroupBase *parent_, const std::string &name_)
 
 GroupBase (GroupBase *parent_, const std::string &name_)
 
void close ()
 
void open ()
 
void refresh ()
 
void flush ()
 
DatasetopenChildDataset (const std::string &name_, ElementType *objectType, hid_t *type)
 
void handleExternalLink (const std::string &name_)
 
GroupBasegetFileAsGroup ()
 
- Protected Member Functions inherited from H5::Object
 Object (GroupBase *parent_, const std::string &name_)
 
void close ()
 
void open ()
 
void refresh ()
 
void flush ()
 
ObjectgetFileAsObject ()
 
ObjectgetAttrParent (const std::string &path, size_t pos)
 
- Protected Member Functions inherited from H5::Element
 Element (const std::string &name_)
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 
- Protected Member Functions inherited from H5::Container< Attribute, Object >
void close ()
 
void open ()
 
void refresh ()
 
void flush ()
 
Creator< T > createChild (const std::string &name_)
 
T * openChild (const std::string &name_)
 
- Protected Member Functions inherited from H5::Container< Object, GroupBase >
void close ()
 
void open ()
 
void refresh ()
 
void flush ()
 
Creator< T > createChild (const std::string &name_)
 
T * openChild (const std::string &name_)
 

Protected Attributes

FileAccess type
 
bool isSWMR
 
std::string interprocessName
 
IPC ipc
 
std::vector< IPCipcAdd
 
- Protected Attributes inherited from H5::Object
GroupBaseparent
 
Filefile
 
- Protected Attributes inherited from H5::Element
ScopedHID id
 
std::string name
 
- Protected Attributes inherited from H5::Container< Attribute, Object >
std::map< std::string,
Attribute * > 
childs
 
- Protected Attributes inherited from H5::Container< Object, GroupBase >
std::map< std::string, Object * > childs
 

Static Protected Attributes

static int defaultCompression =1
 
static int defaultChunkSize =100
 
static std::set< File * > writerFiles
 
static std::set< File * > readerFiles
 

Friends

class Dataset
 
class GroupBase
 

The documentation for this class was generated from the following files:

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Valid HTML