Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

naming.h

Go to the documentation of this file.
00001 // -*- Mode: C++; -*-
00002 //                            Package   : omniEvents
00003 // naming.h                   Created   : 1/10/99
00004 //                            Author    : Paul Nader (pwn)
00005 //
00006 //    Copyright (C) 1998 Paul Nader.
00007 //
00008 //    This file is part of the omniEvents application.
00009 //
00010 //    omniEvents is free software; you can redistribute it and/or
00011 //    modify it under the terms of the GNU Lesser General Public
00012 //    License as published by the Free Software Foundation; either
00013 //    version 2.1 of the License, or (at your option) any later version.
00014 //
00015 //    omniEvents is distributed in the hope that it will be useful,
00016 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
00017 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018 //    Lesser General Public License for more details.
00019 //
00020 //    You should have received a copy of the GNU Lesser General Public
00021 //    License along with this library; if not, write to the Free Software
00022 //    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023 //
00024 // Description:
00025 //
00026 
00027 /*
00028   $Log: naming.h,v $
00029   Revision 1.2  2003/11/03 22:33:49  alextingle
00030   Removed all platform specific switches. Now uses autoconf, config.h.
00031 
00032   Revision 1.1.1.1  2002/09/25 19:00:32  shamus13
00033   Import of OmniEvents source tree from release 2.1.1
00034 
00035   Revision 1.1  2000/09/04 03:41:20  naderp
00036   Changed headers.
00037 
00038   Revision 1.0  1999/11/01 16:48:11  naderp
00039   Initial revision
00040 
00041 */
00042 
00043 #ifndef _NAMING_H_
00044 #define _NAMING_H_
00045 
00046 #ifdef HAVE_CONFIG_H
00047 #  include "config.h"
00048 #endif
00049 
00050 #ifdef HAVE_IOSTREAM
00051 #  include <iostream>
00052 #else
00053 #  include <iostream.h>
00054 #endif
00055 
00056 #ifdef HAVE_STD_IOSTREAM
00057 using namespace std;
00058 #endif
00059 
00060 #ifdef HAVE_OMNIORB3
00061 #  include <omniORB3/CORBA.h>
00062 #endif
00063 
00064 #ifdef HAVE_OMNIORB4
00065 #  include <omniORB4/CORBA.h>
00066 #endif
00067 
00068 CosNaming::NamingContext_ptr getRootNamingContext(CORBA::ORB_ptr orb);
00069 
00070 ostream& operator<<(ostream& os, const CosNaming::Name &n);
00071 ostream& operator<<(ostream& os, const omniORB::objectKey &k);
00072 
00073 void bindName2Object(CosNaming::NamingContext_ptr,
00074                      const CosNaming::Name &,
00075                      CORBA::Object_ptr);
00076 
00077 void str2key(omniORB::objectKey& k, char *s);
00078 
00079 #endif /* _NAMING_H_ */

Generated on Fri Dec 12 10:53:02 2003 for OmniEvents by doxygen1.2.15