// Created : Mon Aug 2 10:30:00 2004
// Author : Edward AGAPOV (eap)
-using namespace std;
-
#include "SMESH_Block.hxx"
#include <BRepAdaptor_Curve.hxx>
// Created : Mon Aug 2 10:30:00 2004
// Author : Edward AGAPOV (eap)
-using namespace std;
-
#include "SMESH_Pattern.hxx"
#include <BRepAdaptor_Curve.hxx>
class QListBoxItem;
class SMESHGUI;
-typedef map<std::string, int> MapIOR;
+typedef std::map<std::string, int> MapIOR;
//=================================================================================
// class : SMESHGUI_EditHypothesesDlg
#include <SMESHGUI_FileInfoDlg.h>
-#include <MED_Common.hxx>
-
#include <qlayout.h>
#include <qlabel.h>
#include <qlineedit.h>
QString name = baseName;
while ( !aStudy->FindObjectByName( name.latin1(), "SMESH" ).empty() ) {
int nb = 0;
- if ( name[ name.length()-1 ].isNumber() ) {
+ if ( name.at( name.length()-1 ).isNumber() ) {
int nbBeg = name.findRev("_");
nb = name.right( name.length() - nbBeg - 1 ).toInt();
name = name.left( nbBeg );
// File : StdMeshers_Penta_3D.cxx
// Module : SMESH
-using namespace std;
-
#include "StdMeshers_Penta_3D.hxx"
#include "utilities.h"
// Created : Fri Oct 27 10:24:28 2006
// Author : Edward AGAPOV (eap)
-using namespace std;
-
#include "StdMeshers_ProjectionUtils.hxx"
#include "StdMeshers_ProjectionSource1D.hxx"
#include <TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
+using namespace std;
+
#define RETURN_BAD_RESULT(msg) { MESSAGE(")-: Error: " << msg); return false; }
#define SHOW_VERTEX(v,msg) // { \
std::list<const SMDS_FaceOfNodes*> triasI = (*itrmI).second;
std::list<const SMDS_FaceOfNodes*>::iterator ittI = triasI.begin();
int nbfI = triasI.size();
- const SMDS_FaceOfNodes* FsI[nbfI];
+ vector<const SMDS_FaceOfNodes*> FsI(nbfI);
k = 0;
for(; ittI!=triasI.end(); ittI++) {
FsI[k] = (*ittI);
std::list<const SMDS_FaceOfNodes*> triasJ = (*itrmJ).second;
std::list<const SMDS_FaceOfNodes*>::iterator ittJ = triasJ.begin();
int nbfJ = triasJ.size();
- const SMDS_FaceOfNodes* FsJ[nbfJ];
+ vector<const SMDS_FaceOfNodes*> FsJ(nbfJ);
k = 0;
for(; ittJ!=triasJ.end(); ittJ++) {
FsJ[k] = (*ittJ);
};
-class StdMeshers_UseExisting_1D: public SMESH_1D_Algo
+class STDMESHERS_EXPORT StdMeshers_UseExisting_1D: public SMESH_1D_Algo
{
public:
StdMeshers_UseExisting_1D(int hypId, int studyId, SMESH_Gen* gen);
// Module : SMESH
// $Header$
-using namespace std;
-
#include "StdMeshers_ProjectionSource1D_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "StdMeshers_ObjRefUlils.hxx"
+using namespace std;
+
+
+
//=============================================================================
/*!
* StdMeshers_ProjectionSource1D_i::StdMeshers_ProjectionSource1D_i