Salome HOME
Suppress useless swiged methods
[modules/med.git] / src / MEDLoader / SauvReader.hxx
index d2d52cc624dd6c672fa807b5caa6b0ed10c7028f..abf232a05d3e741a518956216151ee1a024d8ed7 100644 (file)
 namespace SauvUtilities
 {
   class FileReader;
-  class IntermediateMED;
-  class Group;
-  class DoubleField;
+  struct IntermediateMED;
+  struct Group;
+  struct DoubleField;
 }
 namespace ParaMEDMEM
 {
   class MEDFileData;
 
-class MEDLOADER_EXPORT SauvReader : public ParaMEDMEM::RefCountObject
+class SauvReader : public ParaMEDMEM::RefCountObject
 {
  public:
-  static SauvReader* New(const char *fileName) throw(INTERP_KERNEL::Exception);
-  ParaMEDMEM::MEDFileData * loadInMEDFileDS() throw(INTERP_KERNEL::Exception);
-  ~SauvReader();
+  MEDLOADER_EXPORT static SauvReader* New(const char *fileName);
+  MEDLOADER_EXPORT ParaMEDMEM::MEDFileData * loadInMEDFileDS();
+  MEDLOADER_EXPORT ~SauvReader();
 
  private:
-  std::size_t getHeapMemorySize() const { return 0; }
-
+  std::size_t getHeapMemorySizeWithoutChildren() const;
+  std::vector<const BigMemoryObject *> getDirectChildren() const;
   void readRecord2();
   void readRecord4();
   void readRecord7();