View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

placeholder_impl.h
Go to the documentation of this file.
1#ifndef PLACEHOLDER_IMPL_H
2#define PLACEHOLDER_IMPL_H
3
4#include "archives_config.h"
5
6namespace vistle {
7
8template<class Archive>
9void PlaceHolder::Data::serialize(Archive &ar)
10{
11 ar &V_NAME(ar, "base_object", serialize_base<Base::Data>(ar, *this));
12
13 ar &V_NAME(ar, "orig_name", originalName);
14 ar &V_NAME(ar, "orig_meta", originalMeta);
15 ar &V_NAME(ar, "orig_type", originalType);
16
17 ar &V_NAME(ar, "geometry", geometry);
18 ar &V_NAME(ar, "normals", normals);
19 ar &V_NAME(ar, "texture", texture);
20}
21
22} // namespace vistle
23
24#endif
#define V_NAME(ar, name, obj)
Definition: archives_config.h:441
void serialize(Archive &ar, vistle::Vector1 &v, const unsigned int version)
Definition: vector.h:105
Definition: allobjects.cpp:30