root/06/devel-old/agl.h

Revision 14, 1.0 kB (checked in by ug, 4 years ago)

Add 0.6 devel files to repository

Line 
1 #include Python.h
2 #include sgfpars.h
3
4
5 class abstractGameList {
6  public:
7   int boardsize, bsize;
8   int Bwins, Wwins, Owins;
9   map ... references;
10   int sort;
11   vector<pair<int,int> > gameIndex;
12
13   int showFilename, showDate;
14   int perDB, reverse;
15   char* criterion;
16
17   PyObject* progBar;
18   int stopAddDBVar;
19
20   abstractGameList(int boardsize, PyObject* progBar);
21
22   void readReferences(char* basepath);
23   pair<int,int> getIndex(int i);
24   pair<char*,int> getFilename(int index1);
25   int getMoveno(int index);
26   char* getString(int index);
27   vector<char*> getAllStrings();
28   char* getGameInfo(int index);
29   void changeBoardSize(int bs);
30   void reset();
31   char* sortCrit(int index, int c);
32   void updateGameIndex(int sortList = 1);
33   int numOfGames();
34   void toggleDisabled(int DBindex, int disabled = 1);
35   char* saveData();
36   void addDB(char* sgfpath, pair<char*,int> datap, PyObject* messages, int recProcess=0,
37              int algos=15, char* filenames="*.sgf", int sloppySGF=1, int duplicateCheck=1,
38              int strictDuplicateCheck=0);
39 };
Note: See TracBrowser for help on using the browser.