Rcpp Version 0.12.12
Examples.h
Go to the documentation of this file.
1 // -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 4 -*-
2 //
3 // doxygen/Examples.h: R/C++ interface class library --- Examples definitions for Doxygen
4 //
5 // Copyright (C) 2009 - 2011 Dirk Eddelbuettel and Romain Francois
6 //
7 // This file is part of Rcpp.
8 //
9 // Rcpp is free software: you can redistribute it and/or modify it
10 // under the terms of the GNU General Public License as published by
11 // the Free Software Foundation, either version 2 of the License, or
12 // (at your option) any later version.
13 //
14 // Rcpp is distributed in the hope that it will be useful, but
15 // WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU General Public License for more details.
18 //
19 // You should have received a copy of the GNU General Public License
20 // along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
21 
22 
23 
24 // This file is not used by any code but exists solely to group
25 // example macros for Doxygen.
26 //
27 // Note that there is some serious brain-damagedness going on doxygen will only
28 // include the examples if we do this:
29 //
30 // cd src && ln -s ../inst/examples examples cd -
31 // doxygen doxyfile
32 // cd src && rm examples cd -
33 //
34 // ie without the softlink nothing happens, despite the recursive example path set
35 // in doxyfile etc and numerous other attempts I made.
36 
37 
38 
43 
47 
48 
49 
52 
56 
60 
63 
66 
70 
73 
74 
75 
78 
82 
86 
91 
95 
98 
99 
100 
103 
106 
109 
112 
115 
116 
117 
120 
123 
126 
127 
128 
131 
134 
137 
138 
139 
142 
145 
146 
149 
152 
153 
154 
155