[Rcpp-commits] r2495 - in pkg/Rcpp: R inst/include/Rcpp inst/include/Rcpp/module

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Nov 22 20:46:35 CET 2010


Author: romain
Date: 2010-11-22 20:46:35 +0100 (Mon, 22 Nov 2010)
New Revision: 2495

Modified:
   pkg/Rcpp/R/00_classes.R
   pkg/Rcpp/inst/include/Rcpp/Module.h
   pkg/Rcpp/inst/include/Rcpp/module/Module_generated_CppMethod.h
   pkg/Rcpp/inst/include/Rcpp/module/Module_generated_Pointer_CppMethod.h
Log:
grab method const ness

Modified: pkg/Rcpp/R/00_classes.R
===================================================================
--- pkg/Rcpp/R/00_classes.R	2010-11-22 19:44:19 UTC (rev 2494)
+++ pkg/Rcpp/R/00_classes.R	2010-11-22 19:46:35 UTC (rev 2495)
@@ -39,13 +39,14 @@
         pointer       = "externalptr", 
         class_pointer = "externalptr", 
         size          = "integer", 
-        void          = "logical", 
+        void          = "logical",
+        const         = "logical", 
         docstrings    = "character", 
         signatures    = "character"
     ), 
     methods = list( 
         info = function(prefix = "    " ){
-             paste( paste( prefix, signatures, "\n", prefix, prefix, "docstring :", docstrings) , collapse = "\n" )   
+             paste( paste( prefix, signatures, ifelse(const, " const", "" ), "\n", prefix, prefix, "docstring :", docstrings) , collapse = "\n" )   
         }
     )
 )

Modified: pkg/Rcpp/inst/include/Rcpp/Module.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/Module.h	2010-11-22 19:44:19 UTC (rev 2494)
+++ pkg/Rcpp/inst/include/Rcpp/Module.h	2010-11-22 19:46:35 UTC (rev 2495)
@@ -162,6 +162,7 @@
 		virtual ~CppMethod(){}
 		virtual int nargs(){ return 0 ; }
 		virtual bool is_void(){ return false ; }
+		virtual bool is_const(){ return false ; }
 		virtual const char* signature(const char* name ){ return name ; }
 } ;
 
@@ -205,6 +206,7 @@
     
     inline int nargs(){ return method->nargs() ; }
     inline bool is_void(){ return method->is_void() ; }
+    inline bool is_const(){ return method->is_const() ; }
     inline const char* signature(const char* name){ return method->signature(name); }
 
 } ;
@@ -231,12 +233,13 @@
 	S4_CppOverloadedMethods( vec_signed_method* m, SEXP class_xp, const char* name ) : Reference( "C++OverloadedMethods" ){
         
 	    int n = m->size() ;
-        Rcpp::LogicalVector voidness( n) ;
+        Rcpp::LogicalVector voidness( n), constness(n) ;
         Rcpp::CharacterVector docstrings( n ), signatures(n) ;
         signed_method_class* met ;
         for( int i=0; i<n; i++){ 
             met = m->at(i) ;
             voidness[i] = met->is_void() ;
+            constness[i] = met->is_const() ;
             docstrings[i] = met->docstring ;
             signatures[i] = met->signature(name) ;
         }
@@ -245,6 +248,7 @@
         field( "class_pointer" ) = class_xp ;
         field( "size" )          = n ;
         field( "void" )          = voidness ;
+        field( "const" )         = constness ;
         field( "docstrings" )    = docstrings ;
         field( "signatures" )    = signatures ;
     }

Modified: pkg/Rcpp/inst/include/Rcpp/module/Module_generated_CppMethod.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/module/Module_generated_CppMethod.h	2010-11-22 19:44:19 UTC (rev 2494)
+++ pkg/Rcpp/inst/include/Rcpp/module/Module_generated_CppMethod.h	2010-11-22 19:46:35 UTC (rev 2495)
@@ -32,6 +32,7 @@
 		}
 		inline int nargs(){ return 0 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name){ return Rcpp::signature<OUT>(name) ; }
 		
 	private:
@@ -49,6 +50,7 @@
 		}
 		inline int nargs(){ return 0 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name){ return Rcpp::signature<void_type>(name) ; }
 		
 	private:
@@ -65,6 +67,7 @@
 		}
 		inline int nargs(){ return 0 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name){ return Rcpp::signature<OUT>(name) ; }
 		
 	private:
@@ -82,6 +85,7 @@
 		}
 		inline int nargs(){ return 0 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name){ return Rcpp::signature<void_type>(name) ; }
 		
 	private:
@@ -101,6 +105,8 @@
 		}
 		inline int nargs(){ return 1 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0>(name) ; }
 	private:
 		Method met ;
