serialization.hpp File Reference

File contains functions used in serialization process. More...

#include <boost/archive/binary_oarchive.hpp>
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/xml_oarchive.hpp>
#include <boost/archive/xml_iarchive.hpp>
#include <boost/serialization/utility.hpp>
#include <boost/serialization/map.hpp>
#include <boost/assert.hpp>
#include <interestRates/_all_interestRate.hpp>
#include <instruments/_all_instruments.hpp>

Go to the source code of this file.

Functions

template<class T >
void serializeText (T object, std::string file)
 Serialize object to text file. More...
 
template<class T >
void serializeBinary (T object, std::string file)
 Serialize object to binary file. More...
 
template<class T >
void serializeXML (T object, std::string file)
 Serialize object to xml file. More...
 
template<class T >
deserializeText (std::string file)
 Deserializes object from text file. More...
 
template<class T >
deserializeBinary (std::string file)
 Deserializes object from binary file. More...
 
template<class T >
deserializeXML (std::string file)
 Deserializes object from xml file. More...
 
template<class Archive , class T >
void boost::serialization::save (Archive &ar, const julian::SmartPointer< T > &t, const unsigned int)
 
template<class Archive , class T >
void boost::serialization::load (Archive &ar, julian::SmartPointer< T > &t, const unsigned int)
 
template<class Archive , class T >
void boost::serialization::serialize (Archive &ar, julian::SmartPointer< T > &t, const unsigned int file_version)
 

Detailed Description

File contains functions used in serialization process.

Function Documentation

template<class Archive , class T >
void boost::serialization::load ( Archive &  ar,
julian::SmartPointer< T > &  t,
const unsigned  int 
)
inline

\ brief interfacing serialization function with boost::serialization

template<class Archive , class T >
void boost::serialization::save ( Archive &  ar,
const julian::SmartPointer< T > &  t,
const unsigned  int 
)
inline

\ brief interfacing serialization function with boost::serialization

template<class Archive , class T >
void boost::serialization::serialize ( Archive &  ar,
julian::SmartPointer< T > &  t,
const unsigned int  file_version 
)
inline

\ brief interfacing serialization function with boost::serialization