OGLplus (0.52.0) a C++ wrapper for OpenGL

typechecked.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #ifndef OGLPLUS_PROG_VAR_TYPECHECKED_1405052234_HPP
14 #define OGLPLUS_PROG_VAR_TYPECHECKED_1405052234_HPP
15 
16 #include <oglplus/detail/typechecked.hpp>
18 
19 namespace oglplus {
20 
21 template <typename ProgVar_>
22 class TypecheckedImpl<tag::ProgVar, ProgVar_>
23  : public ProgVar_
24 {
25 private:
26  typedef typename Classify<ProgVar_>::VarTag VarTag;
27 public:
28  OGLPLUS_IMPLEMENT_PROG_VAR_CTRS(VarTag, TypecheckedImpl, ProgVar_)
29 };
30 
31 template <typename ProgVar>
32 struct Classify<Typechecked<ProgVar>>
33  : Classify<ProgVar>
34 { };
35 
36 } // namespace oglplus
37 
38 #endif // include guard
Program variable wrapper.

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).