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

#include <ops.hh>

Inheritance diagram for OpBinaryStruct:
BinaryOp

Public Member Functions

 OpBinaryStruct (const BaseType *newStructType, Ops::OpType op, unsigned int newResOff=0, unsigned int newOp1Off=0, unsigned int newOp2Off=0)
 constructor gets struct type. More...
 
virtual ~OpBinaryStruct ()
 destructor. More...
 
virtual void operator() (char *res, const char *op1, const char *op2)
 operator to carry out operation on struct { op}. More...
 
- Public Member Functions inherited from BinaryOp
 BinaryOp (const BaseType *newResType, const BaseType *newOp1Type, const BaseType *newOp2Type, unsigned int newResOff=0, unsigned int newOp1Off=0, unsigned int newOp2Off=0)
 
virtual void getCondenseInit (char *init)
 returns initialization value for {GenCondenseOp}. More...
 
virtual ~BinaryOp ()
 

Protected Attributes

StructTypemyStructType
 
unsigned int numElems
 
BinaryOp ** elemOps
 
- Protected Attributes inherited from BinaryOp
const BaseTypeop1Type
 
const BaseTypeop2Type
 
const BaseTyperesType
 
unsigned int resOff
 
unsigned int op1Off
 
unsigned int op2Off
 

Constructor & Destructor Documentation

OpBinaryStruct::OpBinaryStruct ( const BaseType newStructType,
Ops::OpType  op,
unsigned int  newResOff = 0,
unsigned int  newOp1Off = 0,
unsigned int  newOp2Off = 0 
)

constructor gets struct type.

virtual OpBinaryStruct::~OpBinaryStruct ( )
virtual

destructor.

Member Function Documentation

virtual void OpBinaryStruct::operator() ( char *  res,
const char *  op1,
const char *  op2 
)
virtual

operator to carry out operation on struct { op}.

Implements BinaryOp.

Member Data Documentation

BinaryOp** OpBinaryStruct::elemOps
protected
StructType* OpBinaryStruct::myStructType
protected
unsigned int OpBinaryStruct::numElems
protected

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