blob: 77fc2d799f1fb4b025ad3d69037d87c49d29a71d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
%{
#include "treekey.h"
%}
class TreeKey : public SWKey {
protected:
TreeKey();
~TreeKey();
public:
virtual const char *getLocalName() = 0;
virtual const char *setLocalName(const char *) = 0;
virtual const char *getUserData(int *size = 0) = 0;
virtual void setUserData(const char *userData, int size = 0) = 0;
virtual const char *getFullName() const = 0;
virtual void root() = 0;
virtual bool parent() = 0;
virtual bool firstChild() = 0;
virtual bool nextSibling() = 0;
virtual bool previousSibling() = 0;
virtual bool hasChildren() = 0;
virtual void append() = 0;
virtual void appendChild() = 0;
virtual void insertBefore() = 0;
virtual void remove() = 0;
virtual void setOffset(unsigned long offset) = 0;
virtual unsigned long getOffset() const = 0;
//virtual void setText(const char *ikey) = 0;
virtual void setPosition(SW_POSITION p) = 0;
//virtual const char *getText() const = 0;
//virtual int compare(const SWKey &ikey) = 0;
//virtual void decrement(int steps = 1) = 0;
//virtual void increment(int steps = 1) = 0;
virtual char Traversable ();
virtual long Index () const;
//virtual long Index (long iindex);
};
|