comparison anagram/guisupport/coveragedc.h @ 0:13d2b8934445

Import AnaGram (near-)release tree into Mercurial.
author David A. Holland
date Sat, 22 Dec 2007 17:52:45 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:13d2b8934445
1 /*
2 * AnaGram, A System for Syntax Directed Programming
3 * Copyright 1993-2002 Parsifal Software. All Rights Reserved.
4 * See the file COPYING for license and usage terms.
5 *
6 * coveragedc.h
7 */
8
9 #ifndef COVERAGEDC_H
10 #define COVERAGEDC_H
11
12 #include "agarray.h"
13 #include "dc.h"
14
15
16 class rule_count_dc : public dc {
17 public:
18 AgArray<unsigned> counts;
19
20 rule_count_dc(const char *name, AgArray<unsigned>);
21 rule_count_dc(rule_count_dc &x) : dc(x) {}
22
23 virtual void getLine(unsigned) const;
24 virtual void synchCursor(unsigned) const;
25 //virtual dc_ref onCloneKey(void) { return new rule_count_dc(*this); }
26 };
27
28 extern dc_ref read_counts(AgString);
29
30
31 #endif /* COVERAGEDC_H */