Salome HOME
MEDCoupling1SGTUMesh::sortHexa8EachOther
[tools/medcoupling.git] / src / MEDLoader / SauvReader.cxx
index 5b17dcdf7d1c4f4af5e1dabbb31013c92bf08c18..428658fc2cae707f48c8103f3d340056f3903230 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -44,7 +44,7 @@ using namespace std;
  */
 //================================================================================
 
-SauvReader* SauvReader::New(const char *fileName) throw(INTERP_KERNEL::Exception)
+SauvReader* SauvReader::New(const char *fileName)
 {
   if ( !fileName || strlen(fileName) < 1 ) THROW_IK_EXCEPTION("Invalid file name");
 
@@ -81,6 +81,16 @@ SauvReader::~SauvReader()
   _fileReader->decrRef();
 }
 
+std::size_t SauvReader::getHeapMemorySizeWithoutChildren() const
+{
+  return 0;
+}
+
+std::vector<const BigMemoryObject *> SauvReader::getDirectChildren() const
+{
+  return std::vector<const BigMemoryObject *>();
+}
+
 //================================================================================
 /*!
  * \brief Return current line of ASCII file to report an error
@@ -102,7 +112,7 @@ std::string SauvReader::lineNb() const
  */
 //================================================================================
 
-ParaMEDMEM::MEDFileData * SauvReader::loadInMEDFileDS() throw(INTERP_KERNEL::Exception)
+ParaMEDMEM::MEDFileData * SauvReader::loadInMEDFileDS()
 {
   SauvUtilities::IntermediateMED iMed; // intermadiate DS
   _iMed = &iMed;
@@ -806,7 +816,7 @@ void SauvReader::read_PILE_NODES_FIELD (const int                 nbObjects,
         fdouble->_group = getFieldSupport( supports );
       else
         for ( i_sub = 0; i_sub < nb_sub; ++i_sub )
-          fdouble->_sub[ i_sub ]._support->_isProfile;
+          fdouble->_sub[ i_sub ]._support->_isProfile = true;
 
     } // end loop on field objects