[CEA 13302] Policy for c++ files ? using namespaces in c++ header files. boost_ptr / shared_ptr
This commit is contained in:
parent
2a56740e9b
commit
b4604c35c9
@ -39,8 +39,6 @@
|
|||||||
// Parameters for work of NETGEN
|
// Parameters for work of NETGEN
|
||||||
//
|
//
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class NETGENPLUGIN_EXPORT NETGENPlugin_Hypothesis: public SMESH_Hypothesis
|
class NETGENPLUGIN_EXPORT NETGENPlugin_Hypothesis: public SMESH_Hypothesis
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -34,8 +34,6 @@
|
|||||||
// Simplified parameters of NETGEN
|
// Simplified parameters of NETGEN
|
||||||
//
|
//
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class NETGENPLUGIN_EXPORT NETGENPlugin_SimpleHypothesis_2D: public SMESH_Hypothesis
|
class NETGENPLUGIN_EXPORT NETGENPlugin_SimpleHypothesis_2D: public SMESH_Hypothesis
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -88,8 +86,8 @@ public:
|
|||||||
bool GetAllowQuadrangles() const;
|
bool GetAllowQuadrangles() const;
|
||||||
|
|
||||||
// Persistence
|
// Persistence
|
||||||
virtual ostream & SaveTo(ostream & save);
|
virtual std::ostream & SaveTo(std::ostream & save);
|
||||||
virtual istream & LoadFrom(istream & load);
|
virtual std::istream & LoadFrom(std::istream & load);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Set parameters by mesh
|
* \brief Set parameters by mesh
|
||||||
|
@ -34,8 +34,6 @@
|
|||||||
// Simplified parameters of NETGEN
|
// Simplified parameters of NETGEN
|
||||||
//
|
//
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class NETGENPLUGIN_EXPORT NETGENPlugin_SimpleHypothesis_3D: public NETGENPlugin_SimpleHypothesis_2D
|
class NETGENPLUGIN_EXPORT NETGENPlugin_SimpleHypothesis_3D: public NETGENPlugin_SimpleHypothesis_2D
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -48,8 +46,8 @@ public:
|
|||||||
double GetMaxElementVolume() const { return _volume; }
|
double GetMaxElementVolume() const { return _volume; }
|
||||||
|
|
||||||
// Persistence
|
// Persistence
|
||||||
virtual ostream & SaveTo(ostream & save);
|
virtual std::ostream & SaveTo(std::ostream & save);
|
||||||
virtual istream & LoadFrom(istream & load);
|
virtual std::istream & LoadFrom(std::istream & load);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Set parameters by mesh
|
* \brief Set parameters by mesh
|
||||||
|
Loading…
Reference in New Issue
Block a user