1
2// (C) Copyright Edward Diener 2011
3// Use, modification and distribution are subject to the Boost Software License,
4// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5// http://www.boost.org/LICENSE_1_0.txt).
6
7#if !defined(TEST_HAS_TYPE_HPP)
8#define TEST_HAS_TYPE_HPP
9
10#include "test_structs.hpp"
11#include <boost/tti/has_type.hpp>
12
13BOOST_TTI_HAS_TYPE(AnIntType)
14BOOST_TTI_TRAIT_HAS_TYPE(NameStruct,AStructType)
15BOOST_TTI_HAS_TYPE(AnIntTypeReference)
16BOOST_TTI_HAS_TYPE(BType)
17BOOST_TTI_TRAIT_HAS_TYPE(TheInteger,AnIntegerType)
18BOOST_TTI_HAS_TYPE(CType)
19BOOST_TTI_HAS_TYPE(AnotherIntegerType)
20BOOST_TTI_TRAIT_HAS_TYPE(SomethingElse,someOtherType)
21BOOST_TTI_HAS_TYPE(NoOtherType)
22
23BOOST_TTI_TRAIT_HAS_TYPE(EInB,BTypeEnum)
24BOOST_TTI_HAS_TYPE(AnEnumTtype)
25BOOST_TTI_TRAIT_HAS_TYPE(AnotherE,AnotherEnumTtype)
26BOOST_TTI_TRAIT_HAS_TYPE(EClass,AnEnumClassType)
27BOOST_TTI_HAS_TYPE(AnotherEnumClassType)
28BOOST_TTI_HAS_TYPE(CTypeUnion)
29BOOST_TTI_TRAIT_HAS_TYPE(SimpleUT,AnUnion)
30BOOST_TTI_HAS_TYPE(AnotherUnion)
31
32BOOST_TTI_TRAIT_HAS_TYPE(UnionType,UNStruct)
33BOOST_TTI_HAS_TYPE(UEnumV)
34BOOST_TTI_HAS_TYPE(InnerUnion)
35
36#endif // TEST_HAS_TYPE_HPP
37

source code of boost/libs/tti/test/test_has_type.hpp