summaryrefslogtreecommitdiff
path: root/TAO/tao/Objref_VarOut_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Objref_VarOut_T.h')
-rw-r--r--TAO/tao/Objref_VarOut_T.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/TAO/tao/Objref_VarOut_T.h b/TAO/tao/Objref_VarOut_T.h
index 608672d2d8c..43b923e65f9 100644
--- a/TAO/tao/Objref_VarOut_T.h
+++ b/TAO/tao/Objref_VarOut_T.h
@@ -24,13 +24,31 @@
#include "ace/CORBA_macros.h"
+namespace TAO
+{
+ /**
+ * struct Objref_Traits
+ *
+ * @brief Specialized for each interface in generated code.
+ *
+ */
+ template<typename T>
+ struct Objref_Traits
+ {
+ static T * tao_duplicate (T *);
+ static void tao_release (T *);
+ static T * tao_nil (void);
+ static CORBA::Boolean tao_marshal (T *,
+ TAO_OutputCDR &);
+ };
+};
+
/**
* @class TAO_Objref_Var_T
*
* @brief Parametrized implementation of _var class for object references.
*
*/
-
template <typename T, typename T_life>
class TAO_Objref_Var_T : private TAO_Base_var
{