|
Rcpp Version 1.1.2
|
#include <class.h>


Classes | |
| class | CppProperty_Getter_Setter |
| class | CppProperty_Getter |
Public Types | |
| typedef class_< Class > | self |
| typedef CppMethod< Class > | method_class |
| typedef SignedMethod< Class > | signed_method_class |
| typedef std::vector< signed_method_class * > | vec_signed_method |
| typedef std::map< std::string, vec_signed_method * > | map_vec_signed_method |
| typedef std::pair< std::string, vec_signed_method * > | vec_signed_method_pair |
| typedef std::map< std::string, method_class * > | METHOD_MAP |
| typedef std::pair< const std::string, method_class * > | PAIR |
| typedef Rcpp::XPtr< Class > | XP |
| typedef CppFinalizer< Class > | finalizer_class |
| typedef Constructor_Base< Class > | constructor_class |
| typedef SignedConstructor< Class > | signed_constructor_class |
| typedef std::vector< signed_constructor_class * > | vec_signed_constructor |
| typedef Factory_Base< Class > | factory_class |
| typedef SignedFactory< Class > | signed_factory_class |
| typedef std::vector< signed_factory_class * > | vec_signed_factory |
| typedef CppProperty< Class > | prop_class |
| typedef std::map< std::string, prop_class * > | PROPERTY_MAP |
| typedef std::pair< const std::string, prop_class * > | PROP_PAIR |
Public Member Functions | |
| class_ (const char *name_, const char *doc=0) | |
| ~class_ () | |
| self & | AddConstructor (constructor_class *ctor, ValidConstructor valid, const char *docstring=0) |
| self & | AddFactory (factory_class *fact, ValidConstructor valid, const char *docstring=0) |
| self & | default_constructor (const char *docstring=0, ValidConstructor valid=&yes_arity< 0 >) |
| template<typename... T> | |
| self & | constructor (const char *docstring=0, ValidConstructor valid=&yes_arity< sizeof...(T)>) |
| template<typename... T> | |
| self & | factory (Class *(*fun)(T...), const char *docstring=0, ValidConstructor valid=&yes_arity< sizeof...(T)>) |
| std::string | get_typeinfo_name () |
| SEXP | newInstance (SEXP *args, int nargs) |
| bool | has_default_constructor () |
| SEXP | invoke (SEXP method_xp, SEXP object, SEXP *args, int nargs) |
| SEXP | invoke_void (SEXP method_xp, SEXP object, SEXP *args, int nargs) |
| SEXP | invoke_notvoid (SEXP method_xp, SEXP object, SEXP *args, int nargs) |
| self & | AddMethod (const char *name_, method_class *m, ValidMethod valid=&yes, const char *docstring=0) |
| self & | AddProperty (const char *name_, prop_class *p) |
| template<typename RESULT_TYPE, typename... T> | |
| self & | method (const char *name_, RESULT_TYPE(Class::*fun)(T...), const char *docstring=0, ValidMethod valid=&yes_arity< sizeof...(T)>) |
| template<typename RESULT_TYPE, typename... T> | |
| self & | method (const char *name_, RESULT_TYPE(Class::*fun)(T...) const, const char *docstring=0, ValidMethod valid=&yes_arity< sizeof...(T)>) |
| template<typename RESULT_TYPE, typename... T> | |
| self & | nonconst_method (const char *name_, RESULT_TYPE(Class::*fun)(T...), const char *docstring=0, ValidMethod valid=&yes_arity< sizeof...(T)>) |
| template<typename RESULT_TYPE, typename... T> | |
| self & | const_method (const char *name_, RESULT_TYPE(Class::*fun)(T...) const, const char *docstring=0, ValidMethod valid=&yes_arity< sizeof...(T)>) |
| template<typename RESULT_TYPE, typename... T> | |
| self & | method (const char *name_, RESULT_TYPE(*fun)(Class *, T...), const char *docstring=0, ValidMethod valid=&yes_arity< sizeof...(T)>) |
| template<typename RESULT_TYPE, typename... T> | |
| self & | const_method (const char *name_, RESULT_TYPE(*fun)(const Class *, T...), const char *docstring=0, ValidMethod valid=&yes_arity< sizeof...(T)>) |
| bool | has_method (const std::string &m) |
| bool | has_property (const std::string &m) |
| bool | property_is_readonly (const std::string &p) |
| std::string | property_class (const std::string &p) |
| Rcpp::CharacterVector | method_names () |
| Rcpp::IntegerVector | methods_arity () |
| Rcpp::LogicalVector | methods_voidness () |
| Rcpp::CharacterVector | property_names () |
| Rcpp::List | property_classes () |
| Rcpp::CharacterVector | complete () |
| SEXP | getProperty (SEXP field_xp, SEXP object) |
| void | setProperty (SEXP field_xp, SEXP object, SEXP value) |
| Rcpp::List | fields (const XP_Class &class_xp) |
| Rcpp::List | getMethods (const XP_Class &class_xp, std::string &buffer) |
| Rcpp::List | getConstructors (const XP_Class &class_xp, std::string &buffer) |
| template<typename T> | |
| self & | field (const char *name_, T Class::*ptr, const char *docstring=0) |
| template<typename T> | |
| self & | field_readonly (const char *name_, T Class::*ptr, const char *docstring=0) |
| template<typename PROP> | |
| self & | property (const char *name_, PROP(Class::*GetMethod)(void), const char *docstring=0) |
| template<typename PROP> | |
| self & | property (const char *name_, PROP(Class::*GetMethod)(void) const, const char *docstring=0) |
| template<typename PROP> | |
| self & | property (const char *name_, PROP(*GetMethod)(Class *), const char *docstring) |
| template<typename PROP> | |
| self & | property (const char *name_, PROP(Class::*GetMethod)(void), void(Class::*SetMethod)(PROP), const char *docstring=0) |
| template<typename PROP> | |
| self & | property (const char *name_, PROP(Class::*GetMethod)(void) const, void(Class::*SetMethod)(PROP), const char *docstring=0) |
| template<typename PROP> | |
| self & | property (const char *name_, PROP(Class::*GetMethod)(void), void(*SetMethod)(Class *, PROP), const char *docstring=0) |
| template<typename PROP> | |
| self & | property (const char *name_, PROP(Class::*GetMethod)(void) const, void(*SetMethod)(Class *, PROP), const char *docstring=0) |
| template<typename PROP> | |
| self & | property (const char *name_, PROP(*GetMethod)(Class *), void(Class::*SetMethod)(PROP), const char *docstring=0) |
| template<typename PROP> | |
| self & | property (const char *name_, PROP(*GetMethod)(Class *), void(*SetMethod)(Class *, PROP), const char *docstring=0) |
| self & | finalizer (void(*f)(Class *)) |
| virtual void | run_finalizer (SEXP object) |
| void | SetFinalizer (finalizer_class *f) |
| class_ () | |
| template<typename PARENT> | |
| self & | derives (const char *parent) |
Public Attributes | |
| map_vec_signed_method | vec_methods |
| PROPERTY_MAP | properties |
| finalizer_class * | finalizer_pointer |
| int | specials |
| vec_signed_constructor | constructors |
| vec_signed_factory | factories |
| self * | class_pointer |
| std::string | typeinfo_name |
Private Member Functions | |
| self * | get_instance () |
| typedef Constructor_Base<Class> class_< Class >::constructor_class |
| typedef Factory_Base<Class> class_< Class >::factory_class |
| typedef CppFinalizer<Class> class_< Class >::finalizer_class |
| typedef std::map<std::string,vec_signed_method*> class_< Class >::map_vec_signed_method |
| typedef CppMethod<Class> class_< Class >::method_class |
| typedef std::map<std::string,method_class*> class_< Class >::METHOD_MAP |
| typedef std::pair<const std::string,method_class*> class_< Class >::PAIR |
| typedef CppProperty<Class> class_< Class >::prop_class |
| typedef std::pair<const std::string,prop_class*> class_< Class >::PROP_PAIR |
| typedef std::map<std::string,prop_class*> class_< Class >::PROPERTY_MAP |
| typedef SignedConstructor<Class> class_< Class >::signed_constructor_class |
| typedef SignedFactory<Class> class_< Class >::signed_factory_class |
| typedef SignedMethod<Class> class_< Class >::signed_method_class |
| typedef std::vector<signed_constructor_class*> class_< Class >::vec_signed_constructor |
| typedef std::vector<signed_factory_class*> class_< Class >::vec_signed_factory |
| typedef std::vector<signed_method_class*> class_< Class >::vec_signed_method |
| typedef std::pair<std::string,vec_signed_method*> class_< Class >::vec_signed_method_pair |
| typedef Rcpp::XPtr<Class> class_< Class >::XP |
|
inline |
Definition at line 53 of file class.h.
Referenced by derives(), and property().
|
inline |
Definition at line 522 of file class.h.
References constructors, factories, properties, specials, and vec_methods.
|
inline |
|
inline |
|
inline |
Definition at line 246 of file class.h.
References get_instance(), RCPP_DEBUG_MODULE_1, specials, and vec_methods.
Referenced by const_method(), const_method(), derives(), method(), method(), method(), and nonconst_method().

