[CEA 13302] Policy for c++ files ? using namespaces in c++ header files. boost_ptr / shared_ptr

This commit is contained in:
rnv 2019-03-12 13:26:35 +03:00
parent 2a56740e9b
commit b4604c35c9
3 changed files with 4 additions and 10 deletions

View File

@ -39,8 +39,6 @@
// Parameters for work of NETGEN
//
using namespace std;
class NETGENPLUGIN_EXPORT NETGENPlugin_Hypothesis: public SMESH_Hypothesis
{
public:

View File

@ -34,8 +34,6 @@
// Simplified parameters of NETGEN
//
using namespace std;
class NETGENPLUGIN_EXPORT NETGENPlugin_SimpleHypothesis_2D: public SMESH_Hypothesis
{
public:
@ -88,8 +86,8 @@ public:
bool GetAllowQuadrangles() const;
// Persistence
virtual ostream & SaveTo(ostream & save);
virtual istream & LoadFrom(istream & load);
virtual std::ostream & SaveTo(std::ostream & save);
virtual std::istream & LoadFrom(std::istream & load);
/*!
* \brief Set parameters by mesh

View File

@ -34,8 +34,6 @@
// Simplified parameters of NETGEN
//
using namespace std;
class NETGENPLUGIN_EXPORT NETGENPlugin_SimpleHypothesis_3D: public NETGENPlugin_SimpleHypothesis_2D
{
public:
@ -48,8 +46,8 @@ public:
double GetMaxElementVolume() const { return _volume; }
// Persistence
virtual ostream & SaveTo(ostream & save);
virtual istream & LoadFrom(istream & load);
virtual std::ostream & SaveTo(std::ostream & save);
virtual std::istream & LoadFrom(std::istream & load);
/*!
* \brief Set parameters by mesh