Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ReadIR.h

Go to the documentation of this file.
00001 
00005 /* --------------------------------------------------------------
00006 Copyright (C) 2001 LifeLine Networks BV <soap2corba@lifeline.nl>
00007 
00008 This program is free software; you can redistribute it and/or
00009 modify it under the terms of the GNU General Public License
00010 as published by the Free Software Foundation; either
00011 version 2 of the License, or (at your option) any later
00012 version.
00013 
00014 This program is distributed in the hope that it will be useful,
00015 but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017 GNU General Public License for more details.
00018 
00019 You should have received a copy of the GNU General Public License
00020 along with this program; if not, write to the Free Software
00021 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00022 -------------------------------------------------------------- */
00023 #ifndef READIR_H
00024 
00025 #define READIR_H 1
00026 
00027 // forward
00028 class TypeCodeList;
00029 
00031 class IRPlus {
00032 private:
00034     int midNum;
00036     int pidNum;
00037 
00039     void InsertIRFieldRecord (SCMethParam *pParm, DOSnapshot *pTab, const CString &path, const char *fieldName);
00050     void RecurseFields (SCMethParam *pParm, DOSnapshot *pTab, const CString &path, TypeCodeList *tlist, 
00051         CORBA::TypeCode_ptr tcp, const char *hint = NULL);
00053     SCInterfaceMethod *newMeth (const char *Path);
00055     SCMethParam *newParam (SCInterfaceMethod *pMeth, const char *Param, InOutExcept kind, CORBA::TypeCode_ptr ptc);
00057     void FetchParamFields (DOSnapshot *pTab, SCMethParam *pParm);
00059 public:
00061     JTCMonitor monitor;
00063     SCInterfaceRepository IRC;
00065     DOConnection *pCon;
00067     CORBA::ORB_ptr orb;
00068 
00070     IRPlus (CORBA::ORB_ptr _orb)
00071         : midNum (0)
00072         , pidNum (0)
00073     {
00074         orb = _orb;
00075         pCon = NULL;
00076     };
00078     virtual ~IRPlus () {
00079         delete pCon;
00080     };
00081     
00090     void RecurseIR (CORBA::Repository_ptr pIR, 
00091         DynamicAny::DynAnyFactory_ptr dynFact,
00092         CORBA::Contained_ptr ptr, 
00093         const char *path);
00095     void createTables ();
00097     int Init ();
00098 };
00099 
00100 #endif
00101 

This documentation is part of the "SOAP to CORBA bridge" project
Copyright © 2000 by Lifeline Networks bv.
All rights are reserved.