Rcpp Version 1.0.9
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

◆ ENUM

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

Definition at line 88 of file class_Base.h.

◆ ENUM_MAP

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

Definition at line 89 of file class_Base.h.

◆ ENUM_MAP_PAIR

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

Definition at line 90 of file class_Base.h.

◆ XP_Class

Definition at line 28 of file class_Base.h.

Constructor & Destructor Documentation

◆ class_Base() [1/2]

Rcpp::class_Base::class_Base ( )
inline

Definition at line 30 of file class_Base.h.

◆ class_Base() [2/2]

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

Definition at line 31 of file class_Base.h.

◆ ~class_Base()

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

Definition at line 69 of file class_Base.h.

Member Function Documentation

◆ add_enum()

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().

◆ complete()

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

Definition at line 68 of file class_Base.h.

◆ fields()

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().

◆ get_typeinfo_name()

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().

◆ getConstructors()

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().

◆ getMethods()

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().

◆ getProperty()

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

Definition at line 71 of file class_Base.h.

◆ has_default_constructor()

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

Definition at line 40 of file class_Base.h.

◆ has_method()

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

Definition at line 41 of file class_Base.h.

◆ has_property()

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

Definition at line 44 of file class_Base.h.

◆ has_typeinfo_name()

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:

◆ invoke()

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

Definition at line 50 of file class_Base.h.

◆ invoke_notvoid()

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

Definition at line 56 of file class_Base.h.

◆ invoke_void()

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

Definition at line 53 of file class_Base.h.

◆ method_names()

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

Definition at line 60 of file class_Base.h.

◆ methods_arity()

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

Definition at line 64 of file class_Base.h.

◆ methods_voidness()

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

Definition at line 65 of file class_Base.h.

◆ newInstance()

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

Definition at line 47 of file class_Base.h.

◆ property_class()

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

Definition at line 63 of file class_Base.h.

◆ property_classes()

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

Definition at line 66 of file class_Base.h.

◆ property_is_readonly()

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

Definition at line 62 of file class_Base.h.

◆ property_names()

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

Definition at line 61 of file class_Base.h.

◆ run_finalizer()

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

Definition at line 38 of file class_Base.h.

◆ setProperty()

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

Definition at line 74 of file class_Base.h.

Member Data Documentation

◆ docstring

std::string Rcpp::class_Base::docstring

Definition at line 86 of file class_Base.h.

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

◆ enums

ENUM_MAP Rcpp::class_Base::enums

Definition at line 91 of file class_Base.h.

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

◆ name

std::string Rcpp::class_Base::name

Definition at line 85 of file class_Base.h.

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

◆ parents

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: