OALplus (0.52.0) a C++ wrapper for OpenAL

attrib_list.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #ifndef OALPLUS_ATTRIB_LIST_1303292057_HPP
14 #define OALPLUS_ATTRIB_LIST_1303292057_HPP
15 
16 #include <oglplus/detail/attrib_list.hpp>
17 
18 #include <cassert>
19 #include <vector>
20 
21 namespace oalplus {
22 
24 using oglplus::FinishedAttributeList;
25 
27 using oglplus::AttributeList;
28 
29 struct AttributeListTraits
30 {
31  typedef ALint Int;
32 
33  template <typename Enum>
34  struct EnumBaseType
35  {
36  typedef typename oalplus::enums::EnumBaseType<Enum>::Type Type;
37  };
38 
39  static ALint ListEnd(void) { return 0; }
40  static ALint TrueValue(void) { return AL_TRUE; }
41  static ALint FalseValue(void) { return AL_FALSE; }
42  static ALint DontCare(void) { return 0; }
43 };
44 
45 } // namespace oalplus
46 
47 #endif // include guard

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).