42#ifndef TEUCHOS_TEST_CLASSES_HPP
43#define TEUCHOS_TEST_CLASSES_HPP
96 A(
const int A_g,
const int A_f) : A_g_(A_g), A_f_(A_f) {}
99 virtual
int A_g() {
return A_g_; }
100 virtual int A_f()
const {
return A_f_; }
109class B1 :
virtual public A {
120class B2 :
virtual public A {
131class C :
virtual public B1,
virtual public B2
142 C_g_ = -1; C_f_ = -1;
144 virtual int C_g() {
return C_g_; }
145 virtual int C_f()
const {
return C_f_; }
262 static std::string
name() {
return "UndefinedType2"; }
284struct UndefinedType3;
297 static std::string
name() {
return "Opaque3_handle"; }
void destroyOpaque(Opaque_handle *opaque)
UndefinedType2 * Opaque2_handle
UndefinedType3 * Opaque3_handle
Opaque_handle createOpaque()
const Opaque_handle OPAQUE_HANDLE_NULL
int getOpaqueValue(Opaque_handle opaque)
const int getOpaque2Value_return
const int getOpaqueValue_return
const Opaque3_handle OPAQUE3_HANDLE_NULL
int getOpaque2Value(Opaque2_handle opaque)
Opaque2_handle createOpaque2()
void destroyOpaque2(Opaque2_handle *opaque)
UndefinedType * Opaque_handle
const Opaque2_handle OPAQUE2_HANDLE_NULL
void deallocHandleA(A **handle)
#define TEUCHOS_NOEXCEPT_FALSE
Reference-counted pointer class and non-member templated function implementations.
virtual ~A() TEUCHOS_NOEXCEPT_FALSE
void set_C(const Teuchos::RCP< C > &c)
A(const int A_g, const int A_f)
static Teuchos::RCP< A > create()
static Teuchos::RCP< B1 > create()
static Teuchos::RCP< B2 > create()
Teuchos::RCP< A > get_A()
static int get_A_g_on_delete()
static int A_g_on_delete_
void set_A(const Teuchos::RCP< A > &a)
static Teuchos::RCP< C > create()
Get_A_f_return(const A *a, int *a_f_return)
Smart reference counting pointer class for automatic garbage collection.
static std::string concreteName(Opaque3_handle)
static std::string name()
static std::string name()
static std::string concreteName(const UndefinedType2 &)
Default traits class that just returns typeid(T).name().
static std::string name()
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.