本文整理汇总了C++中BOOST_SERIALIZATION_BASE_OBJECT_NVP函数的典型用法代码示例。如果您正苦于以下问题:C++ BOOST_SERIALIZATION_BASE_OBJECT_NVP函数的具体用法?C++ BOOST_SERIALIZATION_BASE_OBJECT_NVP怎么用?C++ BOOST_SERIALIZATION_BASE_OBJECT_NVP使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了BOOST_SERIALIZATION_BASE_OBJECT_NVP函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: serialize
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);
}
示例2: serialize
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: serialize
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: BOOST_SERIALIZATION_BASE_OBJECT_NVP
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: serialize
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 );
}
示例6: serialize
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_);
}
示例7: BOOST_SERIALIZATION_BASE_OBJECT_NVP
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);
}
示例8: BOOST_SERIALIZATION_BASE_OBJECT_NVP
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_);
}
示例9: serialize
void
SimplexWithAttachment<V>::
serialize(Archive& ar, version_type )
{
ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Parent);
ar & BOOST_SERIALIZATION_NVP(attachment);
}
示例10: serialize
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);
}
示例11: LOG
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);
}
示例12: serialize
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);
}
示例13: LOG
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);
}
示例14: BOOST_SERIALIZATION_BASE_OBJECT_NVP
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_);
}
示例15: BOOST_SERIALIZATION_BASE_OBJECT_NVP
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);
}