mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 01:40:33 +05:00
Remove usage of boost archive
This commit is contained in:
parent
ec1ac16769
commit
71d64ca6f8
@ -34,14 +34,14 @@
|
|||||||
#include <SMESH_Mesh.hxx>
|
#include <SMESH_Mesh.hxx>
|
||||||
#include <SMESH_MesherHelper.hxx>
|
#include <SMESH_MesherHelper.hxx>
|
||||||
#include <SMESH_TryCatch.hxx>
|
#include <SMESH_TryCatch.hxx>
|
||||||
#include <SMESH_BoostTxtArchive.hxx>
|
// #include <SMESH_BoostTxtArchive.hxx>
|
||||||
|
|
||||||
#include <BRep_Tool.hxx>
|
#include <BRep_Tool.hxx>
|
||||||
#include <TopExp_Explorer.hxx>
|
#include <TopExp_Explorer.hxx>
|
||||||
#include <TopTools_MapOfShape.hxx>
|
#include <TopTools_MapOfShape.hxx>
|
||||||
#include <TopoDS.hxx>
|
#include <TopoDS.hxx>
|
||||||
|
|
||||||
#include <boost/archive/text_oarchive.hpp>
|
// #include <boost/archive/text_oarchive.hpp>
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
@ -280,8 +280,8 @@ void StdMeshers_RenumberHelper::DoReplaceNodes()
|
|||||||
|
|
||||||
ostream & StdMeshers_BlockRenumber::SaveTo(ostream & save)
|
ostream & StdMeshers_BlockRenumber::SaveTo(ostream & save)
|
||||||
{
|
{
|
||||||
boost::archive::text_oarchive archive( save );
|
// boost::archive::text_oarchive archive( save );
|
||||||
archive << *this;
|
// archive << *this;
|
||||||
|
|
||||||
return save;
|
return save;
|
||||||
}
|
}
|
||||||
@ -296,7 +296,7 @@ istream & StdMeshers_BlockRenumber::LoadFrom(istream & load)
|
|||||||
{
|
{
|
||||||
SMESH_TRY;
|
SMESH_TRY;
|
||||||
|
|
||||||
SMESHUtils::BoostTxtArchive( load ) >> *this;
|
// SMESHUtils::BoostTxtArchive( load ) >> *this;
|
||||||
|
|
||||||
SMESH_CATCH( SMESH::doNothing );
|
SMESH_CATCH( SMESH::doNothing );
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#include <TopTools_MapOfShape.hxx>
|
#include <TopTools_MapOfShape.hxx>
|
||||||
#include <TopoDS_Vertex.hxx>
|
#include <TopoDS_Vertex.hxx>
|
||||||
|
|
||||||
#include <boost/serialization/vector.hpp>
|
// #include <boost/serialization/vector.hpp>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
class SMESH_Mesh;
|
class SMESH_Mesh;
|
||||||
@ -114,7 +114,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
// Persistence: define both input and output at once
|
// Persistence: define both input and output at once
|
||||||
friend class boost::serialization::access;
|
// friend class boost::serialization::access;
|
||||||
template<class Archive> void serialize( Archive & ar, const unsigned int /*version*/ )
|
template<class Archive> void serialize( Archive & ar, const unsigned int /*version*/ )
|
||||||
{
|
{
|
||||||
ar & _blockCS;
|
ar & _blockCS;
|
||||||
|
Loading…
Reference in New Issue
Block a user