18#ifndef Rcpp_proxy_AttributeProxy_h
19#define Rcpp_proxy_AttributeProxy_h
23template <
typename CLASS>
34 if(
this != &rhs )
set( rhs.
get() ) ;
40 template <
typename T>
operator T()
const;
42 inline operator SEXP()
const;
61 template <
typename T>
operator T()
const;
62 inline operator SEXP()
const;
81 std::vector<std::string> v ;
AttributeProxy & operator=(const T &rhs)
AttributeProxy & operator=(const AttributeProxy &rhs)
AttributeProxy(CLASS &v, const std::string &name)
const_AttributeProxy(const CLASS &v, const std::string &name)
std::vector< std::string > attributeNames() const
AttributeProxy attr(const std::string &name)
bool hasAttribute(const std::string &attr) const
const_AttributeProxy attr(const std::string &name) const