Salome HOME
ENV: Windows porting.
[modules/kernel.git] / src / SALOMEDSClient / SALOMEDSClient_AttributeTreeNode.hxx
1 //  File   : SALOMEDSClient_AttributeTreeNode.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef SALOMEDSClient_AttributeTreeNode_HeaderFile
6 #define SALOMEDSClient_AttributeTreeNode_HeaderFile
7
8 #include "SALOMEDSClient_definitions.hxx" 
9 #include "SALOMEDSClient_GenericAttribute.hxx" 
10
11 class SALOMEDSClient_AttributeTreeNode
12 {
13 public:
14   
15   virtual void SetFather(const _PTR(AttributeTreeNode)& value) = 0;
16   virtual bool HasFather() = 0;
17   virtual _PTR(AttributeTreeNode) GetFather() = 0;
18   virtual void SetPrevious(const _PTR(AttributeTreeNode)& value) = 0;
19   virtual bool HasPrevious() = 0;
20   virtual _PTR(AttributeTreeNode) GetPrevious() = 0;
21   virtual void SetNext(const _PTR(AttributeTreeNode)& value) = 0;
22   virtual bool HasNext() = 0;
23   virtual _PTR(AttributeTreeNode) GetNext() = 0;
24   virtual void SetFirst(const _PTR(AttributeTreeNode)& value) = 0;
25   virtual bool HasFirst() = 0;
26   virtual _PTR(AttributeTreeNode) GetFirst() = 0;
27   virtual void SetTreeID(const std::string& value) = 0;
28   virtual std::string GetTreeID() = 0;
29   virtual void Append(const _PTR(AttributeTreeNode)& value) = 0;
30   virtual void Prepend(const _PTR(AttributeTreeNode)& value) = 0;
31   virtual void InsertBefore(const _PTR(AttributeTreeNode)& value) = 0;
32   virtual void InsertAfter(const _PTR(AttributeTreeNode)& value) = 0;
33   virtual void Remove() = 0;
34   virtual int Depth() = 0;
35   virtual bool IsRoot() = 0;
36   virtual bool IsDescendant(const _PTR(AttributeTreeNode)& value) = 0;
37   virtual bool IsFather(const _PTR(AttributeTreeNode)& value) = 0;
38   virtual bool IsChild(const _PTR(AttributeTreeNode)& value) = 0;
39   virtual std::string Label() = 0;
40
41 };
42
43 #endif