Salome HOME
Fix SIGSEGV in data server, in local driver implementation, if some component does...
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeParameter_i.hxx
index a47b4c880eaba62dfe164c42bb9626c8a8356eae..fd64ef184b113d59f77fa953140f2c8bceee9760 100644 (file)
@@ -1,24 +1,25 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
-//  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.
+// 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.
 //
-//  This library is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-//  Lesser General Public License for more details.
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
 //
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with this library; if not, write to the Free Software
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 //  File   : SALOMEDS_AttributeParameter_i.hxx
 //  Author : Sergey RUIN
 //  Module : SALOME
@@ -51,25 +52,32 @@ public:
 
 
   virtual void SetInt(const char* theID, CORBA::Long theValue);
-  virtual CORBA::Long GetInt(const char* theID);
+  virtual CORBA::Long GetInt(const char* theID)
+    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
 
   virtual void SetReal(const char* theID, CORBA::Double theValue);
-  virtual CORBA::Double GetReal(const char* theID);
+  virtual CORBA::Double GetReal(const char* theID)
+    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
 
   virtual void SetString(const char* theID, const char* theValue);
-  virtual char* GetString(const char* theID);
+  virtual char* GetString(const char* theID)
+    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
   
   virtual void SetBool(const char* theID, CORBA::Boolean theValue);
-  virtual CORBA::Boolean GetBool(const char* theID);
+  virtual CORBA::Boolean GetBool(const char* theID)
+    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
   
   virtual void SetRealArray(const char* theID, const SALOMEDS::DoubleSeq& theArray);
-  virtual SALOMEDS::DoubleSeq* GetRealArray(const char* theID);
-
+  virtual SALOMEDS::DoubleSeq* GetRealArray(const char* theID)
+    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+  
   virtual void SetIntArray(const char* theID, const SALOMEDS::LongSeq& theArray);
-  virtual SALOMEDS::LongSeq* GetIntArray(const char* theID);
+  virtual SALOMEDS::LongSeq* GetIntArray(const char* theID)
+    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
 
   virtual void SetStrArray(const char* theID, const SALOMEDS::StringSeq& theArray);
-  virtual SALOMEDS::StringSeq* GetStrArray(const char* theID);
+  virtual SALOMEDS::StringSeq* GetStrArray(const char* theID)
+    throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
   
   virtual CORBA::Boolean IsSet(const char* theID, CORBA::Long theType);