Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Friends
Macros
Pages
include
paal
data_structures
components
component_traits.hpp
Go to the documentation of this file.
1
//=======================================================================
2
// Copyright (c) 2013 Piotr Wygocki
3
//
4
// Distributed under the Boost Software License, Version 1.0. (See
5
// accompanying file LICENSE_1_0.txt or copy at
6
// http://www.boost.org/LICENSE_1_0.txt)
7
//=======================================================================
15
#ifndef PAAL_COMPONENT_TRAITS_HPP
16
#define PAAL_COMPONENT_TRAITS_HPP
17
#include "
components.hpp
"
18
19
namespace
paal {
20
namespace
data_structures {
21
22
template
<
typename
components>
struct
component_traits
;
23
24
template
<
typename
Names,
typename
Types>
25
struct
component_traits
<detail::
components
<Names, Types>> {
26
template
<
typename
Name>
27
using
type
=
detail::type_for_name<Name, Names, Types>
;
28
};
29
}
30
}
31
#endif // PAAL_COMPONENT_TRAITS_HPP
paal::data_structures::components
Definition:
components.hpp:458
paal::data_structures::detail::type_for_name
If Name is kth on Names list, returns kth Type.
Definition:
components.hpp:52
components.hpp
paal::data_structures::component_traits
Definition:
component_traits.hpp:22
Generated on Tue Jan 31 2017 00:30:50 by
1.8.5