rasdaman complete source
Public Member Functions | Protected Attributes | List of all members
OpCondenseStruct Class Reference

#include <ops.hh>

Inheritance diagram for OpCondenseStruct:
CondenseOp

Public Member Functions

 OpCondenseStruct (const BaseType *newResType, const BaseType *newOpType, Ops::OpType op, unsigned int newResOff=0, unsigned int newOpOff=0)
 constructor gets struct type. More...
 
 OpCondenseStruct (const BaseType *newResType, char *newAccu, const BaseType *newOpType, Ops::OpType op, unsigned int newResOff, unsigned int newOpOff)
 constructor gets struct type and initial value for internal accu. More...
 
virtual ~OpCondenseStruct ()
 destructor. More...
 
virtual char * operator() (const char *op, char *myAccu)
 operator to carry out operation on struct { op}. More...
 
virtual char * operator() (const char *op)
 operator to carry out operation on struct { op} using internal accu. More...
 
- Public Member Functions inherited from CondenseOp
 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 * getAccuVal ()
 operator to access value of internal accumulator. More...
 
virtual ~CondenseOp ()
 

Protected Attributes

StructTypemyResType
 
StructTypemyOpType
 
unsigned int numElems
 
CondenseOp ** elemOps
 
- Protected Attributes inherited from CondenseOp
char * accu
 
const BaseTypeopType
 
const BaseTyperesType
 
unsigned int resOff
 
unsigned int opOff
 

Constructor & Destructor Documentation

OpCondenseStruct::OpCondenseStruct ( const BaseType newResType,
const BaseType newOpType,
Ops::OpType  op,
unsigned int  newResOff = 0,
unsigned int  newOpOff = 0 
)

constructor gets struct type.

OpCondenseStruct::OpCondenseStruct ( const BaseType newResType,
char *  newAccu,
const BaseType newOpType,
Ops::OpType  op,
unsigned int  newResOff,
unsigned int  newOpOff 
)

constructor gets struct type and initial value for internal accu.

virtual OpCondenseStruct::~OpCondenseStruct ( )
virtual

destructor.

Member Function Documentation

virtual char* OpCondenseStruct::operator() ( const char *  op,
char *  myAccu 
)
virtual

operator to carry out operation on struct { op}.

Implements CondenseOp.

virtual char* OpCondenseStruct::operator() ( const char *  op)
virtual

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

Implements CondenseOp.

Member Data Documentation

CondenseOp** OpCondenseStruct::elemOps
protected
StructType* OpCondenseStruct::myOpType
protected
StructType* OpCondenseStruct::myResType
protected
unsigned int OpCondenseStruct::numElems
protected

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