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

#include <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 84 of file 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.

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

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

Here is the call graph for this function:

◆ end()

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

◆ get()

◆ 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.

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

Here is the call graph for this function:

◆ 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.

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

Here is the call graph for this function:

◆ 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.

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

Here is the call graph for this function:

◆ 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(), and Rcpp::internal::string_name_proxy< RTYPE, StoragePolicy >::set().

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.

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

Here is the call graph for this function:

◆ set()

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

◆ 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.

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

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

Here is the call graph for this function:

Member Data Documentation

◆ name

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

◆ parent

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

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