@@ -118,6 +124,7 @@
 		}
 		inline int nargs(){ return 1 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0>(name) ; }
 	private:
 		Method met ;
@@ -136,6 +143,7 @@
 		}
 		inline int nargs(){ return 1 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0>(name) ; }
 		
 	private:
@@ -154,6 +162,7 @@
 		}
 		inline int nargs(){ return 1 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0>(name) ; }
 		
 	private:
@@ -174,6 +183,8 @@
 		}
 		inline int nargs(){ return 2 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1>(name) ; }
 	private:
 		Method met ;
@@ -191,6 +202,7 @@
 		}
 		inline int nargs(){ return 2 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1>(name) ; }
 	private:
 		Method met ;
@@ -209,6 +221,7 @@
 		}
 		inline int nargs(){ return 2 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1>(name) ; }
 		
 	private:
@@ -227,6 +240,7 @@
 		}
 		inline int nargs(){ return 2 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1>(name) ; }
 		
 	private:
@@ -247,6 +261,8 @@
 		}
 		inline int nargs(){ return 3 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2>(name) ; }
 	private:
 		Method met ;
@@ -264,6 +280,7 @@
 		}
 		inline int nargs(){ return 3 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2>(name) ; }
 	private:
 		Method met ;
@@ -282,6 +299,7 @@
 		}
 		inline int nargs(){ return 3 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2>(name) ; }
 		
 	private:
@@ -300,6 +318,7 @@
 		}
 		inline int nargs(){ return 3 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2>(name) ; }
 		
 	private:
@@ -320,6 +339,8 @@
 		}
 		inline int nargs(){ return 4 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3>(name) ; }
 	private:
 		Method met ;
@@ -337,6 +358,7 @@
 		}
 		inline int nargs(){ return 4 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3>(name) ; }
 	private:
 		Method met ;
@@ -355,6 +377,7 @@
 		}
 		inline int nargs(){ return 4 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3>(name) ; }
 		
 	private:
@@ -373,6 +396,7 @@
 		}
 		inline int nargs(){ return 4 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3>(name) ; }
 		
 	private:
@@ -393,6 +417,8 @@
 		}
 		inline int nargs(){ return 5 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4>(name) ; }
 	private:
 		Method met ;
@@ -410,6 +436,7 @@
 		}
 		inline int nargs(){ return 5 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4>(name) ; }
 	private:
 		Method met ;
@@ -428,6 +455,7 @@
 		}
 		inline int nargs(){ return 5 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4>(name) ; }
 		
 	private:
@@ -446,6 +474,7 @@
 		}
 		inline int nargs(){ return 5 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4>(name) ; }
 		
 	private:
@@ -466,6 +495,8 @@
 		}
 		inline int nargs(){ return 6 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5>(name) ; }
 	private:
 		Method met ;
@@ -483,6 +514,7 @@
 		}
 		inline int nargs(){ return 6 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5>(name) ; }
 	private:
 		Method met ;
@@ -501,6 +533,7 @@
 		}
 		inline int nargs(){ return 6 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5>(name) ; }
 		
 	private:
@@ -519,6 +552,7 @@
 		}
 		inline int nargs(){ return 6 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5>(name) ; }
 		
 	private:
@@ -539,6 +573,8 @@
 		}
 		inline int nargs(){ return 7 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6>(name) ; }
 	private:
 		Method met ;
@@ -556,6 +592,7 @@
 		}
 		inline int nargs(){ return 7 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6>(name) ; }
 	private:
 		Method met ;
@@ -574,6 +611,7 @@
 		}
 		inline int nargs(){ return 7 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6>(name) ; }
 		
 	private:
@@ -592,6 +630,7 @@
 		}
 		inline int nargs(){ return 7 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6>(name) ; }
 		
 	private:
@@ -612,6 +651,8 @@
 		}
 		inline int nargs(){ return 8 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7>(name) ; }
 	private:
 		Method met ;
@@ -629,6 +670,7 @@
 		}
 		inline int nargs(){ return 8 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7>(name) ; }
 	private:
 		Method met ;
@@ -647,6 +689,7 @@
 		}
 		inline int nargs(){ return 8 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7>(name) ; }
 		
 	private:
@@ -665,6 +708,7 @@
 		}
 		inline int nargs(){ return 8 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7>(name) ; }
 		
 	private:
@@ -685,6 +729,8 @@
 		}
 		inline int nargs(){ return 9 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8>(name) ; }
 	private:
 		Method met ;
@@ -702,6 +748,7 @@
 		}
 		inline int nargs(){ return 9 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8>(name) ; }
 	private:
 		Method met ;
