📄 context.inl
字号:
// -*- C++ -*-
//
// Context.inl,v 1.5 2003/10/28 18:29:23 bala Exp
ACE_INLINE
void
CORBA::release (CORBA::Context_ptr x)
{
if (x != 0)
{
x->_decr_refcnt ();
}
}
ACE_INLINE
CORBA::Boolean
CORBA::is_nil (CORBA::Context_ptr x)
{
return (CORBA::Boolean) (x == 0);
}
ACE_INLINE
void
CORBA::release (CORBA::ContextList *x)
{
if (x != 0)
{
x->_decr_refcnt ();
}
}
ACE_INLINE
CORBA::Boolean
CORBA::is_nil (CORBA::ContextList_ptr x)
{
return (CORBA::Boolean) (x == 0);
}
// ===================================================================
ACE_INLINE
CORBA::Context_ptr
CORBA::Context::_duplicate (CORBA::Context_ptr x)
{
if (x != 0)
{
x->_incr_refcnt ();
}
return x;
}
ACE_INLINE
CORBA::Context_ptr
CORBA::Context::_nil (void)
{
return (CORBA::Context_ptr)0;
}
// *************************************************************
// Inline operations for class CORBA::ContextList
// *************************************************************
ACE_INLINE
CORBA::ContextList::ContextList (void)
{
}
ACE_INLINE
CORBA::ULong
CORBA::ContextList::count (void)
{
return (CORBA::ULong) this->ctx_list_.size ();
}
ACE_INLINE
CORBA::ContextList_ptr
CORBA::ContextList::_nil (void)
{
return (CORBA::ContextList_ptr)0;
}
ACE_INLINE
CORBA::ContextList_ptr
CORBA::ContextList::_duplicate (CORBA::ContextList_ptr x)
{
if (x != 0)
{
x->_incr_refcnt ();
}
return x;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -