Back to index

salome-smesh  6.5.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
MESHDRIVER_EXPORT Protocol Reference

#include <Driver_Document.h>

Collaboration diagram for MESHDRIVER_EXPORT:
Collaboration graph

List of all members.

Public Types

enum  Status {

Public Member Functions

 Driver_Document ()
virtual ~Driver_Document ()
virtual void Perform ()=0
void SetFile (const std::string &theFileName)
void SetDocument (SMESHDS_Document *theDocument)
 Driver_Mesh ()
virtual ~Driver_Mesh ()
virtual Status Perform ()=0
void SetMeshId (int theMeshId)
void SetFile (const std::string &theFileName)
virtual void SetMeshName (const std::string &theMeshName)
virtual std::string GetMeshName () const
 Driver_SMDS_Mesh ()
void SetMesh (SMDS_Mesh *theMesh)
 Driver_SMESHDS_Mesh ()
void SetMesh (SMESHDS_Mesh *theMesh)

Protected Member Functions

Status addMessage (const std::string &msg, const bool isFatal=false)

Protected Attributes

SMESHDS_Document * myDocument
std::string myFile
std::string myMeshName
int myMeshId
std::vector< std::string > myErrorMessages
SMDS_Mesh * myMesh
SMESHDS_Mesh * myMesh

Detailed Description

Definition at line 32 of file Driver_Document.h.

Member Enumeration Documentation


Definition at line 49 of file Driver_Mesh.h.

    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

virtual MESHDRIVER_EXPORT::~Driver_Document ( ) [inline, virtual]

Definition at line 36 of file Driver_Document.h.

virtual MESHDRIVER_EXPORT::~Driver_Mesh ( ) [inline, virtual]

Definition at line 47 of file Driver_Mesh.h.


Member Function Documentation

Status MESHDRIVER_EXPORT::addMessage ( const std::string &  msg,
const bool  isFatal = false 
) [protected]
virtual std::string MESHDRIVER_EXPORT::GetMeshName ( ) const [virtual]
virtual void MESHDRIVER_EXPORT::Perform ( ) [pure virtual]
virtual Status MESHDRIVER_EXPORT::Perform ( ) [pure virtual]
void MESHDRIVER_EXPORT::SetDocument ( SMESHDS_Document *  theDocument)
void MESHDRIVER_EXPORT::SetFile ( const std::string &  theFileName)
void MESHDRIVER_EXPORT::SetFile ( const std::string &  theFileName)
void MESHDRIVER_EXPORT::SetMesh ( SMESHDS_Mesh *  theMesh)
void MESHDRIVER_EXPORT::SetMesh ( SMDS_Mesh *  theMesh)
void MESHDRIVER_EXPORT::SetMeshId ( int  theMeshId)
virtual void MESHDRIVER_EXPORT::SetMeshName ( const std::string &  theMeshName) [virtual]

Member Data Documentation

SMESHDS_Document* MESHDRIVER_EXPORT::myDocument [protected]

Definition at line 43 of file Driver_Document.h.

std::vector< std::string > MESHDRIVER_EXPORT::myErrorMessages [protected]

Definition at line 70 of file Driver_Mesh.h.

std::string MESHDRIVER_EXPORT::myFile [protected]

Definition at line 44 of file Driver_Document.h.

SMESHDS_Mesh* MESHDRIVER_EXPORT::myMesh [protected]

Definition at line 37 of file Driver_SMESHDS_Mesh.h.

SMDS_Mesh* MESHDRIVER_EXPORT::myMesh [protected]

Definition at line 37 of file Driver_SMDS_Mesh.h.

int MESHDRIVER_EXPORT::myMeshId [protected]

Definition at line 67 of file Driver_Mesh.h.

std::string MESHDRIVER_EXPORT::myMeshName [protected]

Definition at line 66 of file Driver_Mesh.h.

The documentation for this protocol was generated from the following files: