Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67094 - in sandbox/tti/libs/tti: doc test
From: eldiener_at_[hidden]
Date: 2010-12-07 20:58:45


Author: eldiener
Date: 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
New Revision: 67094
URL: http://svn.boost.org/trac/boost/changeset/67094

Log:
Tests and initial text files
Added:
   sandbox/tti/libs/tti/doc/history.txt (contents, props changed)
   sandbox/tti/libs/tti/doc/readme.txt (contents, props changed)
   sandbox/tti/libs/tti/doc/version.txt (contents, props changed)
   sandbox/tti/libs/tti/test/Jamfile.v2 (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasMember.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasMember.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasMemberCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasMemberFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasMemberFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasMemberFail3.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasStaticMember.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasStaticMember.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasStaticMemberCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasStaticMemberFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasStaticMemberFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTemplate.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTemplate.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTemplateCheckParams.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTemplateCheckParams.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTemplateCheckParamsCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTemplateCheckParamsFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTemplateCheckParamsFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTemplateCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTemplateFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTemplateFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasType.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasType.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTypeCheckTypedef.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTypeCheckTypedef.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTypeCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTypeFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestHasTypeFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasMemberData.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasMemberData.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasMemberDataCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasMemberDataFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasMemberDataFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasMemberFunction.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasMemberFunction.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasMemberFunctionCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasMemberFunctionFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasMemberFunctionFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasStaticData.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasStaticData.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasStaticDataCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasStaticDataFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasStaticDataFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasStaticFunction.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasStaticFunction.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasStaticFunctionCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasStaticFunctionFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasStaticFunctionFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasType.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasType.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedef.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedef.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedefCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedefFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedefFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasTypeCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasTypeFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFHasTypeFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFMemberType.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFMemberType.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFMemberTypeCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFMemberTypeFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMFMemberTypeFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMemberType.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMemberType.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMemberTypeCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMemberTypeFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestMemberTypeFail2.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestStructs.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParams.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParams.hpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParamsCompile.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParamsFail.cpp (contents, props changed)
   sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParamsFail2.cpp (contents, props changed)

Added: sandbox/tti/libs/tti/doc/history.txt
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/doc/history.txt 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,3 @@
+Version 1.0
+
+Initial version of the libary.
\ No newline at end of file

Added: sandbox/tti/libs/tti/doc/readme.txt
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/doc/readme.txt 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,40 @@
+You can use the jamfile in the doc directory to
+regenerate the documentation for this library.
+
+You can use the jamfile in the test directory to
+run the tests for this library.
+
+You can execute these jamfiles while keeping this
+library in its own separate directory from a
+Boost distribution by:
+
+1) Having a valid boost-build.jam in a directory
+ somewhere above the separate directory. This
+ is always the case if you have checked out
+ this library from the sandbox into a local
+ directory beneath the main sandbox directory
+ and have checked out the files from the
+ top-level sandbox directory.
+
+ or
+
+ Setting the BOOST_BUILD_PATH environment
+ variable to point to a Boost build directory.
+
+2) Using the --boost=/path/to/boost/installation
+ bjam command-line parameter to point to a
+ Boost installation.
+
+If you move this library under a Boost installation
+you need only execute 'bjam' in the jamfile directories
+to regenerate the docs or run the test.
+
+For the version of this library, see version.txt.
+For the history of this library, see history.txt.
+
+If you want to contact me directly, my name is
+Edward Diener and you can reach me at
+eld_at_tropicsoft.com. You can also of course
+use the Boost newsgroups to ask questions
+and make comments or suggestions about the
+library.

Added: sandbox/tti/libs/tti/doc/version.txt
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/doc/version.txt 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1 @@
+Version 1.0
\ No newline at end of file

