smesh/src/SMESH_I/SMESH_MEDFamily_i.hxx

93 lines
3.2 KiB
C++
Raw Normal View History

2013-04-01 19:05:47 +06:00
// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
2009-02-17 10:27:49 +05:00
//
2012-08-09 16:03:55 +06:00
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
2009-02-17 10:27:49 +05:00
//
2012-08-09 16:03:55 +06:00
// 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.
2003-07-10 19:35:03 +06:00
//
2012-08-09 16:03:55 +06:00
// 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.
2003-07-10 19:35:03 +06:00
//
2012-08-09 16:03:55 +06:00
// 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
2003-07-10 19:35:03 +06:00
//
2012-08-09 16:03:55 +06:00
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
2003-07-10 19:35:03 +06:00
//
2012-08-09 16:03:55 +06:00
2009-02-17 10:27:49 +05:00
// SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
2003-07-10 19:35:03 +06:00
// File : SMESH_MEDFamily_i.hxx
// Module : SMESH
2009-02-17 10:27:49 +05:00
//
2003-05-19 19:54:48 +06:00
#ifndef SMESH_MED_FAMILY_I_HXX_
#define SMESH_MED_FAMILY_I_HXX_
#include "SMESH.hxx"
2003-05-19 19:54:48 +06:00
#include "SMESH_MEDSupport_i.hxx"
#include<string>
class SMESH_I_EXPORT SMESH_MEDFamily_i:
2005-10-06 20:25:07 +06:00
public virtual POA_SALOME_MED::FAMILY,
public virtual SMESH_MEDSupport_i
2003-05-19 19:54:48 +06:00
{
protected :
SMESH_MEDFamily_i();
~SMESH_MEDFamily_i();
::SMESH_subMesh_i* _subMesh_i;
// Values
int _identifier;
int _numberOfAttribute;
int * _attributeIdentifier;
int * _attributeValue;
2009-02-17 10:27:49 +05:00
std::string * _attributeDescription;
2003-05-19 19:54:48 +06:00
int _numberOfGroup ;
2009-02-17 10:27:49 +05:00
std::string * _groupName ;
2003-05-19 19:54:48 +06:00
public :
// Constructors and associated internal methods
SMESH_MEDFamily_i(int identifier, SMESH_subMesh_i* sm,
2012-08-09 16:03:55 +06:00
std::string name, std::string description, SALOME_MED::medEntityMesh entity );
2003-05-19 19:54:48 +06:00
SMESH_MEDFamily_i(const SMESH_MEDFamily_i & f);
2004-12-17 16:07:35 +05:00
// IDL Methods
void setProtocol(SALOME::TypeOfCommunication typ) {}
void release() {}
SALOME::SenderInt_ptr getSenderForNumber(SALOME_MED::medGeometryElement) {return SALOME::SenderInt::_nil();}
2005-06-08 12:58:18 +06:00
SALOME::SenderInt_ptr getSenderForNumberIndex() {return SALOME::SenderInt::_nil();}
2004-12-17 16:07:35 +05:00
2003-05-19 19:54:48 +06:00
CORBA::Long getIdentifier()
throw (SALOME::SALOME_Exception);
CORBA::Long getNumberOfAttributes()
throw (SALOME::SALOME_Exception);
2012-08-09 16:03:55 +06:00
SALOME_TYPES::ListOfLong* getAttributesIdentifiers()
2003-05-19 19:54:48 +06:00
throw (SALOME::SALOME_Exception);
CORBA::Long getAttributeIdentifier(CORBA::Long i)
throw (SALOME::SALOME_Exception);
2012-08-09 16:03:55 +06:00
SALOME_TYPES::ListOfLong* getAttributesValues()
2003-05-19 19:54:48 +06:00
throw (SALOME::SALOME_Exception);
CORBA::Long getAttributeValue(CORBA::Long i)
throw (SALOME::SALOME_Exception);
2012-08-09 16:03:55 +06:00
SALOME_TYPES::ListOfString* getAttributesDescriptions()
2003-05-19 19:54:48 +06:00
throw (SALOME::SALOME_Exception);
char* getAttributeDescription( CORBA::Long i)
throw (SALOME::SALOME_Exception);
CORBA::Long getNumberOfGroups()
throw (SALOME::SALOME_Exception);
char * getGroupName( CORBA::Long i)
throw (SALOME::SALOME_Exception);
2012-08-09 16:03:55 +06:00
SALOME_TYPES::ListOfString* getGroupsNames()
throw (SALOME::SALOME_Exception);
2003-05-19 19:54:48 +06:00
};
#endif /* MED_FAMILY_I_HXX_ */