1 // File: SALOMEDS_AttributeTreeNode_i.hxx
2 // Created: Fri Aug 2 10:21:01 2002
3 // Author: Yves FRICAUD
7 // Copyright : Open CASCADE 2002
11 #ifndef SALOMEDS_AttributeTreeNode_i_HeaderFile
12 #define SALOMEDS_AttributeTreeNode_i_HeaderFile
15 #include <TDataStd_TreeNode.hxx>
16 #include <SALOMEconfig.h>
17 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
18 #include "SALOMEDS_GenericAttribute_i.hxx"
20 class SALOMEDS_AttributeTreeNode_i: public virtual POA_SALOMEDS::AttributeTreeNode,
21 public virtual SALOMEDS_GenericAttribute_i {
24 SALOMEDS_AttributeTreeNode_i(const Handle(TDataStd_TreeNode)& theAttr, CORBA::ORB_ptr orb)
26 _myOrb = CORBA::ORB::_duplicate(orb);
29 ~SALOMEDS_AttributeTreeNode_i() {};
31 void SetFather(SALOMEDS::AttributeTreeNode_ptr value);
32 CORBA::Boolean HasFather();
33 SALOMEDS::AttributeTreeNode_ptr GetFather();
34 void SetPrevious(SALOMEDS::AttributeTreeNode_ptr value);
35 CORBA::Boolean HasPrevious();
36 SALOMEDS::AttributeTreeNode_ptr GetPrevious();
37 void SetNext(SALOMEDS::AttributeTreeNode_ptr value);
38 CORBA::Boolean HasNext();
39 SALOMEDS::AttributeTreeNode_ptr GetNext();
40 void SetFirst(SALOMEDS::AttributeTreeNode_ptr value);
41 CORBA::Boolean HasFirst();
42 SALOMEDS::AttributeTreeNode_ptr GetFirst();
43 void SetTreeID(const char* value);
45 void Append(SALOMEDS::AttributeTreeNode_ptr value);
46 void Prepend(SALOMEDS::AttributeTreeNode_ptr value);
47 void InsertBefore(SALOMEDS::AttributeTreeNode_ptr value);
48 void InsertAfter(SALOMEDS::AttributeTreeNode_ptr value);
51 CORBA::Boolean IsRoot();
52 CORBA::Boolean IsDescendant(SALOMEDS::AttributeTreeNode_ptr value);
53 CORBA::Boolean IsFather(SALOMEDS::AttributeTreeNode_ptr value);
54 CORBA::Boolean IsChild(SALOMEDS::AttributeTreeNode_ptr value);