File: CloneManager.h

package info (click to toggle)
gentle 1.9+cvs20100605+dfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,224 kB
  • ctags: 6,214
  • sloc: cpp: 41,569; ansic: 3,978; sh: 1,420; makefile: 243
file content (29 lines) | stat: -rw-r--r-- 751 bytes parent folder | download | duplicates (6)
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
#ifndef __CLONE_MANAGER_5_H_
#define __CLONE_MANAGER_5_H_

#include "main.h"


class TVector ;
class TVectorItem ;

class TCloneManager
    {
    public :
    TCloneManager () ; ///< Constructor
    ~TCloneManager () ; ///< Dummy destructor
	
    void load ( wxString file ) ; ///< Load XML from file
    bool success () { return _success ; } ///< Errors during parsing?
    int countVectors () ; ///< How many vectors were made from the XML?
    TVector *getVector ( int a ) ; ///< Returns pointer to one of the vectors
    
    private :
	int scan_item ( unsigned char *t , int a , TVector *v ) ;
		
    bool _success ; ///< Internal success marker
    vector <TVector*> _v ; ///< The generated vectors
    } ;


#endif