ALPSCore reference
Namespaces | Macros | Functions
shared_array.hpp File Reference
#include <alps/hdf5/archive.hpp>
#include <boost/shared_array.hpp>
Include dependency graph for shared_array.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 alps
 

Macros

#define ALPS_HDF5_BOOST_SHARED_ARRAY_MAKE_PVP(ptr_type, arg_type)
 

Functions

template<typename T >
hdf5::detail::make_pvp_proxy< std::pair< T *, std::vector< std::size_t > > > alps::make_pvp (std::string const &path, boost::shared_array< T > &value, std::size_t size)
 
template<typename T >
hdf5::detail::make_pvp_proxy< std::pair< T *, std::vector< std::size_t > > > alps::make_pvp (std::string const &path, boost::shared_array< T > &value, std::vector< std::size_t > const &size)
 
template<typename T >
hdf5::detail::make_pvp_proxy< std::pair< T const *, std::vector< std::size_t > > > alps::make_pvp (std::string const &path, boost::shared_array< T > const &value, std::size_t size)
 
template<typename T >
hdf5::detail::make_pvp_proxy< std::pair< T const *, std::vector< std::size_t > > > alps::make_pvp (std::string const &path, boost::shared_array< T > const &value, std::vector< std::size_t > const &size)
 

Macro Definition Documentation

#define ALPS_HDF5_BOOST_SHARED_ARRAY_MAKE_PVP (   ptr_type,
  arg_type 
)
Value:
template <typename T> hdf5::detail::make_pvp_proxy<std::pair<ptr_type, std::vector<std::size_t> > > make_pvp( \
std::string const & path \
, arg_type value \
, std::size_t size \
) { \
return hdf5::detail::make_pvp_proxy<std::pair<ptr_type, std::vector<std::size_t> > >( \
path \
, std::make_pair(value.get(), std::vector<std::size_t>(1, size)) \
); \
} \
\
template <typename T> hdf5::detail::make_pvp_proxy<std::pair<ptr_type, std::vector<std::size_t> > > make_pvp( \
std::string const & path \
, arg_type value \
, std::vector<std::size_t> const & size \
) { \
return hdf5::detail::make_pvp_proxy<std::pair<ptr_type, std::vector<std::size_t> > >(path, std::make_pair(value.get(), size)); \
}
std::enable_if<!is_sequence< T >::value, std::size_t >::type size(T const &)
Definition: size.hpp:20
hdf5::detail::make_pvp_proxy< std::pair< T const *, std::vector< std::size_t > > > make_pvp(std::string const &path, boost::shared_array< T > const &value, std::vector< std::size_t > const &size)

Definition at line 16 of file shared_array.hpp.