void serialize(Archive &ar, const unsigned int /* file_version */)
 {
     ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Base1);
     ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Base2);
     ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Base3);
     ar & BOOST_SERIALIZATION_NVP(m_x);
 }
	void serialize(Archive & ar, const unsigned int version)
	{
		ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Base);
		ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(
            boost::enable_shared_from_this<Derived>
        );
		ar & BOOST_SERIALIZATION_NVP(m_derived);
	}
Пример #3
0
			template<class archive> void serialize(archive &ar,
			                                       const size_t /*version*/
			                                       ) {
				ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP( aligned_pair_score );
				ar & BOOST_SERIALIZATION_NVP( rmsd );
				ar & BOOST_SERIALIZATION_NVP( num_aligned_residues );
			}
Пример #4
0
void Moderator::CreatePlanet::serialize(Archive& ar, const unsigned int version)
{
    ar  & BOOST_SERIALIZATION_BASE_OBJECT_NVP(ModeratorAction)
        & BOOST_SERIALIZATION_NVP(m_system_id)
        & BOOST_SERIALIZATION_NVP(m_planet_type)
        & BOOST_SERIALIZATION_NVP(m_planet_size);
}
Пример #5
0
void Moderator::CreateSystem::serialize(Archive& ar, const unsigned int version)
{
    ar  & BOOST_SERIALIZATION_BASE_OBJECT_NVP(ModeratorAction)
        & BOOST_SERIALIZATION_NVP(m_x)
        & BOOST_SERIALIZATION_NVP(m_y)
        & BOOST_SERIALIZATION_NVP(m_star_type);
}
Пример #6
0
	void serialize( Archive& ar, const unsigned int version )
	{
		ar& BOOST_SERIALIZATION_BASE_OBJECT_NVP( OfxhPlugin );
		ar& BOOST_SERIALIZATION_NVP( _baseDescriptor );
		//ar & BOOST_SERIALIZATION_NVP(_pluginHandle); // don't save this
		ar& BOOST_SERIALIZATION_NVP( _contexts );
	}
Пример #7
0
 void serialize(Archive & ar, const unsigned int version)
 {
   // serialize base class information
   ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(UpdaterMean);
   
   ar & BOOST_SERIALIZATION_NVP(covar_decay_factor_);
 }
Пример #8
0
void WeaponsPlatformEvent::serialize(Archive& ar, const unsigned int version) {
    ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(CombatEvent);
    ar & BOOST_SERIALIZATION_NVP(bout)
        & BOOST_SERIALIZATION_NVP(attacker_id)
        & BOOST_SERIALIZATION_NVP(attacker_owner_id)
        & BOOST_SERIALIZATION_NVP(events);
}
Пример #9
0
void ExponentialSystem::serialize(Archive & ar, const unsigned int version)
{
  // serialize base class information
  ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(DynamicalSystem);

  ar & BOOST_SERIALIZATION_NVP(alpha_);
}
Пример #10
0
void 
SimplexWithAttachment<V>::
serialize(Archive& ar, version_type )
{			
	ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Parent);
	ar & BOOST_SERIALIZATION_NVP(attachment);
}
Пример #11
0
 void serialize(Archive &ar, const unsigned int version)
 {
     // save/load base class information
     ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(bus_stop);
     ar & BOOST_SERIALIZATION_NVP(street1);
     ar & BOOST_SERIALIZATION_NVP(street2);
 }
Пример #12
0
void					THIS::load(ba::polymorphic_iarchive & ar, unsigned int const &)
{
    LOG(lg, neb::gfx::core::light::sl, debug) << __PRETTY_FUNCTION__;

    BOOST_SERIALIZATION_BASE_OBJECT_NVP(gal::itf::shared);
    //BOOST_SERIALIZATION_BASE_OBJECT_NVP(neb::fnd::core::light::base);
}
Пример #13
0
 void serialize(Archive& ar, const unsigned int version)
 {
     ar& BOOST_SERIALIZATION_BASE_OBJECT_NVP(OfxhPluginDesc);
     //		ar & BOOST_SERIALIZATION_NVP(_binary); // just a link, don't save
     ar& BOOST_SERIALIZATION_NVP(_index);
     ar& BOOST_SERIALIZATION_NVP(_isSupported);
 }
