rasdaman complete source
Public Member Functions | Protected Attributes | List of all members
CondenseOp Class Referenceabstract

#include <ops.hh>

Inheritance diagram for CondenseOp:
OpALLCChar OpCondenseStruct OpCOUNTCChar OpMAXCDouble OpMAXCLong OpMAXCULong OpMINCDouble OpMINCLong OpMINCULong OpSOMECChar OpSUMCDouble OpSUMCLong OpSUMCULong

Public Member Functions

 CondenseOp (const BaseType *newResType, const BaseType *newOpType, unsigned int newResOff=0, unsigned int newOpOff=0)
 
 CondenseOp (const BaseType *newResType, char *newAccu, const BaseType *newOpType, unsigned int newResOff=0, unsigned int newOpOff=0)
 
virtual char * operator() (const char *op, char *myAccu)=0
 operator to carry out operation on { op}. More...
 
virtual char * operator() (const char *op)=0
 operator to carry out operation on { op} using internal accu. More...
 
virtual char * getAccuVal ()
 operator to access value of internal accumulator. More...
 
virtual ~CondenseOp ()
 

Protected Attributes

char * accu
 
const BaseTypeopType
 
const BaseTyperesType
 
unsigned int resOff
 
unsigned int opOff
 

Constructor & Destructor Documentation

CondenseOp::CondenseOp ( const BaseType newResType,
const BaseType newOpType,
unsigned int  newResOff = 0,
unsigned int  newOpOff = 0 
)
CondenseOp::CondenseOp ( const BaseType newResType,
char *  newAccu,
const BaseType newOpType,
unsigned int  newResOff = 0,
unsigned int  newOpOff = 0 
)
virtual CondenseOp::~CondenseOp ( )
virtual

Member Function Documentation

virtual char* CondenseOp::getAccuVal ( )
virtual

operator to access value of internal accumulator.

virtual char* CondenseOp::operator() ( const char *  op,
char *  myAccu 
)
pure virtual
virtual char* CondenseOp::operator() ( const char *  op)
pure virtual

operator to carry out operation on { op} using internal accu.

Implemented in OpCondenseStruct, OpSUMCDouble, OpSUMCLong, OpSUMCULong, OpMINCDouble, OpMINCLong, OpMINCULong, OpMAXCDouble, OpMAXCLong, OpMAXCULong, OpCOUNTCChar, OpALLCChar, and OpSOMECChar.

Member Data Documentation

char* CondenseOp::accu
protected
unsigned int CondenseOp::opOff
protected
const BaseType* CondenseOp::opType
protected
unsigned int CondenseOp::resOff
protected
const BaseType* CondenseOp::resType
protected

The documentation for this class was generated from the following file: