Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

StandardAggregates.cc File Reference

Go to the history log for this file.

#include "Aggregate.h"
#include <cmath>

Classes

class  CountAggregate
struct  CountAggregate::MyWindow
class  StandardAggregate< type >
struct  StandardAggregate< type >::MyWindow< T >

Defines

#define NEWVAL   (arg(0).template eval<T>(ctxt))
#define NEWVAL   (arg(0).template eval<T>(ctxt))

Enumerations

enum  StandardAggregateType {
  MIN, MAX, SUM, AVG,
  FIRSTVAL, LASTVAL
}

Functions

 AURORA_DEFINE_AGGREGATE (CountAggregate,"count")
 NMSTL_SERIAL_DEFINE (CountAggregate, 1002)
 NMSTL_SERIAL_DEFINE (CountAggregate::MyWindow, 1020)
 AURORA_DEFINE_AGGREGATE (StandardAggregate< MIN >,"min")
 AURORA_DEFINE_AGGREGATE (StandardAggregate< MAX >,"max")
 AURORA_DEFINE_AGGREGATE (StandardAggregate< SUM >,"sum")
 AURORA_DEFINE_AGGREGATE (StandardAggregate< AVG >,"avg")
 AURORA_DEFINE_AGGREGATE (StandardAggregate< FIRSTVAL >,"firstval")
 AURORA_DEFINE_AGGREGATE (StandardAggregate< LASTVAL >,"lastval")

Define Documentation

#define NEWVAL   (arg(0).template eval<T>(ctxt))
 

#define NEWVAL   (arg(0).template eval<T>(ctxt))
 


Enumeration Type Documentation

enum StandardAggregateType
 

Enumeration values:
MIN 
MAX 
SUM 
AVG 
FIRSTVAL 
LASTVAL 


Function Documentation

AURORA_DEFINE_AGGREGATE StandardAggregate< LASTVAL >  ,
"lastval" 
 

AURORA_DEFINE_AGGREGATE StandardAggregate< FIRSTVAL >  ,
"firstval" 
 

AURORA_DEFINE_AGGREGATE StandardAggregate< AVG >  ,
"avg" 
 

AURORA_DEFINE_AGGREGATE StandardAggregate< SUM >  ,
"sum" 
 

AURORA_DEFINE_AGGREGATE StandardAggregate< MAX >  ,
"max" 
 

AURORA_DEFINE_AGGREGATE StandardAggregate< MIN >  ,
"min" 
 

AURORA_DEFINE_AGGREGATE CountAggregate  ,
"count" 
 

NMSTL_SERIAL_DEFINE CountAggregate::MyWindow  ,
1020 
 

NMSTL_SERIAL_DEFINE CountAggregate  ,
1002 
 


Generated on Fri Nov 12 15:15:22 2004 for Borealis by doxygen 1.3.8