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

ObjectReference.h

Go to the documentation of this file.
00001 // /******************************************************************************\
00002 // *
00003 // * File:          ObjectReference.h
00004 // * Creation date: June 22, 2001 11:59
00005 // * Author:        ClassBuilder
00006 // *                XXXX
00007 // * Purpose:       Declaration of class 'SqObjectReference'
00008 // *
00009 // * Modifications: @INSERT_MODIFICATIONS(* )
00010 // *
00011 // *
00012 // \******************************************************************************/
00013 #ifndef _OBJECTREFERENCE_H
00014 #define _OBJECTREFERENCE_H
00015 
00016 //@START_USER1
00021 /* --------------------------------------------------------------
00022 Copyright (C) 2001 LifeLine Networks BV <soap2corba@lifeline.nl>
00023 
00024 This program is free software; you can redistribute it and/or
00025 modify it under the terms of the GNU General Public License
00026 as published by the Free Software Foundation; either
00027 version 2 of the License, or (at your option) any later
00028 version.
00029 
00030 This program is distributed in the hope that it will be useful,
00031 but WITHOUT ANY WARRANTY; without even the implied warranty of
00032 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00033 GNU General Public License for more details.
00034 
00035 You should have received a copy of the GNU General Public License
00036 along with this program; if not, write to the Free Software
00037 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00038 -------------------------------------------------------------- */
00039 //@END_USER1
00040 
00041 
00045 class SqObjectReference
00046 {
00047     // RELATION_UNIQUEVALUETREE_OWNED_PASSIVE(SqContext, Context, SqObjectReference, ObjectReference)
00048     
00049 public:
00050     SqContext * _refContext;
00051     SqObjectReference * _parentContext;
00052     SqObjectReference * _leftContext;
00053     SqObjectReference * _rightContext;
00054 
00055 public:
00056     SqContext* GetContext() const { return _refContext; };
00057 
00058 //@START_USER2
00059 //@END_USER2
00060 
00061 // Members
00062 private:
00063     CString m_IOR;
00064     unsigned long m_ObjSeq;
00065 
00066 protected:
00067 
00068 public:
00069 
00070 // Methods
00071 private:
00072     void ConstructorInclude(SqContext* pContext);
00073     void DestructorInclude();
00074 
00075 protected:
00076 
00077 public:
00078     SqObjectReference(SqContext* pContext, unsigned long ObjSeq,
00079                       const char* IOR);
00080     virtual ~SqObjectReference();
00081     const CString& GetIOR() const;
00082     void SetIOR(const CString& rIOR);
00083     unsigned long GetObjSeq() const;
00084     void SetObjSeq(unsigned long objSeq);
00085 };
00086 
00087 #endif
00088 
00089 
00090 #ifdef CB_INLINES
00091 #ifndef _OBJECTREFERENCE_H_INLINES
00092 #define _OBJECTREFERENCE_H_INLINES
00093 
00097 inline const CString& SqObjectReference::GetIOR() const
00098 {//@CODE_773
00099     return m_IOR;
00100 }//@CODE_773
00101 
00102 
00103 
00107 inline void SqObjectReference::SetIOR(const CString& rIOR)
00108 {//@CODE_774
00109     m_IOR = rIOR;
00110 }//@CODE_774
00111 
00112 
00113 
00117 inline unsigned long SqObjectReference::GetObjSeq() const
00118 {//@CODE_779
00119     return m_ObjSeq;
00120 }//@CODE_779
00121 
00122 
00123 
00124 //@START_USER3
00125 //@END_USER3
00126 
00127 #endif
00128 #endif
00129 

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