Added: sandbox/tti/libs/tti/test/Jamfile.v2
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/Jamfile.v2 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,81 @@
+# Tti testing Jamfile
+#
+# Copyright (c) 2010
+# Edward Diener
+#
+
+import testing ;
+
+project tti_tests : requirements <warnings>on
+ <toolset>gcc-4.4.0:<warnings>all
+ <toolset>gcc-4.4.0:<cxxflags>-Wno-variadic-macros
+ <toolset>gcc-4.5.0:<warnings>all
+ <toolset>gcc-4.5.0:<cxxflags>-Wno-variadic-macros
+ <toolset>gcc-4.5.0:<linkflags>"-Wl,--enable-auto-import"
+ <toolset>msvc:<warnings>all
+ ;
+
+alias tti
+ :
+ [ run TestHasMember.cpp ]
+ [ compile TestHasMemberCompile.cpp ]
+ [ compile-fail TestHasMemberFail.cpp ]
+ [ compile-fail TestHasMemberFail2.cpp ]
+ [ compile-fail TestHasMemberFail3.cpp ]
+ [ run TestHasStaticMember.cpp ]
+ [ compile TestHasStaticMemberCompile.cpp ]
+ [ compile-fail TestHasStaticMemberFail.cpp ]
+ [ compile-fail TestHasStaticMemberFail2.cpp ]
+ [ run TestHasTemplate.cpp ]
+ [ compile TestHasTemplateCompile.cpp ]
+ [ compile-fail TestHasTemplateFail.cpp ]
+ [ compile-fail TestHasTemplateFail2.cpp ]
+ [ run TestHasTemplateCheckParams.cpp ]
+ [ compile TestHasTemplateCheckParamsCompile.cpp ]
+ [ compile-fail TestHasTemplateCheckParamsFail.cpp ]
+ [ compile-fail TestHasTemplateCheckParamsFail2.cpp ]
+ [ run TestHasType.cpp ]
+ [ compile TestHasTypeCompile.cpp ]
+ [ compile-fail TestHasTypeFail.cpp ]
+ [ compile-fail TestHasTypeFail2.cpp ]
+ [ run TestMemberType.cpp ]
+ [ compile TestMemberTypeCompile.cpp ]
+ [ compile-fail TestMemberTypeFail.cpp ]
+ [ compile-fail TestMemberTypeFail2.cpp ]
+ [ run TestMFHasMemberData.cpp ]
+ [ compile TestMFHasMemberDataCompile.cpp ]
+ [ compile-fail TestMFHasMemberDataFail.cpp ]
+ [ compile-fail TestMFHasMemberDataFail2.cpp ]
+ [ run TestMFHasMemberFunction.cpp ]
+ [ compile TestMFHasMemberFunctionCompile.cpp ]
+ [ compile-fail TestMFHasMemberFunctionFail.cpp ]
+ [ compile-fail TestMFHasMemberFunctionFail2.cpp ]
+ [ run TestMFHasStaticData.cpp ]
+ [ compile TestMFHasStaticDataCompile.cpp ]
+ [ compile-fail TestMFHasStaticDataFail.cpp ]
+ [ compile-fail TestMFHasStaticDataFail2.cpp ]
+ [ run TestMFHasStaticFunction.cpp ]
+ [ compile TestMFHasStaticFunctionCompile.cpp ]
+ [ compile-fail TestMFHasStaticFunctionFail.cpp ]
+ [ compile-fail TestMFHasStaticFunctionFail2.cpp ]
+ [ run TestMFHasType.cpp ]
+ [ compile TestMFHasTypeCompile.cpp ]
+ [ compile-fail TestMFHasTypeFail.cpp ]
+ [ compile-fail TestMFHasTypeFail2.cpp ]
+ [ run TestMFHasTypeCheckTypedef.cpp ]
+ [ compile TestMFHasTypeCheckTypedefCompile.cpp ]
+ [ compile-fail TestMFHasTypeCheckTypedefFail.cpp ]
+ [ compile-fail TestMFHasTypeCheckTypedefFail2.cpp ]
+ [ run TestMFMemberType.cpp ]
+ [ compile TestMFMemberTypeCompile.cpp ]
+ [ compile-fail TestMFMemberTypeFail.cpp ]
+ [ compile-fail TestMFMemberTypeFail2.cpp ]
+ ;
+
+alias ttiVM
+ :
+ [ run TestVMHasTemplateCheckParams.cpp : : : <include>../../../../variadic_macro_data ]
+ [ compile TestVMHasTemplateCheckParamsCompile.cpp : <include>../../../../variadic_macro_data ]
+ [ compile-fail TestVMHasTemplateCheckParamsFail.cpp : <include>../../../../variadic_macro_data ]
+ [ compile-fail TestVMHasTemplateCheckParamsFail2.cpp : <include>../../../../variadic_macro_data ]
+ ;

