View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Classes | Namespaces | Macros | Typedefs | Functions | Variables
archives_config.h File Reference
#include <cassert>
#include <cstdlib>
#include <iostream>
#include <vector>
#include <vistle/util/enum.h>
#include <vistle/util/buffer.h>
#include "export.h"
#include "index.h"
#include <yas/binary_iarchive.hpp>
#include <yas/binary_oarchive.hpp>
#include <yas/serialize.hpp>
#include <yas/boost_types.hpp>
#include <yas/types/concepts/array.hpp>
#include <boost/serialization/access.hpp>
#include <boost/serialization/split_member.hpp>
#include <yas/object.hpp>
#include <yas/std_types.hpp>
#include <yas/std_traits.hpp>
#include <yas/std_streams.hpp>
Include dependency graph for archives_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vistle::detail::yas_tag
 
struct  vistle::detail::archive_tag< yas_oarchive >
 
struct  vistle::detail::archive_tag< yas_iarchive >
 
struct  vistle::detail::ArchiveStreamType< yas_iarchive >
 
struct  vistle::detail::ArchiveStreamType< yas_oarchive >
 
struct  vistle::detail::archive_helper< yas_tag >
 
struct  vistle::detail::archive_helper< yas_tag >::ArrayWrapper
 

Namespaces

namespace  vistle
 
namespace  vistle::detail
 

Macros

#define USE_BOOST_ARCHIVE_MPI
 
#define USE_YAS
 
#define ARCHIVE_ASSUME_ABSTRACT_BOOST(obj)
 
#define ARCHIVE_ASSUME_ABSTRACT_YAS(obj)
 
#define V_NAME(ar, name, obj)   (obj)
 
#define ARCHIVE_ACCESS_BOOST   friend class boost::serialization::access;
 
#define ARCHIVE_FORWARD_SERIALIZE
 
#define ARCHIVE_ACCESS_YAS   public:
 
#define ARCHIVE_ACCESS   ARCHIVE_ACCESS_BOOST ARCHIVE_ACCESS_YAS ARCHIVE_FORWARD_SERIALIZE
 
#define ARCHIVE_ASSUME_ABSTRACT(obj)   ARCHIVE_ASSUME_ABSTRACT_BOOST(obj) ARCHIVE_ASSUME_ABSTRACT_YAS(obj)
 
#define BOOST_ARCHIVE_ACCESS_SPLIT
 
#define YAS_ARCHIVE_ACCESS_SPLIT
 
#define ARCHIVE_ACCESS_SPLIT
 
#define ARCHIVE_REGISTRATION_BOOST(override)
 
#define ARCHIVE_REGISTRATION_BOOST_INLINE
 
#define ARCHIVE_REGISTRATION_BOOST_IMPL(ObjType, prefix)
 
#define ARCHIVE_REGISTRATION_YAS(override)
 
#define ARCHIVE_REGISTRATION_YAS_INLINE
 
#define ARCHIVE_REGISTRATION_YAS_IMPL(ObjType, prefix)
 
#define ARCHIVE_REGISTRATION_INTROSPECT
 
#define ARCHIVE_REGISTRATION(override)    ARCHIVE_REGISTRATION_BOOST(override) ARCHIVE_REGISTRATION_YAS(override) ARCHIVE_REGISTRATION_INTROSPECT
 
#define ARCHIVE_REGISTRATION_INLINE    ARCHIVE_REGISTRATION_BOOST_INLINE ARCHIVE_REGISTRATION_YAS_INLINE ARCHIVE_REGISTRATION_INTROSPECT
 
#define ARCHIVE_REGISTRATION_IMPL(ObjType, prefix)    ARCHIVE_REGISTRATION_BOOST_IMPL(ObjType, prefix) ARCHIVE_REGISTRATION_YAS_IMPL(ObjType, prefix)
 

Typedefs

typedef yas_oarchive vistle::oarchive
 
typedef yas_iarchive vistle::iarchive
 

Functions

 vistle::DEFINE_ENUM_WITH_STRING_CONVERSIONS (FieldCompressionMode,(Uncompressed)(ZfpFixedRate)(ZfpAccuracy)(ZfpPrecision)) namespace detail
 

Variables

const std::size_t vistle::detail::yas_flags = yas::binary | yas::ehost
 

Class Documentation

◆ vistle::detail::yas_tag

struct vistle::detail::yas_tag

◆ vistle::detail::archive_tag< yas_oarchive >

struct vistle::detail::archive_tag< yas_oarchive >
Class Members
typedef yas_tag type

◆ vistle::detail::archive_tag< yas_iarchive >

struct vistle::detail::archive_tag< yas_iarchive >
Class Members
typedef yas_tag type

◆ vistle::detail::ArchiveStreamType< yas_iarchive >

struct vistle::detail::ArchiveStreamType< yas_iarchive >
Class Members
typedef mem_istream type

◆ vistle::detail::ArchiveStreamType< yas_oarchive >

struct vistle::detail::ArchiveStreamType< yas_oarchive >
Class Members
typedef mem_ostream type

Macro Definition Documentation

