CXXR (C++ R)
|
Control attribute copying for unary functions. More...
#include <UnaryFunction.hpp>
Static Public Member Functions | |
static void | copyAttributes (VectorBase *to, const VectorBase *from) |
Copy 'names', 'dim' and 'dimnames' attributes. |
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 the 'names', 'dim' and 'dimnames' attributes if present.
|
static |
Copy 'names', 'dim' and 'dimnames' attributes.
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. |