Added: sandbox/tti/libs/tti/test/TestHasMember.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasMember.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,23 @@
+#include "TestHasMember.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ BOOST_TEST(tti::has_member_AnInt<int AType::*>::value);
+ BOOST_TEST(tti::has_member_AnInt<long AnotherType::*>::value);
+ BOOST_TEST(tti::has_member_VoidFunction<void (AType::*)()>::value);
+ BOOST_TEST(tti::has_member_IntFunction<int (AType::*)()>::value);
+ BOOST_TEST(tti::has_member_IntFunction<double (AnotherType::*)(int)>::value);
+ BOOST_TEST(tti::has_member_aFunction<AType (AnotherType::*)(int)>::value);
+ BOOST_TEST(tti::has_member_anotherFunction<int (AnotherType::*)(AType)>::value);
+ BOOST_TEST(tti::has_member_sFunction<AType::AnIntType (AnotherType::*)(int,long,double)>::value);
+ BOOST_TEST(tti::has_member_aMember<bool AnotherType::*>::value);
+ BOOST_TEST(!tti::has_member_aMember<int AnotherType::*>::value);
+ BOOST_TEST(tti::has_member_cMem<bool AnotherType::*>::value);
+ BOOST_TEST(!tti::has_member_someDataMember<short AType::*>::value);
+ BOOST_TEST(!tti::has_member_someFunctionMember<AType (AnotherType::*)(long,int)>::value);
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasMember.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasMember.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,18 @@
+#if !defined(TEST_HAS_MEMBER_HPP)
+#define TEST_HAS_MEMBER_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+TTI_HAS_MEMBER(AnInt)
+TTI_HAS_MEMBER(VoidFunction)
+TTI_HAS_MEMBER(IntFunction)
+TTI_HAS_MEMBER(aFunction)
+TTI_HAS_MEMBER(anotherFunction)
+TTI_HAS_MEMBER(sFunction)
+TTI_HAS_MEMBER(aMember)
+TTI_HAS_MEMBER(cMem)
+TTI_HAS_MEMBER(someDataMember)
+TTI_HAS_MEMBER(someFunctionMember)
+
+#endif // TEST_HAS_MEMBER_HPP

Added: sandbox/tti/libs/tti/test/TestHasMemberCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasMemberCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,20 @@
+#include "TestHasMember.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((tti::has_member_AnInt<int AType::*>));
+ BOOST_MPL_ASSERT((tti::has_member_AnInt<long AnotherType::*>));
+ BOOST_MPL_ASSERT((tti::has_member_VoidFunction<void (AType::*)()>));
+ BOOST_MPL_ASSERT((tti::has_member_IntFunction<int (AType::*)()>));
+ BOOST_MPL_ASSERT((tti::has_member_IntFunction<double (AnotherType::*)(int)>));
+ BOOST_MPL_ASSERT((tti::has_member_aFunction<AType (AnotherType::*)(int)>));
+ BOOST_MPL_ASSERT((tti::has_member_anotherFunction<int (AnotherType::*)(AType)>));
+ BOOST_MPL_ASSERT((tti::has_member_sFunction<AType::AnIntType (AnotherType::*)(int,long,double)>));
+ BOOST_MPL_ASSERT((tti::has_member_aMember<bool AnotherType::*>));
+ BOOST_MPL_ASSERT((tti::has_member_cMem<bool AnotherType::*>));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasMemberFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasMemberFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,13 @@
+#include "TestHasMember.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ // someDataMember does not exist at all
+
+ BOOST_MPL_ASSERT(( tti::has_member_someDataMember<short AType::*> ));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasMemberFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasMemberFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,13 @@
+#include "TestHasMember.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ // Wrong data signature for aMember
+
+ BOOST_MPL_ASSERT(( tti::has_member_aMember<int AnotherType::*> ));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasMemberFail3.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasMemberFail3.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,13 @@
+#include "TestHasMember.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ // Wrong function signature for sFunction
+
+ BOOST_MPL_ASSERT(( tti::has_member_sFunction<AType::AnIntType (AnotherType::*)(short,long,double)> ));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasStaticMember.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasStaticMember.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestHasStaticMember.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasStaticMember.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasStaticMember.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_HAS_STATIC_MEMBER_HPP)
+#define TEST_HAS_STATIC_MEMBER_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_HAS_STATIC_MEMBER_HPP

Added: sandbox/tti/libs/tti/test/TestHasStaticMemberCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasStaticMemberCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestHasStaticMember.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasStaticMemberFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasStaticMemberFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestHasStaticMember.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasStaticMemberFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasStaticMemberFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestHasStaticMember.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasTemplate.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTemplate.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestHasTemplate.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasTemplate.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTemplate.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_HAS_TEMPLATE_HPP)
+#define TEST_HAS_TEMPLATE_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_HAS_TEMPLATE_HPP