|
inline |
Definition at line 258 of file class.h.
References get_instance(), and properties.
Referenced by derives().

|
inline |
Definition at line 409 of file class.h.
References properties, specials, and vec_methods.
|
inline |
Definition at line 294 of file class.h.
References AddMethod().

|
inline |
Definition at line 282 of file class.h.
References AddMethod().

|
inline |
Definition at line 114 of file class.h.
References AddConstructor().
Referenced by default_constructor().

|
inline |
Definition at line 109 of file class.h.
References constructor().

|
inline |
Definition at line 528 of file class.h.
References AddMethod(), AddProperty(), class_(), get_instance(), getCurrentScope(), and method().

|
inline |
Definition at line 119 of file class.h.
References AddFactory().

|
inline |
Definition at line 77 of file class.h.
References class_pointer.
|
inline |
Definition at line 450 of file class.h.
References Rcpp::NamesProxyPolicy< CLASS >::names(), and properties.

Definition at line 496 of file class.h.
References SetFinalizer().

Definition at line 69 of file class.h.
Referenced by AddMethod(), AddProperty(), derives(), and SetFinalizer().
|
inline |
Definition at line 126 of file class.h.
References typeinfo_name.
|
inline |
Definition at line 482 of file class.h.
References constructors.
|
inline |
Definition at line 463 of file class.h.
References Rcpp::NamesProxyPolicy< CLASS >::names(), RCPP_DEBUG_MODULE, and vec_methods.

