summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicInterface/ExceptionList.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/DynamicInterface/ExceptionList.inl')
-rw-r--r--TAO/tao/DynamicInterface/ExceptionList.inl58
1 files changed, 58 insertions, 0 deletions
diff --git a/TAO/tao/DynamicInterface/ExceptionList.inl b/TAO/tao/DynamicInterface/ExceptionList.inl
new file mode 100644
index 00000000000..d5fe85f4b65
--- /dev/null
+++ b/TAO/tao/DynamicInterface/ExceptionList.inl
@@ -0,0 +1,58 @@
+// -*- C++ -*-
+//
+// $Id$
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+ACE_INLINE
+void
+CORBA::release (CORBA::ExceptionList_ptr x)
+{
+ if (x != 0)
+ {
+ x->_decr_refcnt ();
+ }
+}
+
+ACE_INLINE
+CORBA::Boolean
+CORBA::is_nil (CORBA::ExceptionList_ptr x)
+{
+ return (CORBA::Boolean) (x == 0);
+}
+
+// ===================================================================
+
+ACE_INLINE
+CORBA::ExceptionList::ExceptionList (void)
+ : ref_count_ (1)
+{
+}
+
+ACE_INLINE
+CORBA::ULong
+CORBA::ExceptionList::count (void)
+{
+ return (CORBA::ULong) this->tc_list_.size ();
+}
+
+ACE_INLINE
+CORBA::ExceptionList_ptr
+CORBA::ExceptionList::_nil (void)
+{
+ return (CORBA::ExceptionList_ptr)0;
+}
+
+ACE_INLINE
+CORBA::ExceptionList_ptr
+CORBA::ExceptionList::_duplicate (CORBA::ExceptionList_ptr x)
+{
+ if (x != 0)
+ {
+ x->_incr_refcnt ();
+ }
+
+ return x;
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL