| Home | Libraries | People | FAQ | More

## Function BOOST_SERIALIZATION_SPLIT_FREE

BOOST_SERIALIZATION_SPLIT_FREE

## Synopsis

    // In header: <boost/date_time/gregorian/greg_serialize.hpp>

     BOOST_SERIALIZATION_SPLIT_FREE(::boost::gregorian::date_duration);

## Description

Method that does serialization for gregorian::date -- splits to load/save

Function to save gregorian::date objects using serialization lib

Dates are serialized into a string for transport and storage. While it would be more efficient to store the internal integer used to manipulate the dates, it is an unstable solution.

Function to load gregorian::date objects using serialization lib

Dates are serialized into a string for transport and storage. While it would be more efficient to store the internal integer used to manipulate the dates, it is an unstable solution.

override needed b/c no default constructor

Function to save gregorian::date_duration objects using serialization lib

Function to load gregorian::date_duration objects using serialization lib

override needed b/c no default constructor

helper unction to save date_duration objects using serialization lib

helper function to load date_duration objects using serialization lib

override needed b/c no default constructor

Function to save gregorian::date_period objects using serialization lib

date_period objects are broken down into 2 parts for serialization: the begining date object and the end date object

Function to load gregorian::date_period objects using serialization lib

date_period objects are broken down into 2 parts for serialization: the begining date object and the end date object

override needed b/c no default constructor

Function to save gregorian::greg_month objects using serialization lib

Function to load gregorian::greg_month objects using serialization lib

override needed b/c no default constructor

Function to save gregorian::greg_day objects using serialization lib

Function to load gregorian::greg_day objects using serialization lib

override needed b/c no default constructor

Function to save gregorian::greg_weekday objects using serialization lib

Function to load gregorian::greg_weekday objects using serialization lib

override needed b/c no default constructor

Function to save gregorian::partial_date objects using serialization lib

partial_date objects are broken down into 2 parts for serialization: the day (typically greg_day) and month (typically greg_month) objects

Function to load gregorian::partial_date objects using serialization lib

partial_date objects are broken down into 2 parts for serialization: the day (greg_day) and month (greg_month) objects

override needed b/c no default constructor

Function to save nth_day_of_the_week_in_month objects using serialization lib

nth_day_of_the_week_in_month objects are broken down into 3 parts for serialization: the week number, the day of the week, and the month

Function to load nth_day_of_the_week_in_month objects using serialization lib

nth_day_of_the_week_in_month objects are broken down into 3 parts for serialization: the week number, the day of the week, and the month

override needed b/c no default constructor

Function to save first_day_of_the_week_in_month objects using serialization lib

first_day_of_the_week_in_month objects are broken down into 2 parts for serialization: the day of the week, and the month

Function to load first_day_of_the_week_in_month objects using serialization lib

first_day_of_the_week_in_month objects are broken down into 2 parts for serialization: the day of the week, and the month

override needed b/c no default constructor

Function to save last_day_of_the_week_in_month objects using serialization lib

last_day_of_the_week_in_month objects are broken down into 2 parts for serialization: the day of the week, and the month

Function to load last_day_of_the_week_in_month objects using serialization lib

last_day_of_the_week_in_month objects are broken down into 2 parts for serialization: the day of the week, and the month

override needed b/c no default constructor

Function to save first_day_of_the_week_before objects using serialization lib

Function to load first_day_of_the_week_before objects using serialization lib

override needed b/c no default constructor

Function to save first_day_of_the_week_after objects using serialization lib

Function to load first_day_of_the_week_after objects using serialization lib

override needed b/c no default constructor