aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/swig/treekeyidx.i
blob: bf06217c4794a4f1fef56eb64512f1f25aa9ef14 (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
48
49
50
51
52
53
%{
#include "treekeyidx.h"
%}

class TreeKeyIdx : public TreeKey {
	TreeKeyIdx(const TreeKeyIdx &ikey);
	TreeKeyIdx (const char *idxPath, int fileMode = -1);
	~TreeKeyIdx ();

//	virtual const char *getLocalName();
//	virtual const char *setLocalName(const char *);

//	virtual const char *getUserData(int *size = 0);
//	virtual void setUserData(const char *userData, int size = 0);

//	virtual const char *getFullName() const;

//	virtual void root();
//	virtual bool parent();

//	virtual bool firstChild();
//	virtual bool nextSibling();
//	virtual bool previousSibling();

//	virtual bool hasChildren();

//	virtual void append();
//	virtual void appendChild();
//	virtual void insertBefore();

//	virtual void remove();
	virtual void save();

	virtual void copyFrom(const TreeKeyIdx &ikey);
//	virtual void copyFrom(const SWKey & ikey);

//	virtual SWKey &operator = (const TreeKeyIdx &ikey) { copyFrom(ikey); return *this; }
//	void setOffset(unsigned long offset);
//	unsigned long getOffset() const;

//	SWKEY_OPERATORS

//	virtual void setText(const char *ikey);
//	virtual void setPosition(SW_POSITION p);
//	virtual const char *getText() const;
	virtual int _compare (const TreeKeyIdx & ikey);
//	virtual int compare(const SWKey &ikey);
//	virtual void decrement(int steps = 1);
//	virtual void increment(int steps = 1);
//	virtual char Traversable () { return 1; }

	static signed char create(const char *path);
};