@@ -720,6 +767,7 @@
 		}
 		inline int nargs(){ return 9 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8>(name) ; }
 		
 	private:
@@ -738,6 +786,7 @@
 		}
 		inline int nargs(){ return 9 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8>(name) ; }
 		
 	private:
@@ -758,6 +807,8 @@
 		}
 		inline int nargs(){ return 10 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9>(name) ; }
 	private:
 		Method met ;
@@ -775,6 +826,7 @@
 		}
 		inline int nargs(){ return 10 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9>(name) ; }
 	private:
 		Method met ;
@@ -793,6 +845,7 @@
 		}
 		inline int nargs(){ return 10 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9>(name) ; }
 		
 	private:
@@ -811,6 +864,7 @@
 		}
 		inline int nargs(){ return 10 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9>(name) ; }
 		
 	private:
@@ -831,6 +885,8 @@
 		}
 		inline int nargs(){ return 11 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10>(name) ; }
 	private:
 		Method met ;
@@ -848,6 +904,7 @@
 		}
 		inline int nargs(){ return 11 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10>(name) ; }
 	private:
 		Method met ;
@@ -866,6 +923,7 @@
 		}
 		inline int nargs(){ return 11 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10>(name) ; }
 		
 	private:
@@ -884,6 +942,7 @@
 		}
 		inline int nargs(){ return 11 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10>(name) ; }
 		
 	private:
@@ -904,6 +963,8 @@
 		}
 		inline int nargs(){ return 12 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11>(name) ; }
 	private:
 		Method met ;
@@ -921,6 +982,7 @@
 		}
 		inline int nargs(){ return 12 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11>(name) ; }
 	private:
 		Method met ;
@@ -939,6 +1001,7 @@
 		}
 		inline int nargs(){ return 12 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11>(name) ; }
 		
 	private:
@@ -957,6 +1020,7 @@
 		}
 		inline int nargs(){ return 12 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11>(name) ; }
 		
 	private:
@@ -977,6 +1041,8 @@
 		}
 		inline int nargs(){ return 13 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12>(name) ; }
 	private:
 		Method met ;
@@ -994,6 +1060,7 @@
 		}
 		inline int nargs(){ return 13 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12>(name) ; }
 	private:
 		Method met ;
@@ -1012,6 +1079,7 @@
 		}
 		inline int nargs(){ return 13 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12>(name) ; }
 		
 	private:
@@ -1030,6 +1098,7 @@
 		}
 		inline int nargs(){ return 13 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12>(name) ; }
 		
 	private:
@@ -1050,6 +1119,8 @@
 		}
 		inline int nargs(){ return 14 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13>(name) ; }
 	private:
 		Method met ;
@@ -1067,6 +1138,7 @@
 		}
 		inline int nargs(){ return 14 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13>(name) ; }
 	private:
 		Method met ;
@@ -1085,6 +1157,7 @@
 		}
 		inline int nargs(){ return 14 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13>(name) ; }
 		
 	private:
@@ -1103,6 +1176,7 @@
 		}
 		inline int nargs(){ return 14 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13>(name) ; }
 		
 	private:
@@ -1123,6 +1197,8 @@
 		}
 		inline int nargs(){ return 15 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14>(name) ; }
 	private:
 		Method met ;
@@ -1140,6 +1216,7 @@
 		}
 		inline int nargs(){ return 15 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14>(name) ; }
 	private:
 		Method met ;
@@ -1158,6 +1235,7 @@
 		}
 		inline int nargs(){ return 15 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14>(name) ; }
 		
 	private:
@@ -1176,6 +1254,7 @@
 		}
 		inline int nargs(){ return 15 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14>(name) ; }
 		
 	private:
@@ -1196,6 +1275,8 @@
 		}
 		inline int nargs(){ return 16 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15>(name) ; }
 	private:
 		Method met ;
@@ -1213,6 +1294,7 @@
 		}
 		inline int nargs(){ return 16 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15>(name) ; }
 	private:
 		Method met ;
@@ -1231,6 +1313,7 @@
 		}
 		inline int nargs(){ return 16 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15>(name) ; }
 		
 	private:
@@ -1249,6 +1332,7 @@
 		}
 		inline int nargs(){ return 16 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15>(name) ; }
 		
 	private:
@@ -1269,6 +1353,8 @@
 		}
 		inline int nargs(){ return 17 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16>(name) ; }
 	private:
 		Method met ;
@@ -1286,6 +1372,7 @@
 		}
 		inline int nargs(){ return 17 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16>(name) ; }
 	private:
 		Method met ;
@@ -1304,6 +1391,7 @@
 		}
 		inline int nargs(){ return 17 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16>(name) ; }
 		
 	private:
