Rcpp Version 0.12.12
Rcpp::internal::string_name_proxy< RTYPE > Class Template Reference

#include <00_forward_proxy.h>

Collaboration diagram for Rcpp::internal::string_name_proxy< RTYPE >:

Public Types

typedef ::Rcpp::Vector< RTYPE > VECTOR
 
typedef const char * iterator
 
typedef const char & reference
 

Public Member Functions

 string_name_proxy (VECTOR &v, const std::string &name_)
 
 string_name_proxy (const string_name_proxy &other)
 
 ~string_name_proxy ()
 
string_name_proxyoperator= (const std::string &rhs)
 
string_name_proxyoperator= (const string_name_proxy &other)
 
 operator char * ()
 
 operator SEXP ()
 
iterator begin ()
 
iterator end ()
 
reference operator[] (R_xlen_t i)
 
R_xlen_t size ()
 

Private Member Functions

void set (const std::string &rhs)
 
char * get ()
 

Private Attributes

VECTORparent
 
std::string name
 

Detailed Description

template<int RTYPE>
class Rcpp::internal::string_name_proxy< RTYPE >

Definition at line 33 of file 00_forward_proxy.h.

Member Typedef Documentation

template<int RTYPE>
typedef const char* Rcpp::internal::string_name_proxy< RTYPE >::iterator

Definition at line 85 of file proxy.h.

template<int RTYPE>
typedef const char& Rcpp::internal::string_name_proxy< RTYPE >::reference

Definition at line 86 of file proxy.h.

template<int RTYPE>
typedef ::Rcpp::Vector<RTYPE> Rcpp::internal::string_name_proxy< RTYPE >::VECTOR

Definition at line 84 of file proxy.h.

Constructor & Destructor Documentation

template<int RTYPE>
Rcpp::internal::string_name_proxy< RTYPE >::string_name_proxy ( VECTOR v,
const std::string &  name_ 
)
inline

Definition at line 88 of file proxy.h.

template<int RTYPE>
Rcpp::internal::string_name_proxy< RTYPE >::string_name_proxy ( const string_name_proxy< RTYPE > &  other)
inline

Definition at line 90 of file proxy.h.

template<int RTYPE>
Rcpp::internal::string_name_proxy< RTYPE >::~string_name_proxy ( )
inline

Definition at line 92 of file proxy.h.

Member Function Documentation

template<int RTYPE>
iterator Rcpp::internal::string_name_proxy< RTYPE >::begin ( )
inline

Definition at line 111 of file proxy.h.

template<int RTYPE>
iterator Rcpp::internal::string_name_proxy< RTYPE >::end ( )
inline

Definition at line 112 of file proxy.h.

template<int RTYPE>
char* Rcpp::internal::string_name_proxy< RTYPE >::get ( )
inlineprivate

Definition at line 128 of file proxy.h.

References Rcpp::Vector< RTYPE, StoragePolicy >::offset().

Referenced by Rcpp::internal::string_name_proxy< RTYPE >::operator=().

Here is the call graph for this function:

template<int RTYPE>
Rcpp::internal::string_name_proxy< RTYPE >::operator char * ( )
inline

Definition at line 103 of file proxy.h.

template<int RTYPE>
Rcpp::internal::string_name_proxy< RTYPE >::operator SEXP ( )
inline

Definition at line 107 of file proxy.h.

template<int RTYPE>
string_name_proxy& Rcpp::internal::string_name_proxy< RTYPE >::operator= ( const std::string &  rhs)
inline

Definition at line 94 of file proxy.h.

template<int RTYPE>
string_name_proxy& Rcpp::internal::string_name_proxy< RTYPE >::operator= ( const string_name_proxy< RTYPE > &  other)
inline

Definition at line 98 of file proxy.h.

References Rcpp::internal::string_name_proxy< RTYPE >::get().

Here is the call graph for this function:

template<int RTYPE>
reference Rcpp::internal::string_name_proxy< RTYPE >::operator[] ( R_xlen_t  i)
inline

Definition at line 113 of file proxy.h.

template<int RTYPE>
void Rcpp::internal::string_name_proxy< RTYPE >::set ( const std::string &  rhs)
inlineprivate

Definition at line 119 of file proxy.h.

References Rcpp::Vector< RTYPE, StoragePolicy >::offset(), and Rcpp::Vector< RTYPE, StoragePolicy >::push_back().

Here is the call graph for this function:

template<int RTYPE>
R_xlen_t Rcpp::internal::string_name_proxy< RTYPE >::size ( )
inline

Definition at line 114 of file proxy.h.

Member Data Documentation

template<int RTYPE>
std::string Rcpp::internal::string_name_proxy< RTYPE >::name
private

Definition at line 118 of file proxy.h.

template<int RTYPE>
VECTOR& Rcpp::internal::string_name_proxy< RTYPE >::parent
private

Definition at line 117 of file proxy.h.


The documentation for this class was generated from the following files: