Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Serialize.h File Reference

Contains functions that serialize/deserialize data, mainly for sending out serialized data over the network and deserializing it on the other end. More...

#include <type_traits>
#include <ostream>
#include <vector>
#include <deque>
#include <string>
#include <cassert>
#include <tuple>
#include <boost/mpl/has_xxx.hpp>
#include "galois/runtime/ExtraTraits.h"
#include <galois/gdeque.h>
#include <galois/DynamicBitset.h>
#include <galois/AtomicWrapper.h>
#include <galois/PODResizeableArray.h>
#include "galois/CopyableTuple.h"
#include "galois/Bag.h"

Go to the source code of this file.

Classes

class  galois::runtime::SerializeBuffer
 Buffer for serialization of data. More...
 
class  galois::runtime::DeSerializeBuffer
 Buffer for deserialization of data. More...
 
struct  galois::runtime::LazyRef< T >
 LazyRef structure; used to store both a type and an offset to begin saving data into. More...
 

Namespaces

 galois
 The Galois namespace containing all Galois structures and functions.
 
 galois::runtime
 Internal Galois functionality - Use at your own risk.
 

Functions

template<typename T1 , typename... Args>
void galois::runtime::gDeserialize (DeSerializeBuffer &buf, T1 &&t1, Args &&...args)
 Deserialize data in a buffer into a series of objects. More...
 
void galois::runtime::gDeserialize (DeSerializeBuffer &)
 Base case for regular gDeserialize recursive call. More...
 
template<typename Iter , typename T >
auto galois::runtime::gDeserializeRaw (Iter iter, T &data) -> decltype(std::declval< typename std::enable_if< is_memory_copyable< T >::value >::type >(), Iter())
 "Deserialize" data in an iterator type into a data object. More...
 

Detailed Description

Contains functions that serialize/deserialize data, mainly for sending out serialized data over the network and deserializing it on the other end.