Version: 6.3.1
Defines | Functions

src/SMESH_I/SMESH_Pattern_i.cxx File Reference

#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>
Include dependency graph for SMESH_Pattern_i.cxx:

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 Documentation

#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().


Function Documentation

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()";
}
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS