CXXR (C++ R) API
Static Public Member Functions
CXXR::VectorOps::CopyAllAttributes Struct Reference

Control attribute copying for unary functions. More...

#include <UnaryFunction.hpp>

List of all members.

Static Public Member Functions

static void copyAttributes (VectorBase *to, const VectorBase *from)
 Copy all attributes and S4 object status.

Detailed Description

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.


Member Function Documentation

static void CXXR::VectorOps::CopyAllAttributes::copyAttributes ( VectorBase to,
const VectorBase from 
)
inlinestatic

Copy all attributes and S4 object status.

Parameters:
toNon-null pointer to the vector to which attributes are to be copied.
fromNon-null pointer to the vector from which attributes are to be copied.

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