◆ ARCHIVE_ACCESS

◆ ARCHIVE_ACCESS_BOOST

#define ARCHIVE_ACCESS_BOOST   friend class boost::serialization::access;

◆ ARCHIVE_ACCESS_SPLIT

#define ARCHIVE_ACCESS_SPLIT
Value:
public: \
BOOST_ARCHIVE_ACCESS_SPLIT YAS_ARCHIVE_ACCESS_SPLIT
#define YAS_ARCHIVE_ACCESS_SPLIT
Definition: archives_config.h:489

◆ ARCHIVE_ACCESS_YAS

#define ARCHIVE_ACCESS_YAS   public:

◆ ARCHIVE_ASSUME_ABSTRACT

#define ARCHIVE_ASSUME_ABSTRACT (   obj)    ARCHIVE_ASSUME_ABSTRACT_BOOST(obj) ARCHIVE_ASSUME_ABSTRACT_YAS(obj)

◆ ARCHIVE_ASSUME_ABSTRACT_BOOST

#define ARCHIVE_ASSUME_ABSTRACT_BOOST (   obj)

◆ ARCHIVE_ASSUME_ABSTRACT_YAS

#define ARCHIVE_ASSUME_ABSTRACT_YAS (   obj)

◆ ARCHIVE_FORWARD_SERIALIZE

#define ARCHIVE_FORWARD_SERIALIZE
Value:
template<class Archive> \
void serialize(Archive &ar, const unsigned int /* version */) \
{ \
serialize(ar); \
}
void serialize(Archive &ar, vistle::Vector1 &v, const unsigned int version)
Definition: vector.h:105

◆ ARCHIVE_REGISTRATION

#define ARCHIVE_REGISTRATION (   override)     ARCHIVE_REGISTRATION_BOOST(override) ARCHIVE_REGISTRATION_YAS(override) ARCHIVE_REGISTRATION_INTROSPECT

◆ ARCHIVE_REGISTRATION_BOOST

#define ARCHIVE_REGISTRATION_BOOST (   override)

◆ ARCHIVE_REGISTRATION_BOOST_IMPL

#define ARCHIVE_REGISTRATION_BOOST_IMPL (   ObjType,
  prefix 
)

◆ ARCHIVE_REGISTRATION_BOOST_INLINE

#define ARCHIVE_REGISTRATION_BOOST_INLINE

◆ ARCHIVE_REGISTRATION_IMPL

#define ARCHIVE_REGISTRATION_IMPL (   ObjType,
  prefix 
)     ARCHIVE_REGISTRATION_BOOST_IMPL(ObjType, prefix) ARCHIVE_REGISTRATION_YAS_IMPL(ObjType, prefix)

◆ ARCHIVE_REGISTRATION_INLINE

◆ ARCHIVE_REGISTRATION_INTROSPECT

#define ARCHIVE_REGISTRATION_INTROSPECT

◆ ARCHIVE_REGISTRATION_YAS

#define ARCHIVE_REGISTRATION_YAS (   override)
Value:
virtual void saveToArchive(yas_oarchive &ar) const override; \
virtual void loadFromArchive(yas_iarchive &ar) override;

◆ ARCHIVE_REGISTRATION_YAS_IMPL

#define ARCHIVE_REGISTRATION_YAS_IMPL (   ObjType,
  prefix 
)
Value:
prefix void ObjType::saveToArchive(yas_oarchive &ar) const { this->serialize(ar); } \
prefix void ObjType::loadFromArchive(yas_iarchive &ar) { this->serialize(ar); }
std::string prefix(int argc, char *argv[])
Definition: directory.cpp:33

◆ ARCHIVE_REGISTRATION_YAS_INLINE

#define ARCHIVE_REGISTRATION_YAS_INLINE
Value:
void saveToArchive(yas_oarchive &ar) const override { this->serialize(ar); } \
void loadFromArchive(yas_iarchive &ar) override { this->serialize(ar); }

◆ BOOST_ARCHIVE_ACCESS_SPLIT

#define BOOST_ARCHIVE_ACCESS_SPLIT
Value:
friend class boost::serialization::access; \
template<class Archive> \
void serialize(Archive &ar, const unsigned int version) \
{ \
boost::serialization::split_member(ar, *this, version); \
} \
template<class Archive> \
void save(Archive &ar, const unsigned int version) const \
{ \
save(ar); \
} \
template<class Archive> \
void load(Archive &ar, const unsigned int version) \
{ \
load(ar); \
}

◆ USE_BOOST_ARCHIVE_MPI

#define USE_BOOST_ARCHIVE_MPI

◆ USE_YAS

#define USE_YAS

◆ V_NAME

#define V_NAME (   ar,
  name,
  obj 
)    (obj)

◆ YAS_ARCHIVE_ACCESS_SPLIT

#define YAS_ARCHIVE_ACCESS_SPLIT
Value:
public: \
template<class Archive> \
void serialize(Archive &ar) const \
{ \
save(ar); \
} \
template<class Archive> \
void serialize(Archive &ar) \
{ \
load(ar); \
}