Salome HOME
Issue 0013373: EDF PAL 273 : Option Single/Multi file dump
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeParameter_i.hxx
index df1ba297a873e20d6e09ee3c1f5ba0776ecb9a9c..b03c00a6bdb0e0f9d8acf85e06e9b6f2ce6ab5ac 100644 (file)
@@ -1,27 +1,30 @@
-// Copyright (C) 2005  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 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.
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-// 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
+//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//  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.
+//
+//  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
+//
+
 //  File   : SALOMEDS_AttributeParameter_i.hxx
 //  Author : Sergey RUIN
 //  Module : SALOME
 //  $Header:
-
+//
 #ifndef SALOMEDS_AttributeParameter_i_HeaderFile
 #define SALOMEDS_AttributeParameter_i_HeaderFile
 
 */
 
 class SALOMEDS_AttributeParameter_i: public virtual POA_SALOMEDS::AttributeParameter,
-                                    public virtual SALOMEDS_GenericAttribute_i 
+                                     public virtual SALOMEDS_GenericAttribute_i 
 {
 public:
   
-  SALOMEDS_AttributeParameter_i(const Handle(SALOMEDSImpl_AttributeParameter)& theAttr, CORBA::ORB_ptr orb) 
+  SALOMEDS_AttributeParameter_i(SALOMEDSImpl_AttributeParameter* theAttr, CORBA::ORB_ptr orb) 
     :SALOMEDS_GenericAttribute_i(theAttr, orb) {}; 
 
   ~SALOMEDS_AttributeParameter_i() {};
 
 
   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, const CORBA::Double theValue);
-  virtual CORBA::Double GetReal(const char* theID);
+  virtual void SetReal(const char* theID, CORBA::Double theValue);
+  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);