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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
|
// $Id: xxl_funcs.hh,v 1.10 1997/01/02 16:15:30 aml Exp $
#ifndef _XXL_FUNCS_DOT_HH_
#define _XXL_FUNCS_DOT_HH_
#include "rpn.hh"
class Sheet;
int month_function(double);
int day_function(double);
int hour_function(double);
int minute_function(double);
int second_function(double);
class If {
Stack_elem *se;
int cnt;
double sum;
int choice;
public:
If();
Stack_elem *eval(Stack_elem *, Sheet *sheet, short col, short row);
~If();
};
class Sumif {
Stack_elem *se;
int cnt;
Range rg1,rg2;
char *cond;
public:
Sumif();
Stack_elem *eval(Stack_elem *, Sheet *sheet, short col, short row);
~Sumif();
};
class Round {
Stack_elem *se;
double res;
public:
Round();
Stack_elem *eval(Stack_elem *, Sheet *sheet, short col, short row);
~Round();
};
class Vlookup {
Stack_elem *se;
double res;
public:
Vlookup();
Stack_elem *eval(Stack_elem *, Sheet *sheet, short col, short row);
~Vlookup();
};
class Hlookup {
Stack_elem *se;
double res;
public:
Hlookup();
Stack_elem *eval(Stack_elem *, Sheet *sheet, short col, short row);
~Hlookup();
};
class Upper {
Stack_elem *se;
double res;
public:
Upper();
Stack_elem *eval(Stack_elem *, Sheet *sheet, short col, short row);
~Upper();
};
class Lower {
Stack_elem *se;
double res;
public:
Lower();
Stack_elem *eval(Stack_elem *, Sheet *sheet, short col, short row);
~Lower();
};
class Proper {
Stack_elem *se;
double res;
public:
Proper();
Stack_elem *eval(Stack_elem *, Sheet *sheet, short col, short row);
~Proper();
};
class Sum {
Stack_elem *se;
double sum;
public:
Sum();
Stack_elem *eval(Stack_elem *, Sheet *sheet, short col, short row);
~Sum();
};
class Max {
Stack_elem *se;
double max;
public:
Max();
Stack_elem *eval(Stack_elem *, Sheet *sheet, short col, short row);
~Max();
};
class Min {
Stack_elem *se;
double min;
public:
Min();
Stack_elem *eval(Stack_elem *, Sheet *sheet, short col, short row);
~Min();
};
class Count {
Stack_elem *se;
int count;
public:
Count();
Stack_elem *eval(Stack_elem *, Sheet *sheet, short col, short row);
~Count();
};
#endif
/* $log
*/
|