@@ -1322,6 +1410,7 @@
 		}
 		inline int nargs(){ return 17 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16>(name) ; }
 		
 	private:
@@ -1342,6 +1431,8 @@
 		}
 		inline int nargs(){ return 18 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17>(name) ; }
 	private:
 		Method met ;
@@ -1359,6 +1450,7 @@
 		}
 		inline int nargs(){ return 18 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17>(name) ; }
 	private:
 		Method met ;
@@ -1377,6 +1469,7 @@
 		}
 		inline int nargs(){ return 18 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17>(name) ; }
 		
 	private:
@@ -1395,6 +1488,7 @@
 		}
 		inline int nargs(){ return 18 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17>(name) ; }
 		
 	private:
@@ -1415,6 +1509,8 @@
 		}
 		inline int nargs(){ return 19 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18>(name) ; }
 	private:
 		Method met ;
@@ -1432,6 +1528,7 @@
 		}
 		inline int nargs(){ return 19 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18>(name) ; }
 	private:
 		Method met ;
@@ -1450,6 +1547,7 @@
 		}
 		inline int nargs(){ return 19 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18>(name) ; }
 		
 	private:
@@ -1468,6 +1566,7 @@
 		}
 		inline int nargs(){ return 19 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18>(name) ; }
 		
 	private:
@@ -1488,6 +1587,8 @@
 		}
 		inline int nargs(){ return 20 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19>(name) ; }
 	private:
 		Method met ;
@@ -1505,6 +1606,7 @@
 		}
 		inline int nargs(){ return 20 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19>(name) ; }
 	private:
 		Method met ;
@@ -1523,6 +1625,7 @@
 		}
 		inline int nargs(){ return 20 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19>(name) ; }
 		
 	private:
@@ -1541,6 +1644,7 @@
 		}
 		inline int nargs(){ return 20 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19>(name) ; }
 		
 	private:
@@ -1561,6 +1665,8 @@
 		}
 		inline int nargs(){ return 21 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20>(name) ; }
 	private:
 		Method met ;
@@ -1578,6 +1684,7 @@
 		}
 		inline int nargs(){ return 21 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20>(name) ; }
 	private:
 		Method met ;
@@ -1596,6 +1703,7 @@
 		}
 		inline int nargs(){ return 21 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20>(name) ; }
 		
 	private:
@@ -1614,6 +1722,7 @@
 		}
 		inline int nargs(){ return 21 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20>(name) ; }
 		
 	private:
@@ -1634,6 +1743,8 @@
 		}
 		inline int nargs(){ return 22 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21>(name) ; }
 	private:
 		Method met ;
@@ -1651,6 +1762,7 @@
 		}
 		inline int nargs(){ return 22 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21>(name) ; }
 	private:
 		Method met ;
@@ -1669,6 +1781,7 @@
 		}
 		inline int nargs(){ return 22 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21>(name) ; }
 		
 	private:
@@ -1687,6 +1800,7 @@
 		}
 		inline int nargs(){ return 22 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21>(name) ; }
 		
 	private:
@@ -1707,6 +1821,8 @@
 		}
 		inline int nargs(){ return 23 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22>(name) ; }
 	private:
 		Method met ;
@@ -1724,6 +1840,7 @@
 		}
 		inline int nargs(){ return 23 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22>(name) ; }
 	private:
 		Method met ;
@@ -1742,6 +1859,7 @@
 		}
 		inline int nargs(){ return 23 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22>(name) ; }
 		
 	private:
@@ -1760,6 +1878,7 @@
 		}
 		inline int nargs(){ return 23 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22>(name) ; }
 		
 	private:
@@ -1780,6 +1899,8 @@
 		}
 		inline int nargs(){ return 24 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return false ; }
+		
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23>(name) ; }
 	private:
 		Method met ;
@@ -1797,6 +1918,7 @@
 		}
 		inline int nargs(){ return 24 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return false ; }
 		const char* signature(const char* name ){ return Rcpp::signature<void_type,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23>(name) ; }
 	private:
 		Method met ;
@@ -1815,6 +1937,7 @@
 		}
 		inline int nargs(){ return 24 ; }
 		inline bool is_void(){ return false ; }
+		inline bool is_const(){ return true ; }
 		const char* signature(const char* name ){ return Rcpp::signature<OUT,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23>(name) ; }
 		
 	private:
@@ -1833,6 +1956,7 @@
 		}
 		inline int nargs(){ return 24 ; }
 		inline bool is_void(){ return true ; }
+		inline bool is_const(){ return true ; }
[TRUNCATED]

To get the complete diff run:
    svnlook diff /svnroot/rcpp -r 2495


More information about the Rcpp-commits mailing list