CXXR (C++ R) API
|
Control attribute copying for unary functions. More...
#include <UnaryFunction.hpp>
Static Public Member Functions | |
static void | copyAttributes (VectorBase *to, const VectorBase *from) |
Copy all attributes and S4 object status. |
Control attribute copying for unary functions.
VectorOps::UnaryFunction takes as a template parameter an AttributeCopier class which determines which attributes are copied from the input vector to the output vector.
This class is a possible value of the AttributeCopier parameter, and its behaviour is to copy all attributes across, along with the S4 object status.
|
inlinestatic |
Copy all attributes and S4 object status.
to | Non-null pointer to the vector to which attributes are to be copied. |
from | Non-null pointer to the vector from which attributes are to be copied. |