Rcpp Version 1.0.0
Rcpp::internal::string_name_proxy< RTYPE, StoragePolicy > Class Template Reference

#include <00_forward_proxy.h>

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

Public Types

typedef ::Rcpp::Vector< RTYPE, StoragePolicy > 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 * () const
 
 operator SEXP () const
 
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 () const
 

Private Attributes

VECTORparent
 
std::string name
 

Detailed Description

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

Definition at line 33 of file 00_forward_proxy.h.

Member Typedef Documentation

◆ iterator

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

Definition at line 87 of file proxy.h.

◆ reference

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

Definition at line 88 of file proxy.h.

◆ VECTOR

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

Definition at line 86 of file proxy.h.

Constructor & Destructor Documentation

◆ string_name_proxy() [1/2]

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

Definition at line 90 of file proxy.h.

◆ string_name_proxy() [2/2]

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

Definition at line 92 of file proxy.h.

◆ ~string_name_proxy()

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

Definition at line 94 of file proxy.h.

Member Function Documentation

◆ begin()

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

Definition at line 113 of file proxy.h.

◆ end()

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

Definition at line 114 of file proxy.h.

◆ get()

template<int RTYPE, template< class > class StoragePolicy>
char* Rcpp::internal::string_name_proxy< RTYPE, StoragePolicy >::get ( ) const
inlineprivate

Definition at line 130 of file proxy.h.

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

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

Here is the call graph for this function:

◆ operator char *()

template<int RTYPE, template< class > class StoragePolicy>
Rcpp::internal::string_name_proxy< RTYPE, StoragePolicy >::operator char * ( ) const
inline

Definition at line 105 of file proxy.h.

◆ operator SEXP()

template<int RTYPE, template< class > class StoragePolicy>
Rcpp::internal::string_name_proxy< RTYPE, StoragePolicy >::operator SEXP ( ) const
inline

Definition at line 109 of file proxy.h.

◆ operator=() [1/2]

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

Definition at line 96 of file proxy.h.

◆ operator=() [2/2]

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

Definition at line 100 of file proxy.h.

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

Here is the call graph for this function:

◆ operator[]()

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

Definition at line 115 of file proxy.h.

◆ set()

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

Definition at line 121 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:

◆ size()

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

Definition at line 116 of file proxy.h.

Member Data Documentation

◆ name

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

Definition at line 120 of file proxy.h.

◆ parent

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

Definition at line 119 of file proxy.h.


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