ALPSCore reference
Namespaces | Macros
common.hpp File Reference
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <hdf5.h>
Include dependency graph for common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 alps
 
 alps::hdf5
 

Macros

#define ALPS_HDF5_LOCK_MUTEX   boost::lock_guard<boost::recursive_mutex> guard(mutex_);
 
#define ALPS_HDF5_FAKE_THREADSAFETY   ALPS_HDF5_LOCK_MUTEX
 
#define ALPS_HDF5_NATIVE_INTEGRAL_TYPES
 
#define ALPS_HDF5_FOREACH_NATIVE_TYPE_INTEGRAL(CALLBACK, ARG)
 

Macro Definition Documentation

#define ALPS_HDF5_FAKE_THREADSAFETY   ALPS_HDF5_LOCK_MUTEX

Definition at line 25 of file common.hpp.

#define ALPS_HDF5_FOREACH_NATIVE_TYPE_INTEGRAL (   CALLBACK,
  ARG 
)
Value:
CALLBACK(char, ARG) \
CALLBACK(signed char, ARG) \
CALLBACK(unsigned char, ARG) \
CALLBACK(short, ARG) \
CALLBACK(unsigned short, ARG) \
CALLBACK(int, ARG) \
CALLBACK(unsigned, ARG) \
CALLBACK(long, ARG) \
CALLBACK(unsigned long, ARG) \
CALLBACK(long long, ARG) \
CALLBACK(unsigned long long, ARG) \
CALLBACK(float, ARG) \
CALLBACK(double, ARG) \
CALLBACK(long double, ARG) \
CALLBACK(bool, ARG)

Definition at line 36 of file common.hpp.

#define ALPS_HDF5_LOCK_MUTEX   boost::lock_guard<boost::recursive_mutex> guard(mutex_);

Definition at line 19 of file common.hpp.

#define ALPS_HDF5_NATIVE_INTEGRAL_TYPES
Value:
char, signed char, unsigned char, \
short, unsigned short, \
int, unsigned, long, unsigned long, \
long long, unsigned long long, \
float, double, long double, \
bool

Definition at line 28 of file common.hpp.