#include "SMESH_Pattern_i.hxx"#include "GEOM_Client.hxx"#include "SMESH_Gen_i.hxx"#include "SMESH_Mesh.hxx"#include "SMESH_Mesh_i.hxx"#include "SMESH_PythonDump.hxx"#include "SMDS_MeshFace.hxx"#include "SMDS_MeshVolume.hxx"#include <TopExp_Explorer.hxx>#include <TopoDS.hxx>#include <TopoDS_Face.hxx>#include <Standard_Failure.hxx>#include <Standard_ErrorHandler.hxx>#include <sstream>#include <set>
Go to the source code of this file.
Defines | |
| #define | RETCASE(enm) case ::SMESH_Pattern::enm: return SMESH::SMESH_Pattern::enm; |
Functions | |
| static void | addErrorCode (const char *thePyCommand) |
| #define RETCASE | ( | enm | ) | case ::SMESH_Pattern::enm: return SMESH::SMESH_Pattern::enm; |
Definition at line 494 of file SMESH_Pattern_i.cxx.
Referenced by SMESH_Pattern_i.GetErrorCode().
| static void addErrorCode | ( | const char * | thePyCommand | ) | [static] |
Definition at line 56 of file SMESH_Pattern_i.cxx.
Referenced by SMESH_Pattern_i.LoadFrom3DBlock(), SMESH_Pattern_i.LoadFromFace(), SMESH_Pattern_i.LoadFromFile(), and SMESH_Pattern_i.MakeMesh().
{
TPythonDump() << "if (isDone != 1):";
TPythonDump() << "\tprint '" << thePyCommand << " :', pattern.GetErrorCode()";
}