Added: sandbox/tti/libs/tti/test/TestHasTemplateCheckParams.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTemplateCheckParams.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestHasTemplateCheckParams.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasTemplateCheckParams.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTemplateCheckParams.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_HAS_TEMPLATE_CHECK_PARAMS_HPP)
+#define TEST_HAS_TEMPLATE_CHECK_PARAMS_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_HAS_TEMPLATE_CHECK_PARAMS_HPP

Added: sandbox/tti/libs/tti/test/TestHasTemplateCheckParamsCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTemplateCheckParamsCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestHasTemplateCheckParams.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasTemplateCheckParamsFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTemplateCheckParamsFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestHasTemplateCheckParams.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasTemplateCheckParamsFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTemplateCheckParamsFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestHasTemplateCheckParams.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasTemplateCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTemplateCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestHasTemplate.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasTemplateFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTemplateFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestHasTemplate.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasTemplateFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTemplateFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestHasTemplate.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasType.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasType.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestHasType.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasType.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasType.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_HAS_TYPE_HPP)
+#define TEST_HAS_TYPE_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_HAS_TYPE_HPP

Added: sandbox/tti/libs/tti/test/TestHasTypeCheckTypedef.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTypeCheckTypedef.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,52 @@
+#include "DiscoveryTest.hpp"
+#include <boost/mpl/assert.hpp>
+// #include <boost/type_traits/is_same.hpp>
+
+short AType::DSMember(5622);
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT(( tti::has_type_AnIntType<AType> ));
+ BOOST_MPL_ASSERT(( tti::has_type_AStructType<AType> ));
+ BOOST_MPL_ASSERT(( tti::has_type_check_typedef_AnIntType<AType,int> ));
+ BOOST_MPL_ASSERT(( tti::has_type_check_typedef_AStructType<AType,AType::AStructType> ));
+ BOOST_MPL_ASSERT(( tti::has_type_check_typedef_AnIntTypeReference<AType,int &> ));
+ BOOST_MPL_ASSERT(( tti::has_template_ATPMemberTemplate<AType> ));
+ BOOST_MPL_ASSERT(( tti::has_template_check_AMemberTemplate<AType> ));
+ BOOST_MPL_ASSERT(( tti::has_template_check_AnotherMemberTemplate<AType> ));
+ BOOST_MPL_ASSERT(( tti::has_template_check_CLMemberTemplate<AType> ));
+ BOOST_MPL_ASSERT(( tti::has_member_VoidFunction<void (AType::*)()> ));
+ BOOST_MPL_ASSERT(( tti::has_member_aMember<bool AnotherType::*> ));
+ BOOST_MPL_ASSERT(( tti::has_member_aFunction<AType (AnotherType::*)(int)> ));
+ BOOST_MPL_ASSERT(( tti::mf_has_member_function<tti::has_member_aFunction,boost::mpl::identity<AnotherType>,boost::mpl::identity<AType>,boost::mpl::identity<int> > ));
+ BOOST_MPL_ASSERT(( tti::mf_has_member_function<tti::has_member_sFunction,boost::mpl::identity<AnotherType>,tti::member_type_AnIntType<AType>,boost::mpl::identity<int>,boost::mpl::identity<long>,boost::mpl::identity<double> > ));
+ BOOST_MPL_ASSERT(( tti::mf_has_member_data<tti::has_member_aMember,boost::mpl::identity<AnotherType>,boost::mpl::identity<bool> > ));
+ BOOST_MPL_ASSERT(( tti::has_static_member_SIntFunction<AType,int (long,double)> ));
+ BOOST_MPL_ASSERT(( tti::has_static_member_TIntFunction<AnotherType,AType (long,double)> ));
+ BOOST_MPL_ASSERT(( tti::has_static_member_DSMember<AType,short> ));
+ BOOST_MPL_ASSERT(( tti::mf_has_static_data<tti::has_static_member_DSMember,boost::mpl::identity<AType>,boost::mpl::identity<short> > ));
+ BOOST_MPL_ASSERT(( tti::mf_has_static_function<tti::has_static_member_TSFunction,boost::mpl::identity<AnotherType>,tti::member_type_AStructType<AType>,tti::member_type_AnIntType<AType>,boost::mpl::identity<double> > ));
+ BOOST_MPL_ASSERT(( tti::mf_has_type_check_typedef<tti::has_type_check_typedef_someOtherType,boost::mpl::identity<AnotherType>,tti::member_type_AnIntType<AType> > ));
+ BOOST_MPL_ASSERT(( tti::mf_has_type<tti::has_type_AnIntType,boost::mpl::identity<AType> > ));
+ BOOST_MPL_ASSERT(( tti::mf_has_type<tti::has_type_AnIntegerType,tti::member_type_BType<AType> > ));
+ BOOST_MPL_ASSERT(( tti::mf_has_type
+ <
+ tti::has_type_AnotherIntegerType,
+ tti::mf_member_type
+ <
+ tti::member_type_CType,
+ tti::mf_member_type
+ <
+ tti::member_type_BType,
+ boost::mpl::identity<AType>
+ >
+ >
+ >
+ ));
+
+// tti::has_type_check_typedef_NothingType<AnotherType,int> ctnt;
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasTypeCheckTypedef.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTypeCheckTypedef.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_HAS_TYPE_CHECK_TYPEDEF_HPP)
+#define TEST_HAS_TYPE_CHECK_TYPEDEF_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_HAS_TYPE_CHECK_TYPEDEF_HPP

