/[cvs]/dary/db_view.cpp
ViewVC logotype

Diff of /dary/db_view.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2 by riso, Fri Nov 5 20:48:15 2004 UTC revision 1.3 by riso, Fri Apr 1 11:16:29 2005 UTC
# Line 128  Line 128 
128    return entries->n;    return entries->n;
129  }  }
130    
131    long GlobalSum() {
132      int i;
133      long s;
134      for (s=0, i=0; i<entries->n; i++) {
135        s += ((tEntryId)(entries->data[i]))->sum;
136      }
137      return s;
138    }
139    
140  void *getRow(int r) {  void *getRow(int r) {
141    if (mode==MODE_PERSONS) {    if (mode==MODE_PERSONS) {
142      return (void *)(pa[r]);      return (void *)(pa[r]);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.26