KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gr_concept.h
Go to the documentation of this file.
1 /* $Id: gr_concept.h 11211 2011-11-22 17:56:38Z ksimek $ */
2 /* {{{=========================================================================== *
3  |
4  | Copyright (c) 1994-2011 by Kobus Barnard (author)
5  |
6  | Personal and educational use of this code is granted, provided that this
7  | header is kept intact, and that the authorship is not misrepresented, that
8  | its use is acknowledged in publications, and relevant papers are cited.
9  |
10  | For other use contact the author (kobus AT cs DOT arizona DOT edu).
11  |
12  | Please note that the code in this file has not necessarily been adequately
13  | tested. Naturally, there is no guarantee of performance, support, or fitness
14  | for any particular task. Nonetheless, I am interested in hearing about
15  | problems that you encounter.
16  |
17  | Author: Kyle Simek
18  * =========================================================================== }}}*/
19 
20 // vim: tabstop=4 shiftwidth=4 foldmethod=marker
21 
22 #ifndef KJB_GR_CPP_GR_CONCEPT_H
23 #define KJB_GR_CPP_GR_CONCEPT_H
24 
25 #include <boost/concept_check.hpp>
26 
27 namespace kjb
28 {
29 template <class X>
31 {
33  {
34  render(*i);
35  }
36 private:
37  const X* i;
38 };
39 }
40 
41 #endif
Definition: gr_concept.h:30
void render(const Cuboid &c)
Definition: psi_weighted_box.cpp:56
BOOST_CONCEPT_USAGE(RenderableObject)
Definition: gr_concept.h:32