Added: sandbox/tti/libs/tti/test/TestHasTypeCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTypeCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestHasType.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasTypeFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTypeFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestHasType.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestHasTypeFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestHasTypeFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestHasType.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasMemberData.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasMemberData.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestMFHasMemberData.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasMemberData.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasMemberData.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_MF_HAS_MEMBER_DATA_HPP)
+#define TEST_MF_HAS_MEMBER_DATA_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_MF_HAS_MEMBER_DATA_HPP

Added: sandbox/tti/libs/tti/test/TestMFHasMemberDataCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasMemberDataCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasMemberData.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasMemberDataFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasMemberDataFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasMemberData.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasMemberDataFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasMemberDataFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasMemberData.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasMemberFunction.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasMemberFunction.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestMFHasMemberFunction.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasMemberFunction.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasMemberFunction.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_MF_HAS_MEMBER_FUNCTION_HPP)
+#define TEST_MF_HAS_MEMBER_FUNCTION_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_MF_HAS_MEMBER_FUNCTION_HPP

Added: sandbox/tti/libs/tti/test/TestMFHasMemberFunctionCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasMemberFunctionCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasMemberFunction.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasMemberFunctionFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasMemberFunctionFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasMemberFunction.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasMemberFunctionFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasMemberFunctionFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasMemberFunction.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasStaticData.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasStaticData.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestMFHasStaticData.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasStaticData.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasStaticData.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_MF_HAS_STATIC_DATA_HPP)
+#define TEST_MF_HAS_STATIC_DATA_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_MF_HAS_STATIC_DATA_HPP

Added: sandbox/tti/libs/tti/test/TestMFHasStaticDataCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasStaticDataCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasStaticData.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasStaticDataFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasStaticDataFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasStaticData.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasStaticDataFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasStaticDataFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasStaticData.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasStaticFunction.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasStaticFunction.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestMFHasStaticFunction.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasStaticFunction.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasStaticFunction.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_MF_HAS_STATIC_FUNCTION_HPP)
+#define TEST_MF_HAS_STATIC_FUNCTION_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_MF_HAS_STATIC_FUNCTION_HPP

Added: sandbox/tti/libs/tti/test/TestMFHasStaticFunctionCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasStaticFunctionCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasStaticFunction.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasStaticFunctionFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasStaticFunctionFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasStaticFunction.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasStaticFunctionFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasStaticFunctionFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasStaticFunction.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasType.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasType.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestMFHasType.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasType.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasType.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_MF_HAS_TYPE_HPP)
+#define TEST_MF_HAS_TYPE_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_MF_HAS_TYPE_HPP

Added: sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedef.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedef.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestMFHasTypeCheckTypedef.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedef.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedef.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_MF_HAS_TYPE_CHECK_TYPEDEF_HPP)
+#define TEST_MF_HAS_TYPE_CHECK_TYPEDEF_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_MF_HAS_TYPE_CHECK_TYPEDEF_HPP

