Rcpp Version 0.12.12
Rcpp::class_Base Class Reference

#include <class_Base.h>

Public Types

typedef Rcpp::XPtr< class_BaseXP_Class
 
typedef std::map< std::string, int > ENUM
 
typedef std::map< std::string, ENUMENUM_MAP
 
typedef ENUM_MAP::value_type ENUM_MAP_PAIR
 

Public Member Functions

 class_Base ()
 
 class_Base (const char *name_, const char *doc)
 
virtual Rcpp::List fields (const XP_Class &)
 
virtual Rcpp::List getMethods (const XP_Class &, std::string &)
 
virtual Rcpp::List getConstructors (const XP_Class &, std::string &)
 
virtual void run_finalizer (SEXP)
 
virtual bool has_default_constructor ()
 
virtual bool has_method (const std::string &)
 
virtual bool has_property (const std::string &)
 
virtual SEXP newInstance (SEXP *, int)
 
virtual SEXP invoke (SEXP, SEXP, SEXP *, int)
 
virtual SEXP invoke_void (SEXP, SEXP, SEXP *, int)
 
virtual SEXP invoke_notvoid (SEXP, SEXP, SEXP *, int)
 
virtual Rcpp::CharacterVector method_names ()
 
virtual Rcpp::CharacterVector property_names ()
 
virtual bool property_is_readonly (const std::string &)
 
virtual std::string property_class (const std::string &)
 
virtual Rcpp::IntegerVector methods_arity ()
 
virtual Rcpp::LogicalVector methods_voidness ()
 
virtual Rcpp::List property_classes ()
 
virtual Rcpp::CharacterVector complete ()
 
virtual ~class_Base ()
 
virtual SEXP getProperty (SEXP, SEXP)
 
virtual void setProperty (SEXP, SEXP, SEXP)
 
virtual std::string get_typeinfo_name ()
 
bool has_typeinfo_name (const std::string &name_)
 
void add_enum (const std::string &enum_name, const std::map< std::string, int > &value)
 

Public Attributes

std::string name
 
std::string docstring
 
ENUM_MAP enums
 
std::vector< std::string > parents
 

Detailed Description

Definition at line 26 of file class_Base.h.

Member Typedef Documentation

typedef std::map< std::string, int > Rcpp::class_Base::ENUM

Definition at line 88 of file class_Base.h.

typedef std::map< std::string, ENUM > Rcpp::class_Base::ENUM_MAP

Definition at line 89 of file class_Base.h.

typedef ENUM_MAP::value_type Rcpp::class_Base::ENUM_MAP_PAIR

Definition at line 90 of file class_Base.h.

Definition at line 28 of file class_Base.h.

Constructor & Destructor Documentation

Rcpp::class_Base::class_Base ( )
inline

Definition at line 30 of file class_Base.h.

Rcpp::class_Base::class_Base ( const char *  name_,
const char *  doc 
)
inline

Definition at line 31 of file class_Base.h.

virtual Rcpp::class_Base::~class_Base ( )
inlinevirtual

Definition at line 69 of file class_Base.h.

Member Function Documentation

void Rcpp::class_Base::add_enum ( const std::string &  enum_name,
const std::map< std::string, int > &  value 
)
inline

Definition at line 81 of file class_Base.h.

References enums.

Referenced by Rcpp::Module::add_enum().

virtual Rcpp::CharacterVector Rcpp::class_Base::complete ( )
inlinevirtual

Definition at line 68 of file class_Base.h.

virtual Rcpp::List Rcpp::class_Base::fields ( const XP_Class )
inlinevirtual

Definition at line 34 of file class_Base.h.

Referenced by Rcpp::CppClass::CppClass().

virtual std::string Rcpp::class_Base::get_typeinfo_name ( )
inlinevirtual

Definition at line 77 of file class_Base.h.

Referenced by Rcpp::CppClass::CppClass(), and has_typeinfo_name().

