1 // File : SALOMEDS_AttributeTreeNode_i.hxx
2 // Author : Sergey RUIN
5 #ifndef SALOMEDS_AttributeTreeNode_i_HeaderFile
6 #define SALOMEDS_AttributeTreeNode_i_HeaderFile
9 #include <SALOMEconfig.h>
10 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
12 #include "SALOMEDS_GenericAttribute_i.hxx"
13 #include "SALOMEDSImpl_AttributeTreeNode.hxx"
15 class SALOMEDS_AttributeTreeNode_i: public virtual POA_SALOMEDS::AttributeTreeNode,
16 public virtual SALOMEDS_GenericAttribute_i {
19 SALOMEDS_AttributeTreeNode_i(const Handle(SALOMEDSImpl_AttributeTreeNode)& theAttr, CORBA::ORB_ptr orb)
20 :SALOMEDS_GenericAttribute_i(theAttr, orb) {};
22 ~SALOMEDS_AttributeTreeNode_i() {};
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);
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);
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);