Savarese Software Research Corporation
checkpoint.h File Reference

This header defines utility functions for checkpointing data structures. More...

#include <ssrc/wispers-packages.h>
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/filesystem/convenience.hpp>
#include <fstream>
Include dependency graph for checkpoint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
__BEGIN_NS_SSRC_WSPR_UTILITY void save_checkpoint (const std::string &filename, const T &data) SSRC_DECL_THROW(std
template<typename T >
void load_checkpoint (const std::string &filename, T &data) SSRC_DECL_THROW(std

Detailed Description

This header defines utility functions for checkpointing data structures.

Definition in file checkpoint.h.


Function Documentation

template<typename T >
void load_checkpoint ( const std::string filename,
T &  data 
)

Definition at line 49 of file checkpoint.h.

template<typename T >
__BEGIN_NS_SSRC_WSPR_UTILITY void save_checkpoint ( const std::string filename,
const T &  data 
)

Definition at line 35 of file checkpoint.h.


Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.