trick/test/SIM_test_templates/TemplateTest.hh
Alex Lin bf80dcc03f Split test sims and fun sims into separate directories.
Gave each sim their own model directory, or in some cases just
a header file.  Each sim in the test directory is now independent
of each other. Modifying one test will not affect any other test.

refs #191
2016-02-25 14:40:55 -06:00

49 lines
732 B
C++

/**
@file
@verbatim
PURPOSE:
(Template tests)
@endverbatim
*******************************************************************************/
#ifndef TEMPLATETEST_HH
#define TEMPLATETEST_HH
template <class A, class B>
class TTT {
public:
TTT() {
aa = 0 ;
bb = 0 ;
cc = NULL ;
dd = NULL ;
} ;
A aa ;
B bb ;
TTT<A,B> * ttt ;
typedef TTT<A,B> C ;
C * cc ;
typedef TTT<B,A> D ;
D * dd ;
} ;
class TemplateTest {
friend class InputProcessor ;
friend void init_attrTemplateTest() ;
public:
TTT< int , double > TTT_var ;
};
#ifdef SWIG
%struct_str(TemplateTest)
#endif
#endif /* _BALL_HH_ */