SALOME - SMESH
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DriverSTL_W_SMDS_Mesh Class Reference

#include <DriverSTL_W_SMDS_Mesh.h>

Inheritance diagram for DriverSTL_W_SMDS_Mesh:
Inheritance graph
Collaboration diagram for DriverSTL_W_SMDS_Mesh:
Collaboration graph

Public Types

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

Public Member Functions

 DriverSTL_W_SMDS_Mesh ()
virtual Status Perform ()
void SetIsAscii (const bool theIsAscii=false)
void SetMesh (SMDS_Mesh *theMesh)
void SetMeshId (int theMeshId)
void SetFile (const std::string &theFileName)

Protected Attributes

SMDS_MeshmyMesh
std::string myFile
int myMeshId

Private Member Functions

Status writeAscii () const
Status writeBinary () const

Private Attributes

bool myIsAscii

Detailed Description

Definition at line 34 of file DriverSTL_W_SMDS_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 47 of file Driver_Mesh.h.

Constructor & Destructor Documentation

DriverSTL_W_SMDS_Mesh::DriverSTL_W_SMDS_Mesh ( )

Member Function Documentation

virtual Status DriverSTL_W_SMDS_Mesh::Perform ( )
virtual

Implements Driver_Mesh.

void DriverSTL_W_SMDS_Mesh::SetIsAscii ( const bool  theIsAscii = false)
Status DriverSTL_W_SMDS_Mesh::writeAscii ( ) const
private
Status DriverSTL_W_SMDS_Mesh::writeBinary ( ) const
private
void Driver_SMDS_Mesh::SetMesh ( SMDS_Mesh theMesh)
inherited
void Driver_Mesh::SetMeshId ( int  theMeshId)
inherited
void Driver_Mesh::SetFile ( const std::string &  theFileName)
inherited

Field Documentation

bool DriverSTL_W_SMDS_Mesh::myIsAscii
private

Definition at line 49 of file DriverSTL_W_SMDS_Mesh.h.

SMDS_Mesh* Driver_SMDS_Mesh::myMesh
protectedinherited

Definition at line 36 of file Driver_SMDS_Mesh.h.

std::string Driver_Mesh::myFile
protectedinherited

Definition at line 61 of file Driver_Mesh.h.

int Driver_Mesh::myMeshId
protectedinherited

Definition at line 62 of file Driver_Mesh.h.