Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMESH_I / SMESH_MEDFamily_i.hxx
1 //=============================================================================
2 // File      : SMESH_MEDFamily_i.hxx
3 // Project   : SALOME
4 // Copyright : EDF 2001
5 //=============================================================================
6
7 #ifndef SMESH_MED_FAMILY_I_HXX_
8 #define SMESH_MED_FAMILY_I_HXX_
9
10 #include "SMESH_MEDSupport_i.hxx"
11
12 #include<string>
13
14 class SMESH_MEDFamily_i:
15   public POA_SALOME_MED::FAMILY,
16   public SMESH_MEDSupport_i
17 {
18 protected :
19   SMESH_MEDFamily_i();
20   ~SMESH_MEDFamily_i();
21   
22   ::SMESH_subMesh_i*      _subMesh_i;
23   
24   // Values
25   int       _identifier;
26   int       _numberOfAttribute;
27   int    *  _attributeIdentifier;
28   int    *  _attributeValue;
29   string *  _attributeDescription;
30   int       _numberOfGroup ;
31   string *  _groupName ;
32   
33
34 public :
35   
36   // Constructors and associated internal methods
37   SMESH_MEDFamily_i(int identifier, SMESH_subMesh_i* sm,
38                     string name, string description, SALOME_MED::medEntityMesh entity );
39   SMESH_MEDFamily_i(const SMESH_MEDFamily_i & f);
40   
41   CORBA::Long            getIdentifier()      
42     throw (SALOME::SALOME_Exception);
43   CORBA::Long            getNumberOfAttributes() 
44     throw (SALOME::SALOME_Exception);
45   Engines::long_array*   getAttributesIdentifiers() 
46     throw (SALOME::SALOME_Exception);
47   CORBA::Long            getAttributeIdentifier(CORBA::Long i) 
48     throw (SALOME::SALOME_Exception);
49   Engines::long_array*   getAttributesValues() 
50     throw (SALOME::SALOME_Exception);
51   CORBA::Long            getAttributeValue(CORBA::Long i) 
52     throw (SALOME::SALOME_Exception);
53   Engines::string_array* getAttributesDescriptions() 
54     throw (SALOME::SALOME_Exception);
55   char*                  getAttributeDescription( CORBA::Long i) 
56     throw (SALOME::SALOME_Exception);
57   
58 };
59 #endif /* MED_FAMILY_I_HXX_ */