Added: sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedefCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedefCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasTypeCheckTypedef.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedefFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedefFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasTypeCheckTypedef.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedefFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasTypeCheckTypedefFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasTypeCheckTypedef.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasTypeCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasTypeCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasType.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasTypeFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasTypeFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasType.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFHasTypeFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFHasTypeFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFHasType.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFMemberType.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFMemberType.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestMFMemberType.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFMemberType.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFMemberType.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_MF_MEMBER_TYPE_HPP)
+#define TEST_MF_MEMBER_TYPE_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_MF_MEMBER_TYPE_HPP

Added: sandbox/tti/libs/tti/test/TestMFMemberTypeCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFMemberTypeCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFMemberType.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFMemberTypeFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFMemberTypeFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFMemberType.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMFMemberTypeFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMFMemberTypeFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMFMemberType.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMemberType.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMemberType.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestMemberType.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestMemberType.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMemberType.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_MEMBER_TYPE_HPP)
+#define TEST_MEMBER_TYPE_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospection.hpp>
+
+#endif // TEST_MEMBER_TYPE_HPP

Added: sandbox/tti/libs/tti/test/TestMemberTypeCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMemberTypeCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMemberType.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMemberTypeFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMemberTypeFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMemberType.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestMemberTypeFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestMemberTypeFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestMemberType.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestStructs.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestStructs.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,82 @@
+#if !defined(TEST_STRUCTS_HPP)
+#define TEST_STRUCTS_HPP
+
+struct AType
+ {
+
+ // Type
+
+ typedef int AnIntType;
+ struct AStructType
+ {
+ };
+ typedef int & AnIntTypeReference;
+ struct BType
+ {
+ typedef int AnIntegerType;
+ struct CType
+ {
+ typedef int AnotherIntegerType;
+ };
+ };
+
+ // Template
+
+ template <class> struct ATPMemberTemplate { };
+ template <int> struct AMemberTemplate { };
+ template <int,int> struct AnotherMemberTemplate { };
+ template <class,class> struct CLMemberTemplate { };
+
+ // Data
+
+ int AnInt;
+
+ // Function
+
+ void VoidFunction() { }
+ int IntFunction() { return 0; }
+
+ // Static Data
+
+ static short DSMember;
+
+ // Static Function
+
+ static int SIntFunction(long,double) { return 2; }
+
+ };
+
+struct AnotherType
+ {
+
+ // Type
+
+ typedef AType::AnIntType someOtherType;
+
+ // Template
+
+ // Data
+
+ bool aMember;
+ bool cMem;
+ long AnInt;
+
+ // Function
+
+ AType aFunction(int) { return AType(); }
+ int anotherFunction(AType) { return 0; }
+ AType::AnIntType sFunction(int,long,double) { return 0; }
+ double IntFunction(int) { return 0; }
+
+ // Static Data
+
+ // Static Function
+
+ static AType TIntFunction(long,double) { return AType(); }
+ static AType::AStructType TSFunction(AType::AnIntType,double) { return AType::AStructType(); }
+
+ };
+
+short AType::DSMember(5622);
+
+#endif // TEST_STRUCTS_HPP

Added: sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParams.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParams.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,9 @@
+#include "TestVMHasTemplateCheckParams.hpp"
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+ return boost::report_errors();
+
+ }

Added: sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParams.hpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParams.hpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,7 @@
+#if !defined(TEST_VM_HAS_TEMPLATE_CHECK_PARAMS_HPP)
+#define TEST_VM_HAS_TEMPLATE_CHECK_PARAMS_HPP
+
+#include "TestStructs.hpp"
+#include <boost/tti/TTIntrospectionVM.hpp>
+
+#endif // TEST_VM_HAS_TEMPLATE_CHECK_PARAMS_HPP

Added: sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParamsCompile.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParamsCompile.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestVMHasTemplateCheckParams.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::true_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParamsFail.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParamsFail.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestVMHasTemplateCheckParams.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }

Added: sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParamsFail2.cpp
==============================================================================
--- (empty file)
+++ sandbox/tti/libs/tti/test/TestVMHasTemplateCheckParamsFail2.cpp 2010-12-07 20:58:39 EST (Tue, 07 Dec 2010)
@@ -0,0 +1,11 @@
+#include "TestVMHasTemplateCheckParams.hpp"
+#include <boost/mpl/assert.hpp>
+
+int main()
+ {
+
+ BOOST_MPL_ASSERT((boost::mpl::false_));
+
+ return 0;
+
+ }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk