Salome HOME
0022778: [CEA 1298] Python file compilation should be done at build time, not install...
[modules/med.git] / src / MEDCalculator / MEDCalculatorDBField.cxx
index 5293642e1216ece7c3eda6ed1b6ca85dd82b71f1..8037eb9864910503e4968fa20d7d4e194fc7dc1f 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2015  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
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,6 +16,7 @@
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+// Author : Anthony Geay (CEA/DEN)
 
 #include "MEDCalculatorDBField.hxx"
 #include "MEDCalculatorBrowserField.hxx"
@@ -45,6 +46,16 @@ MEDCalculatorDBFieldCst *MEDCalculatorDBField::New(double val)
   return new MEDCalculatorDBFieldCst(val);
 }
 
+std::size_t MEDCalculatorDBField::getHeapMemorySizeWithoutChildren() const
+{
+  return 0;
+}
+
+std::vector<const BigMemoryObject *> MEDCalculatorDBField::getDirectChildrenWithNull() const
+{
+  return std::vector<const BigMemoryObject *>();
+}
+
 MEDCalculatorDBField *MEDCalculatorDBField::operator+(double val) const throw(INTERP_KERNEL::Exception)
 {
   MEDCouplingAutoRefCountObjectPtr<MEDCalculatorDBFieldCst> par2=new MEDCalculatorDBFieldCst(val);