CXXR (C++ R)
Namespaces | Typedefs | Functions
IntVector.h File Reference

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

Class CXXR::IntVector and associated C interface. More...

#include "CXXR/VectorBase.h"
#include "R_ext/Arith.h"
#include "CXXR/FixedVector.hpp"
#include "CXXR/SEXP_downcast.hpp"
#include "CXXR/LogicalVector.h"
Include dependency graph for IntVector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CXXR
 Namespace for the CXXR project.
namespace  CXXR::ElementTraits
 Namespace encapsulating traits of R vector element types.

Typedefs

typedef FixedVector< int, INTSXPCXXR::IntVector
 Vector of integer values.

Functions

int * INTEGER (SEXP x)

Detailed Description

Class CXXR::IntVector and associated C interface.


Function Documentation

int* INTEGER ( SEXP  x)
inline
Parameters:
xPointer to an IntVector or a LogicalVector (i.e. an R integer or logical vector). An error is generated if x is not a non-null pointer to an IntVector or a LogicalVector .
Returns:
Pointer to element 0 of x .