CXXR (C++ R)
Namespaces | Functions | Variables
ListVector.cpp File Reference

($Id: ListVector.cpp 1351 2013-03-08 15:12:28Z arr $)

#include "CXXR/ListVector.h"
#include "CXXR/PairList.h"
Include dependency graph for ListVector.cpp:

Namespaces

namespace  CXXR
 Namespace for the CXXR project.

Functions

SEXP SET_VECTOR_ELT (SEXP x, int i, SEXP v)
 Set element of CXXR::ListVector.

Variables

SEXP(* CXXR::ForceNonInline::VECTOR_ELTp )(const SEXP x, int i) = VECTOR_ELT

Detailed Description

Implementation of class ListVector and related functions.

Todo:
Tidy up handling of names attribute, in particular to get rid of const_cast.

Function Documentation

SEXP SET_VECTOR_ELT ( SEXP  x,
int  i,
SEXP  v 
)

Set element of CXXR::ListVector.

Parameters:
xPointer to a CXXR::ListVector.
iIndex of the required element. There is no bounds checking.
vPointer, possibly null, to CXXR::RObject representing the new value.
Returns:
The new value v.