#include <iostream>
#include <boost/functional/hash.hpp>
#include <alps/hdf5.hpp>
#include <boost/serialization/serialization.hpp>
#include <boost/serialization/array.hpp>
Go to the source code of this file.
|
void | save (alps::hdf5::archive &ar, std::string const &p, Ztwo::charge const &v, std::vector< std::size_t > size=std::vector< std::size_t >(), std::vector< std::size_t > chunk=std::vector< std::size_t >(), std::vector< std::size_t > offset=std::vector< std::size_t >()) |
|
void | load (alps::hdf5::archive &ar, std::string const &p, Ztwo::charge &v, std::vector< std::size_t > size=std::vector< std::size_t >(), std::vector< std::size_t > chunk=std::vector< std::size_t >(), std::vector< std::size_t > offset=std::vector< std::size_t >()) |
|
template<class Archive > |
void | serialize (Archive &ar, Ztwo::charge &c, const unsigned int version) |
|
Ztwo::charge | operator- (Ztwo::charge a) |
|
std::ostream & | operator<< (std::ostream &ost, Ztwo::charge c) |
|
std::ostream & | operator<< (std::ostream &ost, const std::vector< Ztwo::charge > &c) |
|
void load |
( |
alps::hdf5::archive & |
ar, |
|
|
std::string const & |
p, |
|
|
Ztwo::charge & |
v, |
|
|
std::vector< std::size_t > |
size = std::vector<std::size_t>() , |
|
|
std::vector< std::size_t > |
chunk = std::vector<std::size_t>() , |
|
|
std::vector< std::size_t > |
offset = std::vector<std::size_t>() |
|
) |
| |
|
inline |
Definition at line 75 of file z2.h.
Definition at line 93 of file z2.h.
std::ostream& operator<< |
( |
std::ostream & |
ost, |
|
|
Ztwo::charge |
c |
|
) |
| |
|
inline |
Definition at line 95 of file z2.h.
std::ostream& operator<< |
( |
std::ostream & |
ost, |
|
|
const std::vector< Ztwo::charge > & |
c |
|
) |
| |
|
inline |
Definition at line 105 of file z2.h.
108 for (std::vector<Ztwo::charge>::const_iterator it = c.begin();
void save |
( |
alps::hdf5::archive & |
ar, |
|
|
std::string const & |
p, |
|
|
Ztwo::charge const & |
v, |
|
|
std::vector< std::size_t > |
size = std::vector<std::size_t>() , |
|
|
std::vector< std::size_t > |
chunk = std::vector<std::size_t>() , |
|
|
std::vector< std::size_t > |
offset = std::vector<std::size_t>() |
|
) |
| |
|
inline |
Definition at line 65 of file z2.h.
72 ar[p] <<
static_cast<int>(v);
template<class Archive >
void serialize |
( |
Archive & |
ar, |
|
|
Ztwo::charge & |
c, |
|
|
const unsigned int |
version |
|
) |
| |
|
inline |
Definition at line 88 of file z2.h.