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

Driver_Mesh Class Reference

#include <Driver_Mesh.h>

Inheritance diagram for Driver_Mesh:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

 Driver_Mesh ()
virtual ~Driver_Mesh ()
virtual Status Perform ()=0
void SetMeshId (int theMeshId)
void SetFile (const std::string &theFileName)

Protected Attributes

std::string myFile
int myMeshId

Detailed Description

Definition at line 42 of file Driver_Mesh.h.


Member Enumeration Documentation

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.)
  };

Constructor & Destructor Documentation

Driver_Mesh::Driver_Mesh ( )

Definition at line 31 of file Driver_Mesh.cxx.

                        :
  myFile(""),
  myMeshId(-1)
{}
virtual Driver_Mesh.~Driver_Mesh ( ) [virtual]

Definition at line 46 of file Driver_Mesh.h.

{}

Member Function Documentation

virtual Status Driver_Mesh.Perform ( ) [pure virtual]
void Driver_Mesh::SetFile ( const std::string &  theFileName)
void Driver_Mesh::SetMeshId ( int  theMeshId)

Field Documentation

std::string Driver_Mesh.myFile [protected]

Definition at line 63 of file Driver_Mesh.h.

Referenced by DriverMED_W_SMESHDS_Mesh.Perform(), and 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