⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 anonobject.cc

📁 编译工具
💻 CC
字号:
// -*- Mode: C++; -*-//                            Package   : omniORB// anonObject.cc              Created on: 26/2/99//                            Author    : David Riddoch (djr)////    Copyright (C) 1996, 1999 AT&T Research Cambridge////    This file is part of the omniORB library////    The omniORB library is free software; you can redistribute it and/or//    modify it under the terms of the GNU Library General Public//    License as published by the Free Software Foundation; either//    version 2 of the License, or (at your option) any later version.////    This library is distributed in the hope that it will be useful,//    but WITHOUT ANY WARRANTY; without even the implied warranty of//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU//    Library General Public License for more details.////    You should have received a copy of the GNU Library General Public//    License along with this library; if not, write to the Free//    Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  //    02111-1307, USA////// Description://    Implementation of an anonymous object (no compile-time knowledge//    of the interface).//       /*  $Log: anonObject.cc,v $  Revision 1.2.2.5  2001/08/15 10:26:11  dpg1  New object table behaviour, correct POA semantics.  Revision 1.2.2.4  2001/05/31 16:20:13  dpg1  inline string matching functions, re-ordered string matching in  _ptrToInterface/_ptrToObjRef  Revision 1.2.2.3  2001/04/18 18:18:11  sll  Big checkin with the brand new internal APIs.  Revision 1.2.2.2  2000/09/27 17:43:55  sll  Updated to match the changes in the proxyFactory class.  Revision 1.2.2.1  2000/07/17 10:35:50  sll  Merged from omni3_develop the diff between omni3_0_0_pre3 and omni3_0_0.  Revision 1.3  2000/07/13 15:25:59  dpg1  Merge from omni3_develop for 3.0 release.  Revision 1.1.2.2  1999/09/27 11:01:10  djr  Modifications to logging.  Revision 1.1.2.1  1999/09/22 14:26:41  djr  Major rewrite of orbcore to support POA.*/#include <omniORB4/CORBA.h>#ifdef HAS_pch#pragma hdrstop#endif#include <anonObject.h>OMNI_USING_NAMESPACE(omni)///////////////////////////////////////////////////////////////////////////////////////////////// omniAnonObjRef /////////////////////////////////////////////////////////////////////////////////////////////////void*omniAnonObjRef::_ptrToObjRef(const char* repoId){  OMNIORB_ASSERT(repoId);  if( omni::ptrStrMatch(repoId, CORBA::Object::_PD_repoId) )    return (CORBA::Object_ptr) this;  return 0;}omniAnonObjRef::~omniAnonObjRef() {}/////////////////////////////////////////////////////////////////////////////////////////////// omniAnonObjRef_pof ///////////////////////////////////////////////////////////////////////////////////////////////omniAnonObjRef_pof::~omniAnonObjRef_pof() {}omniObjRef*omniAnonObjRef_pof::newObjRef(omniIOR* ior, omniIdentity* id){  return new omniAnonObjRef(ior, id);}CORBA::BooleanomniAnonObjRef_pof::is_a(const char* repoId) const{  OMNIORB_ASSERT(repoId);  return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -