1 // This file was generated by Rcpp::compileAttributes
2 // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
3
4 #include <Rcpp.h>
5
6 using namespace Rcpp;
7
8 // pystr_capitalize_
9 CharacterVector pystr_capitalize_(CharacterVector strs);
pystr_pystr_capitalize_(SEXP strsSEXP)10 RcppExport SEXP pystr_pystr_capitalize_(SEXP strsSEXP) {
11 BEGIN_RCPP
12 Rcpp::RObject __result;
13 Rcpp::RNGScope __rngScope;
14 Rcpp::traits::input_parameter< CharacterVector >::type strs(strsSEXP);
15 __result = Rcpp::wrap(pystr_capitalize_(strs));
16 return __result;
17 END_RCPP
18 }
19 // pystr_center_
20 CharacterVector pystr_center_(CharacterVector strs, int width, char fillchar);
pystr_pystr_center_(SEXP strsSEXP,SEXP widthSEXP,SEXP fillcharSEXP)21 RcppExport SEXP pystr_pystr_center_(SEXP strsSEXP, SEXP widthSEXP, SEXP fillcharSEXP) {
22 BEGIN_RCPP
23 Rcpp::RObject __result;
24 Rcpp::RNGScope __rngScope;
25 Rcpp::traits::input_parameter< CharacterVector >::type strs(strsSEXP);
26 Rcpp::traits::input_parameter< int >::type width(widthSEXP);
27 Rcpp::traits::input_parameter< char >::type fillchar(fillcharSEXP);
28 __result = Rcpp::wrap(pystr_center_(strs, width, fillchar));
29 return __result;
30 END_RCPP
31 }
32 // pystr_count_
33 IntegerVector pystr_count_(CharacterVector strs, std::string sub, int start, int end);
pystr_pystr_count_(SEXP strsSEXP,SEXP subSEXP,SEXP startSEXP,SEXP endSEXP)34 RcppExport SEXP pystr_pystr_count_(SEXP strsSEXP, SEXP subSEXP, SEXP startSEXP, SEXP endSEXP) {
35 BEGIN_RCPP
36 Rcpp::RObject __result;
37 Rcpp::RNGScope __rngScope;
38 Rcpp::traits::input_parameter< CharacterVector >::type strs(strsSEXP);
39 Rcpp::traits::input_parameter< std::string >::type sub(subSEXP);
40 Rcpp::traits::input_parameter< int >::type start(startSEXP);
41 Rcpp::traits::input_parameter< int >::type end(endSEXP);
42 __result = Rcpp::wrap(pystr_count_(strs, sub, start, end));
43 return __result;
44 END_RCPP
45 }
46 // pystr_isalnum_
47 LogicalVector pystr_isalnum_(CharacterVector strs);
pystr_pystr_isalnum_(SEXP strsSEXP)48 RcppExport SEXP pystr_pystr_isalnum_(SEXP strsSEXP) {
49 BEGIN_RCPP
50 Rcpp::RObject __result;
51 Rcpp::RNGScope __rngScope;
52 Rcpp::traits::input_parameter< CharacterVector >::type strs(strsSEXP);
53 __result = Rcpp::wrap(pystr_isalnum_(strs));
54 return __result;
55 END_RCPP
56 }
57 // pystr_isalpha_
58 LogicalVector pystr_isalpha_(CharacterVector strs);
pystr_pystr_isalpha_(SEXP strsSEXP)59 RcppExport SEXP pystr_pystr_isalpha_(SEXP strsSEXP) {
60 BEGIN_RCPP
61 Rcpp::RObject __result;
62 Rcpp::RNGScope __rngScope;
63 Rcpp::traits::input_parameter< CharacterVector >::type strs(strsSEXP);
64 __result = Rcpp::wrap(pystr_isalpha_(strs));
65 return __result;
66 END_RCPP
67 }
68 // pystr_islower_
69 LogicalVector pystr_islower_(CharacterVector strs);
pystr_pystr_islower_(SEXP strsSEXP)70 RcppExport SEXP pystr_pystr_islower_(SEXP strsSEXP) {
71 BEGIN_RCPP
72 Rcpp::RObject __result;
73 Rcpp::RNGScope __rngScope;
74 Rcpp::traits::input_parameter< CharacterVector >::type strs(strsSEXP);
75 __result = Rcpp::wrap(pystr_islower_(strs));
76 return __result;
77 END_RCPP
78 }
79 // pystr_isnumeric_
80 LogicalVector pystr_isnumeric_(CharacterVector strs);
pystr_pystr_isnumeric_(SEXP strsSEXP)81 RcppExport SEXP pystr_pystr_isnumeric_(SEXP strsSEXP) {
82 BEGIN_RCPP
83 Rcpp::RObject __result;
84 Rcpp::RNGScope __rngScope;
85 Rcpp::traits::input_parameter< CharacterVector >::type strs(strsSEXP);
86 __result = Rcpp::wrap(pystr_isnumeric_(strs));
87 return __result;
88 END_RCPP
89 }
90 // pystr_isupper_
91 LogicalVector pystr_isupper_(CharacterVector strs);
pystr_pystr_isupper_(SEXP strsSEXP)92 RcppExport SEXP pystr_pystr_isupper_(SEXP strsSEXP) {
93 BEGIN_RCPP
94 Rcpp::RObject __result;
95 Rcpp::RNGScope __rngScope;
96 Rcpp::traits::input_parameter< CharacterVector >::type strs(strsSEXP);
97 __result = Rcpp::wrap(pystr_isupper_(strs));
98 return __result;
99 END_RCPP
100 }
101 // pystr_lstrip_
102 CharacterVector pystr_lstrip_(CharacterVector strs, std::string chars);
pystr_pystr_lstrip_(SEXP strsSEXP,SEXP charsSEXP)103 RcppExport SEXP pystr_pystr_lstrip_(SEXP strsSEXP, SEXP charsSEXP) {
104 BEGIN_RCPP
105 Rcpp::RObject __result;
106 Rcpp::RNGScope __rngScope;
107 Rcpp::traits::input_parameter< CharacterVector >::type strs(strsSEXP);
108 Rcpp::traits::input_parameter< std::string >::type chars(charsSEXP);
109 __result = Rcpp::wrap(pystr_lstrip_(strs, chars));
110 return __result;
111 END_RCPP
112 }
113 // pystr_rstrip_
114 CharacterVector pystr_rstrip_(CharacterVector strs, std::string chars);
pystr_pystr_rstrip_(SEXP strsSEXP,SEXP charsSEXP)115 RcppExport SEXP pystr_pystr_rstrip_(SEXP strsSEXP, SEXP charsSEXP) {
116 BEGIN_RCPP
117 Rcpp::RObject __result;
118 Rcpp::RNGScope __rngScope;
119 Rcpp::traits::input_parameter< CharacterVector >::type strs(strsSEXP);
120 Rcpp::traits::input_parameter< std::string >::type chars(charsSEXP);
121 __result = Rcpp::wrap(pystr_rstrip_(strs, chars));
122 return __result;
123 END_RCPP
124 }
125