]> SALOME platform Git repositories - modules/kernel.git/blob - src/SALOMEDS/SALOMEDS_AttributeTreeNode_i.hxx
Salome HOME
Preparation of 3.1.0a2 - compilation error on Fedora3 platform
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeTreeNode_i.hxx
1 //  File   : SALOMEDS_AttributeTreeNode_i.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef SALOMEDS_AttributeTreeNode_i_HeaderFile
6 #define SALOMEDS_AttributeTreeNode_i_HeaderFile
7
8 // IDL headers
9 #include <SALOMEconfig.h>
10 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
11
12 #include "SALOMEDS_GenericAttribute_i.hxx"
13 #include "SALOMEDSImpl_AttributeTreeNode.hxx"
14
15 class SALOMEDS_AttributeTreeNode_i: public virtual POA_SALOMEDS::AttributeTreeNode,
16                                     public virtual SALOMEDS_GenericAttribute_i {
17 public:
18   
19   SALOMEDS_AttributeTreeNode_i(const Handle(SALOMEDSImpl_AttributeTreeNode)& theAttr, CORBA::ORB_ptr orb) 
20     :SALOMEDS_GenericAttribute_i(theAttr, orb) {}; 
21  
22   ~SALOMEDS_AttributeTreeNode_i() {};
23
24   void SetFather(SALOMEDS::AttributeTreeNode_ptr value);
25   CORBA::Boolean HasFather();
26   SALOMEDS::AttributeTreeNode_ptr GetFather();
27   void SetPrevious(SALOMEDS::AttributeTreeNode_ptr value);
28   CORBA::Boolean HasPrevious();
29   SALOMEDS::AttributeTreeNode_ptr GetPrevious();
30   void SetNext(SALOMEDS::AttributeTreeNode_ptr value);
31   CORBA::Boolean HasNext();
32   SALOMEDS::AttributeTreeNode_ptr GetNext();
33   void SetFirst(SALOMEDS::AttributeTreeNode_ptr value);
34   CORBA::Boolean HasFirst();
35   SALOMEDS::AttributeTreeNode_ptr GetFirst();
36   void SetTreeID(const char* value);
37   char* GetTreeID();
38   void Append(SALOMEDS::AttributeTreeNode_ptr value);
39   void Prepend(SALOMEDS::AttributeTreeNode_ptr value);
40   void InsertBefore(SALOMEDS::AttributeTreeNode_ptr value);
41   void InsertAfter(SALOMEDS::AttributeTreeNode_ptr value);
42   void Remove();
43   CORBA::Long Depth();
44   CORBA::Boolean IsRoot();
45   CORBA::Boolean IsDescendant(SALOMEDS::AttributeTreeNode_ptr value);
46   CORBA::Boolean IsFather(SALOMEDS::AttributeTreeNode_ptr value);
47   CORBA::Boolean IsChild(SALOMEDS::AttributeTreeNode_ptr value);
48   char* Label();
49
50 };
51
52 #endif