Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Sequence_Unit_Tests / fwd_mock_reference.hpp
blob3a56db19535cf0c1bca525128c977b34f419db19
1 #ifndef guard_fwd_mock_reference_hpp
2 #define guard_fwd_mock_reference_hpp
3 /**
4 * @file
6 * @brief Mock an forward declared object reference so we can test the sequences
7 * in isolation.
9 * @author Johnny Willemsen <jwillemsen@remedy.nl>
11 #include "ace/config-all.h"
13 #include "testing_counters.hpp"
15 #include "tao/Objref_VarOut_T.h"
17 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
19 class fwd_mock_reference;
20 typedef fwd_mock_reference * fwd_mock_reference_ptr;
21 typedef TAO_Objref_Var_T<fwd_mock_reference> fwd_mock_reference_var;
22 typedef TAO_Objref_Out_T<fwd_mock_reference> fwd_mock_reference_out;
24 namespace TAO
26 template<>
27 struct Objref_Traits< fwd_mock_reference>
29 static fwd_mock_reference_ptr duplicate (fwd_mock_reference_ptr);
30 static void release (fwd_mock_reference_ptr);
31 static fwd_mock_reference_ptr nil (void);
32 static CORBA::Boolean marshal (const fwd_mock_reference_ptr p, TAO_OutputCDR & cdr);
36 TAO_END_VERSIONED_NAMESPACE_DECL
37 #endif // guard_fwd_mock_reference_hpp