RMF
HDF5/infrastructure_macros.h File Reference

Various general useful macros for IMP. More...

#include <sstream>
#include <iostream>
#include <string>
#include <vector>
#include "RMF/infrastructure_macros.h"
+ Include dependency graph for HDF5/infrastructure_macros.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RMF_HDF5_CALL(v)
 
#define RMF_HDF5_FOREACH_TYPE(macroname)   macroname(type, Type, Type, Types, const Types&, Types);
 
#define RMF_HDF5_HANDLE(name, cmd, cleanup)   RMF::HDF5::Handle name(cmd, cleanup, #cmd)
 
#define RMF_HDF5_NEW_HANDLE(name, cmd, cleanup)
 

Detailed Description

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file HDF5/infrastructure_macros.h.

Macro Definition Documentation

#define RMF_HDF5_CALL (   v)

Call a function and throw an RMF::IOException if the return values is bad

Definition at line 28 of file HDF5/infrastructure_macros.h.

#define RMF_HDF5_NEW_HANDLE (   name,
  cmd,
  cleanup 
)
Value:
std::shared_ptr<RMF::HDF5::SharedHandle> name = \
std::make_shared<RMF::HDF5::SharedHandle>(cmd, cleanup, #cmd)

Create new HDF5 SharedData.handle.

Definition at line 35 of file HDF5/infrastructure_macros.h.