|
inline |
Definition at line 435 of file class.h.
References BEGIN_RCPP, and END_RCPP.
|
inline |
Definition at line 158 of file class.h.
References constructors, and factories.
|
inline |
Definition at line 300 of file class.h.
References vec_methods.
|
inline |
Definition at line 303 of file class.h.
References properties.
|
inline |
Definition at line 174 of file class.h.
References BEGIN_RCPP, Rcpp::Vector< VECSXP >::create(), and END_RCPP.

|
inline |
Definition at line 223 of file class.h.
References BEGIN_RCPP, and END_RCPP.
|
inline |
Definition at line 201 of file class.h.
References BEGIN_RCPP, and END_RCPP.
|
inline |
Definition at line 288 of file class.h.
References AddMethod().

|
inline |
Definition at line 270 of file class.h.
References AddMethod().

|
inline |
Definition at line 264 of file class.h.
References AddMethod().
Referenced by derives().

|
inline |
Definition at line 317 of file class.h.
References vec_methods.
|
inline |
Definition at line 337 of file class.h.
References Rcpp::NamesProxyPolicy< CLASS >::names(), and vec_methods.

|
inline |
Definition at line 361 of file class.h.
References Rcpp::NamesProxyPolicy< CLASS >::names(), and vec_methods.

|
inline |
Definition at line 130 of file class.h.
References BEGIN_RCPP, constructors, END_RCPP, and factories.
|
inline |
Definition at line 276 of file class.h.
References AddMethod().

|
inline |
Definition at line 72 of file class.h.
References class_pointer, DEMANGLE, and RCPP_DEBUG_MODULE_2.
|
inline |
Definition at line 311 of file class.h.
References properties.
|
inline |
Definition at line 396 of file class.h.
References Rcpp::NamesProxyPolicy< CLASS >::names(), and properties.

|
inline |
Definition at line 306 of file class.h.
References properties.
|
inline |
Definition at line 386 of file class.h.
References properties.
|
inlinevirtual |
Definition at line 501 of file class.h.
References finalizer_pointer.
|
inline |
Definition at line 505 of file class.h.
References finalizer_pointer, and get_instance().
Referenced by finalizer().

|
inline |
Definition at line 442 of file class.h.
References BEGIN_RCPP, and VOID_END_RCPP.
Definition at line 518 of file class.h.
Referenced by AddConstructor(), AddFactory(), field_readonly(), class_< Class >::CppProperty_Getter< PROP >::get_class(), and property().
| vec_signed_constructor class_< Class >::constructors |
Definition at line 516 of file class.h.
Referenced by class_(), getConstructors(), has_default_constructor(), class_< Class >::CppProperty_Getter< PROP >::is_readonly(), and newInstance().
| vec_signed_factory class_< Class >::factories |
Definition at line 517 of file class.h.
Referenced by class_(), class_< Class >::CppProperty_Getter< PROP >::get_class(), has_default_constructor(), and newInstance().
| finalizer_class* class_< Class >::finalizer_pointer |
Definition at line 514 of file class.h.
Referenced by class_< Class >::CppProperty_Getter< PROP >::get(), run_finalizer(), and SetFinalizer().
| PROPERTY_MAP class_< Class >::properties |
Definition at line 512 of file class.h.
Referenced by AddProperty(), class_(), complete(), class_< Class >::CppProperty_Getter< PROP >::CppProperty_Getter(), fields(), has_property(), property_class(), property_classes(), property_is_readonly(), and property_names().
| int class_< Class >::specials |
Definition at line 515 of file class.h.
Referenced by AddMethod(), class_(), complete(), and class_< Class >::CppProperty_Getter< PROP >::set().
| std::string class_< Class >::typeinfo_name |
Definition at line 519 of file class.h.
Referenced by class_< Class >::CppProperty_Getter< PROP >::get_class(), and get_typeinfo_name().
| map_vec_signed_method class_< Class >::vec_methods |
Definition at line 511 of file class.h.
Referenced by AddMethod(), class_(), complete(), class_< Class >::CppProperty_Getter< PROP >::CppProperty_Getter(), getMethods(), has_method(), method_names(), methods_arity(), and methods_voidness().