File: XStringList.h

package info (click to toggle)
gnuplot 3.7.2-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,212 kB
  • ctags: 4,635
  • sloc: ansic: 43,538; cpp: 970; makefile: 883; lisp: 661; sh: 578; asm: 539; objc: 379; csh: 297; pascal: 192; perl: 138
file content (47 lines) | stat: -rw-r--r-- 636 bytes parent folder | download | duplicates (8)
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
Class XStringList {
	protected:
		int32	numStrings;
		int32	maxStrings;
		int32	bufferSize;
		int32	bufferUse;
		char 	*strArray[];
		char	*strBuffer;
		char	*strNext;
	public :
		XStringList();
		XStringList(char *head, int32 numStr);
		~XStringList();
		Add(char *str);
		char *operator[int i];
}

XStringList::XStringList()
{
	numStrings	= 0;
	maxStrings	= INITIAL_SIZE;
	bufferSize	= INITIAL_SIZE * 16;
	bufferUse	= 0;
	strArray	new();
	strNext = strBuffer = ;
}

XStringList::XStringList(char *head, int32 numStr)
{

}

XStringList::~XStringList()
{

}

XStringList::Add(char *str)
{

}

char *XStringList::operator[int idx]
{

}