Version: 6.3.1
Public Types | Public Member Functions | Protected Attributes

DriverDAT_W_SMESHDS_Mesh Class Reference

#include <DriverDAT_W_SMESHDS_Mesh.h>

Inheritance diagram for DriverDAT_W_SMESHDS_Mesh:
Inheritance graph
[legend]

Public Types

enum  Status {
  DRS_OK, DRS_EMPTY, DRS_WARN_RENUMBER, DRS_WARN_SKIP_ELEM,
  DRS_FAIL
}

Public Member Functions

void SetMesh (SMESHDS_Mesh *theMesh)
virtual Status Perform ()=0
void SetMeshId (int theMeshId)
void SetFile (const std::string &theFileName)

Protected Attributes

SMESHDS_MeshmyMesh
std::string myFile
int myMeshId

Detailed Description

Definition at line 34 of file DriverDAT_W_SMESHDS_Mesh.h.


Member Enumeration Documentation

enum Driver_Mesh::Status [inherited]
Enumerator:
DRS_OK 
DRS_EMPTY 
DRS_WARN_RENUMBER 
DRS_WARN_SKIP_ELEM 
DRS_FAIL 

Definition at line 48 of file Driver_Mesh.h.

              {
    DRS_OK,
    DRS_EMPTY,          // a file contains no mesh with the given name
    DRS_WARN_RENUMBER,  // a file has overlapped ranges of element numbers,
                        // so the numbers from the file are ignored
    DRS_WARN_SKIP_ELEM, // some elements were skipped due to incorrect file data
    DRS_FAIL            // general failure (exception etc.)
  };

Member Function Documentation

virtual Status Driver_Mesh.Perform ( ) [pure virtual, inherited]
void Driver_Mesh::SetFile ( const std::string &  theFileName) [inherited]
void Driver_SMESHDS_Mesh::SetMesh ( SMESHDS_Mesh theMesh) [inherited]

Definition at line 31 of file Driver_SMESHDS_Mesh.cxx.

References Driver_SMESHDS_Mesh.myMesh.

Referenced by SMESH_Gen_i.Load(), and SMESH_Mesh.MEDToMesh().

{
  myMesh = theMesh;
}
void Driver_Mesh::SetMeshId ( int  theMeshId) [inherited]

Field Documentation

std::string Driver_Mesh.myFile [protected, inherited]
SMESHDS_Mesh* Driver_SMESHDS_Mesh.myMesh [protected, inherited]
int Driver_Mesh.myMeshId [protected, inherited]

Definition at line 63 of file Driver_Mesh.h.

Referenced by DriverMED_W_SMESHDS_Mesh.Perform(), and Driver_Mesh.SetMeshId().

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