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

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

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

#include "CXXR/VectorBase.h"
#include "CXXR/FixedVector.hpp"
#include "CXXR/SEXP_downcast.hpp"
Include dependency graph for RawVector.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 unsigned char Rbyte
typedef CXXR::FixedVector
< Rbyte, RAWSXP
CXXR::RawVector
 Vector of 'raw bytes'.

Functions

Rbyte * RAW (SEXP x)

Detailed Description

Class CXXR::RawVector and associated C interface.


Function Documentation

Rbyte* RAW ( SEXP  x)
inline
Parameters:
xPointer to a CXXR::RawVector (i.e. a RAWSXP). An error is generated if x is not a non-null pointer to a CXXR::RawVector .
Returns:
Pointer to element 0 of x .