-// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// 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
-//
+//
// 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
+// 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
+//
+// 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
+// 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);