CXXR (C++ R)
Static Public Member Functions
CXXR::VectorOps::GeneralBinaryAttributeCopier Class Reference

Control attribute copying for binary functions. More...

#include <BinaryFunction.hpp>

List of all members.

Static Public Member Functions

static void copyAttributes (VectorBase *vout, const VectorBase *vl, const VectorBase *vr)
 Copy attributes as described above.

Detailed Description

Control attribute copying for binary functions.

VectorOps::BinaryFunction takes as a template parameter an AttributeCopier class which determines which attributes are copied from the input vectors to the output vector. This class can be used as the value of the AttributeCopier parameter, and acts as follows:

Note that no class attribute is applied to the result unless at least one of the operands is a time series.


Member Function Documentation

static void CXXR::VectorOps::GeneralBinaryAttributeCopier::copyAttributes ( VectorBase vout,
const VectorBase vl,
const VectorBase vr 
)
inlinestatic

Copy attributes as described above.

Parameters:
voutNon-null pointer to the vector to which attributes are to be copied.
vlNon-null pointer to the first operand.
vrNon-null pointer to the second operand.

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