virtual Rcpp::List Rcpp::class_Base::getConstructors ( const XP_Class ,
std::string &   
)
inlinevirtual

Definition at line 36 of file class_Base.h.

Referenced by Rcpp::CppClass::CppClass().

virtual Rcpp::List Rcpp::class_Base::getMethods ( const XP_Class ,
std::string &   
)
inlinevirtual

Definition at line 35 of file class_Base.h.

Referenced by Rcpp::CppClass::CppClass().

virtual SEXP Rcpp::class_Base::getProperty ( SEXP  ,
SEXP   
)
inlinevirtual

Definition at line 71 of file class_Base.h.

virtual bool Rcpp::class_Base::has_default_constructor ( )
inlinevirtual

Definition at line 40 of file class_Base.h.

virtual bool Rcpp::class_Base::has_method ( const std::string &  )
inlinevirtual

Definition at line 41 of file class_Base.h.

virtual bool Rcpp::class_Base::has_property ( const std::string &  )
inlinevirtual

Definition at line 44 of file class_Base.h.

bool Rcpp::class_Base::has_typeinfo_name ( const std::string &  name_)
inline

Definition at line 78 of file class_Base.h.

References get_typeinfo_name().

Here is the call graph for this function:

virtual SEXP Rcpp::class_Base::invoke ( SEXP  ,
SEXP  ,
SEXP *  ,
int   
)
inlinevirtual

Definition at line 50 of file class_Base.h.

virtual SEXP Rcpp::class_Base::invoke_notvoid ( SEXP  ,
SEXP  ,
SEXP *  ,
int   
)
inlinevirtual

Definition at line 56 of file class_Base.h.

virtual SEXP Rcpp::class_Base::invoke_void ( SEXP  ,
SEXP  ,
SEXP *  ,
int   
)
inlinevirtual

Definition at line 53 of file class_Base.h.

virtual Rcpp::CharacterVector Rcpp::class_Base::method_names ( )
inlinevirtual

Definition at line 60 of file class_Base.h.

virtual Rcpp::IntegerVector Rcpp::class_Base::methods_arity ( )
inlinevirtual

Definition at line 64 of file class_Base.h.

virtual Rcpp::LogicalVector Rcpp::class_Base::methods_voidness ( )
inlinevirtual

Definition at line 65 of file class_Base.h.

virtual SEXP Rcpp::class_Base::newInstance ( SEXP *  ,
int   
)
inlinevirtual

Definition at line 47 of file class_Base.h.

virtual std::string Rcpp::class_Base::property_class ( const std::string &  )
inlinevirtual

Definition at line 63 of file class_Base.h.

virtual Rcpp::List Rcpp::class_Base::property_classes ( )
inlinevirtual

Definition at line 66 of file class_Base.h.

virtual bool Rcpp::class_Base::property_is_readonly ( const std::string &  )
inlinevirtual

Definition at line 62 of file class_Base.h.

virtual Rcpp::CharacterVector Rcpp::class_Base::property_names ( )
inlinevirtual

Definition at line 61 of file class_Base.h.

virtual void Rcpp::class_Base::run_finalizer ( SEXP  )
inlinevirtual

Definition at line 38 of file class_Base.h.

virtual void Rcpp::class_Base::setProperty ( SEXP  ,
SEXP  ,
SEXP   
)
inlinevirtual

Definition at line 74 of file class_Base.h.

Member Data Documentation

std::string Rcpp::class_Base::docstring

Definition at line 86 of file class_Base.h.

Referenced by Rcpp::CppClass::CppClass().

ENUM_MAP Rcpp::class_Base::enums

Definition at line 91 of file class_Base.h.

Referenced by add_enum(), and Rcpp::CppClass::CppClass().

std::string Rcpp::class_Base::name

Definition at line 85 of file class_Base.h.

Referenced by Rcpp::CppClass::CppClass().

std::vector<std::string> Rcpp::class_Base::parents

Definition at line 92 of file class_Base.h.

Referenced by Rcpp::CppClass::CppClass().


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