SALOME - SMESH
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

◆ Status

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::DriverSTL_W_SMDS_Mesh ( )

Member Function Documentation

◆ Perform()

virtual Status DriverSTL_W_SMDS_Mesh::Perform ( )
virtual

Implements Driver_Mesh.

◆ SetIsAscii()

void DriverSTL_W_SMDS_Mesh::SetIsAscii ( const bool  theIsAscii = false)

◆ writeAscii()

Status DriverSTL_W_SMDS_Mesh::writeAscii ( ) const
private

◆ writeBinary()

Status DriverSTL_W_SMDS_Mesh::writeBinary ( ) const
private

◆ SetMesh()

void Driver_SMDS_Mesh::SetMesh ( SMDS_Mesh theMesh)
inherited

◆ SetMeshId()

void Driver_Mesh::SetMeshId ( int  theMeshId)
inherited

◆ SetFile()

void Driver_Mesh::SetFile ( const std::string &  theFileName)
inherited

Field Documentation

◆ myIsAscii

bool DriverSTL_W_SMDS_Mesh::myIsAscii
private

Definition at line 49 of file DriverSTL_W_SMDS_Mesh.h.

◆ myMesh

SMDS_Mesh* Driver_SMDS_Mesh::myMesh
protectedinherited

Definition at line 36 of file Driver_SMDS_Mesh.h.

◆ myFile

std::string Driver_Mesh::myFile
protectedinherited

Definition at line 61 of file Driver_Mesh.h.

◆ myMeshId

int Driver_Mesh::myMeshId
protectedinherited

Definition at line 62 of file Driver_Mesh.h.