static int PRECISION = 7;
extern "C"
-VISU_Convertor* CreateDatConvertor(const string& theFileName) throw(std::runtime_error&){
+VISU_Convertor* CreateDatConvertor(const string& theFileName) {
VISU_DatConvertor* aConvertor = new VISU_DatConvertor(theFileName);
aConvertor->Build();
return aConvertor;
}
-VISU_DatConvertor::VISU_DatConvertor(const string& theFileName) throw(std::runtime_error&){
+VISU_DatConvertor::VISU_DatConvertor(const string& theFileName) {
myFileInfo.setFile(QString(theFileName.c_str()));
myName = (const char*)(myFileInfo.baseName());
}
-VISU_Convertor* VISU_DatConvertor::Build() throw (std::runtime_error&){
+VISU_Convertor* VISU_DatConvertor::Build() {
/*
ifstream stmIn(myFileInfo.absFilePath());
if(!stmIn.good())
}
int VISU_DatConvertor::ImportField(ifstream* pStmIn, int theNbPoints, vector<int>* pCellsType)
- throw (std::runtime_error&)
{
/*
ifstream &stmIn = *pStmIn;
int VISU_DatConvertor::ImportHead(ifstream* pStmIn, int* theNbPoints,
int* theNbCells, int* theNbFields)
- throw (std::runtime_error&)
{
/*
ifstream &stmIn = *pStmIn;
}
int VISU_DatConvertor::ImportPoints(ifstream* pStmIn, int theNbPoints)
- throw (std::runtime_error&)
{
/*
ifstream &stmIn = *pStmIn;
}
int VISU_DatConvertor::ImportCells(ifstream* pStmIn, vector<int>* pCellsType)
- throw (std::runtime_error&)
{
/*
ifstream &stmIn = *pStmIn;