00001 // /******************************************************************************\ 00002 // * 00003 // * File: TypeCodeElm.h 00004 // * Creation date: June 14, 2001 08:46 00005 // * Author: ClassBuilder 00006 // * XXXX 00007 // * Purpose: Declaration of class 'TypeCodeElm' 00008 // * 00009 // * Modifications: @INSERT_MODIFICATIONS(* ) 00010 // * June 19, 2001 12:44 WERS 00011 // * Deleted member 'm_pVoid' 00012 // * June 19, 2001 10:45 WERS 00013 // * Added member 'm_pVoid' 00014 // * Updated interface of method 'TypeCodeElm' 00015 // * June 14, 2001 10:00 WERS 00016 // * Updated interface of method 'TypeCodeElm' 00017 // * June 14, 2001 08:46 WERS 00018 // * Added method 'DestructorInclude' 00019 // * Added method 'ConstructorInclude' 00020 // * Added method '~TypeCodeElm' 00021 // * Added method 'TypeCodeElm' 00022 // * Added relation 'TypeCodeList <>-->> TypeCodeElm' 00023 // * Added member 'm_tc' 00024 // * 00025 // * 00026 // \******************************************************************************/ 00027 #ifndef _TYPECODEELM_H 00028 #define _TYPECODEELM_H 00029 00030 //@START_USER1 00035 /* -------------------------------------------------------------- 00036 Copyright (C) 2001 LifeLine Networks BV <soap2corba@lifeline.nl> 00037 00038 This program is free software; you can redistribute it and/or 00039 modify it under the terms of the GNU General Public License 00040 as published by the Free Software Foundation; either 00041 version 2 of the License, or (at your option) any later 00042 version. 00043 00044 This program is distributed in the hope that it will be useful, 00045 but WITHOUT ANY WARRANTY; without even the implied warranty of 00046 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00047 GNU General Public License for more details. 00048 00049 You should have received a copy of the GNU General Public License 00050 along with this program; if not, write to the Free Software 00051 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00052 -------------------------------------------------------------- */ 00053 //@END_USER1 00054 00055 00056 class TypeCodeElm 00057 { 00058 // RELATION_MULTI_OWNED_PASSIVE(TypeCodeList, TypeCodeList, TypeCodeElm, TypeCodeElm) 00059 00060 public: 00061 TypeCodeList * _refTypeCodeList; 00062 TypeCodeElm * _prevTypeCodeList; 00063 TypeCodeElm * _nextTypeCodeList; 00064 00065 public: 00066 TypeCodeList* GetTypeCodeList() const { return _refTypeCodeList; }; 00067 00068 //@START_USER2 00069 //@END_USER2 00070 00071 // Members 00072 private: 00073 00074 protected: 00075 00076 public: 00077 CORBA::TypeCode_var m_tc; 00078 00079 // Methods 00080 private: 00081 void ConstructorInclude(TypeCodeList* pTypeCodeList); 00082 void DestructorInclude(); 00083 00084 protected: 00085 00086 public: 00087 TypeCodeElm(TypeCodeList* pTypeCodeList, CORBA::TypeCode_ptr ptc); 00088 virtual ~TypeCodeElm(); 00089 }; 00090 00091 #endif 00092 00093 00094 #ifdef CB_INLINES 00095 #ifndef _TYPECODEELM_H_INLINES 00096 #define _TYPECODEELM_H_INLINES 00097 00098 //@START_USER3 00099 //@END_USER3 00100 00101 #endif 00102 #endif 00103