/[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.1.1.1 by riso, Tue Oct 5 19:56:29 2004 UTC revision 1.3 by riso, Fri Apr 1 11:16:29 2005 UTC
# Line 120  Line 120 
120    return 0;    return 0;
121  }  }
122    
123    int nPersons() {
124      return persons->n;
125    }
126    
127    int nEntries() {
128      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) {

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

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