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).
7 #if !defined(TEST_HAS_TYPE_HPP)
8 #define TEST_HAS_TYPE_HPP
10 #include "test_structs.hpp"
11 #include <boost/tti/has_type.hpp>
13 BOOST_TTI_HAS_TYPE(AnIntType)
14 BOOST_TTI_TRAIT_HAS_TYPE(NameStruct,AStructType)
15 BOOST_TTI_HAS_TYPE(AnIntTypeReference)
16 BOOST_TTI_HAS_TYPE(BType)
17 BOOST_TTI_TRAIT_HAS_TYPE(TheInteger,AnIntegerType)
18 BOOST_TTI_HAS_TYPE(CType)
19 BOOST_TTI_HAS_TYPE(AnotherIntegerType)
20 BOOST_TTI_TRAIT_HAS_TYPE(SomethingElse,someOtherType)
21 BOOST_TTI_HAS_TYPE(NoOtherType)
23 BOOST_TTI_TRAIT_HAS_TYPE(EInB,BTypeEnum)
24 BOOST_TTI_HAS_TYPE(AnEnumTtype)
25 BOOST_TTI_TRAIT_HAS_TYPE(AnotherE,AnotherEnumTtype)
26 BOOST_TTI_TRAIT_HAS_TYPE(EClass,AnEnumClassType)
27 BOOST_TTI_HAS_TYPE(AnotherEnumClassType)
28 BOOST_TTI_HAS_TYPE(CTypeUnion)
29 BOOST_TTI_TRAIT_HAS_TYPE(SimpleUT,AnUnion)
30 BOOST_TTI_HAS_TYPE(AnotherUnion)
32 BOOST_TTI_TRAIT_HAS_TYPE(UnionType,UNStruct)
33 BOOST_TTI_HAS_TYPE(UEnumV)
34 BOOST_TTI_HAS_TYPE(InnerUnion)
36 #endif // TEST_HAS_TYPE_HPP