Пример #14
0
void		THIS::save(ba::polymorphic_oarchive & ar, unsigned int const &) const
{
	LOG(lg, neb::gfx::core::light::sl, debug) << __FUNCSIG__;

	BOOST_SERIALIZATION_BASE_OBJECT_NVP(gal::itf::shared);
	//BOOST_SERIALIZATION_BASE_OBJECT_NVP(neb::fnd::core::light::Base);
}
Пример #15
0
void CurveLine::serialize(Archive & ar, const unsigned int version)
{
	ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(LineBase);
	
	ar & BOOST_SERIALIZATION_NVP(start_control_point_);
	ar & BOOST_SERIALIZATION_NVP(end_control_point_);
}
void SinglePlayerSetupData::serialize(Archive& ar, const unsigned int version)
{
    ar  & BOOST_SERIALIZATION_BASE_OBJECT_NVP(GalaxySetupData)
        & BOOST_SERIALIZATION_NVP(m_new_game)
        & BOOST_SERIALIZATION_NVP(m_filename)
        & BOOST_SERIALIZATION_NVP(m_players);
}
Пример #17
0
void FleetTransferOrder::serialize(Archive& ar, const unsigned int version)
{
    ar  & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Order)
        & BOOST_SERIALIZATION_NVP(m_fleet_from)
        & BOOST_SERIALIZATION_NVP(m_fleet_to)
        & BOOST_SERIALIZATION_NVP(m_add_ships);
}
Пример #18
0
 void load(Archive & ar, const unsigned int version) {
   SM_ASSERT_LE(std::runtime_error, version,
                (unsigned int) CLASS_SERIALIZATION_VERSION,
                "Unsupported serialization version");
   if (version >= 2) {
     ar >> BOOST_SERIALIZATION_BASE_OBJECT_NVP(CameraGeometryBase);
   }
Пример #19
0
void FighterLaunchEvent::serialize (Archive& ar, const unsigned int version) {
    ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(CombatEvent);
    ar & BOOST_SERIALIZATION_NVP(bout)
       & BOOST_SERIALIZATION_NVP(fighter_owner_empire_id)
       & BOOST_SERIALIZATION_NVP(launched_from_id)
       & BOOST_SERIALIZATION_NVP(number_launched);
}
Пример #20
0
void ResearchQueueOrder::serialize(Archive& ar, const unsigned int version)
{
    ar  & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Order)
        & BOOST_SERIALIZATION_NVP(m_tech_name)
        & BOOST_SERIALIZATION_NVP(m_position)
        & BOOST_SERIALIZATION_NVP(m_remove);
}
Пример #21
0
void 
SimplexWithValue<V>::
serialize(Archive& ar, version_type )								
{ 
	ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Parent);
	ar & BOOST_SERIALIZATION_NVP(val);
}
Пример #22
0
	void serialize(Archive & ar, const unsigned int version)
	{
		ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(RenderObject);
		ar & BOOST_SERIALIZATION_NVP(destructible);
		ar & BOOST_SERIALIZATION_NVP(ai);
		ar & BOOST_SERIALIZATION_NVP(speed);
	}
Пример #23
0
void FighterAttackedEvent::serialize (Archive& ar, const unsigned int version) {
    ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(CombatEvent);
    ar & BOOST_SERIALIZATION_NVP(bout)
       & BOOST_SERIALIZATION_NVP(round)
       & BOOST_SERIALIZATION_NVP(attacker_owner_empire_id)
       & BOOST_SERIALIZATION_NVP(attacked_by_object_id)
       & BOOST_SERIALIZATION_NVP(attacked_owner_id);
}
Пример #24
0
void FleetMoveOrder::serialize(Archive& ar, const unsigned int version)
{
    ar  & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Order)
        & BOOST_SERIALIZATION_NVP(m_fleet)
        & BOOST_SERIALIZATION_NVP(m_start_system)
        & BOOST_SERIALIZATION_NVP(m_dest_system)
        & BOOST_SERIALIZATION_NVP(m_route);
}
Пример #25
0
void NewFleetOrder::serialize(Archive& ar, const unsigned int version)
{
    ar  & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Order)
        & BOOST_SERIALIZATION_NVP(m_fleet_name)
        & BOOST_SERIALIZATION_NVP(m_system_id)
        & BOOST_SERIALIZATION_NVP(m_new_id)
        & BOOST_SERIALIZATION_NVP(m_ship_ids);
}
Пример #26
0
    void serialize(Archive & ar, const unsigned int version)
    {
        // serialize base class information
        ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Updater);

        ar & BOOST_SERIALIZATION_NVP(eliteness_);
        ar & BOOST_SERIALIZATION_NVP(weighting_method_);
    }
Пример #27
0
void Building::serialize(Archive& ar, const unsigned int version)
{
    ar  & BOOST_SERIALIZATION_BASE_OBJECT_NVP(UniverseObject)
        & BOOST_SERIALIZATION_NVP(m_building_type)
        & BOOST_SERIALIZATION_NVP(m_planet_id)
        & BOOST_SERIALIZATION_NVP(m_ordered_scrapped)
        & BOOST_SERIALIZATION_NVP(m_produced_by_empire_id);
}
Пример #28
0
 void serialize(Archive & ar, const unsigned int version)
 {
   // serialize base class information
   ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Parameterizable);
   
   ar & BOOST_SERIALIZATION_NVP(meta_parameters_);
   ar & BOOST_SERIALIZATION_NVP(model_parameters_);
 }
Пример #29
0
void MultiplayerLobbyData::serialize(Archive& ar, const unsigned int version)
{
    ar  & BOOST_SERIALIZATION_BASE_OBJECT_NVP(GalaxySetupData)
        & BOOST_SERIALIZATION_NVP(m_new_game)
        & BOOST_SERIALIZATION_NVP(m_players)
        & BOOST_SERIALIZATION_NVP(m_save_game)
        & BOOST_SERIALIZATION_NVP(m_save_game_empire_data);
}
Пример #30
0
void System::serialize(Archive& ar, const unsigned int version)
{
    ar  & BOOST_SERIALIZATION_BASE_OBJECT_NVP(UniverseObject)
        & BOOST_SERIALIZATION_NVP(m_star)
        & BOOST_SERIALIZATION_NVP(m_orbits)
        & BOOST_SERIALIZATION_NVP(m_objects)
        & BOOST_SERIALIZATION_NVP(m_starlanes_wormholes)
        & BOOST_SERIALIZATION_NVP(m_last_turn_battle_here);
}