00001 // /******************************************************************************\ 00002 // * 00003 // * File: HrefId.h 00004 // * Creation date: June 11, 2001 11:05 00005 // * Author: ClassBuilder 00006 // * XXXX 00007 // * Purpose: Declaration of class 'HrefId' 00008 // * 00009 // * Modifications: @INSERT_MODIFICATIONS(* ) 00010 // * June 11, 2001 11:05 WERS 00011 // * Added method 'DestructorInclude' 00012 // * Added method 'ConstructorInclude' 00013 // * Added method '~HrefId' 00014 // * Added method 'HrefId' 00015 // * Added relation 'HrefIdMap <>-->> HrefId' 00016 // * Added member 'm_node' 00017 // * Added member 'm_id' 00018 // * 00019 // * 00020 // \******************************************************************************/ 00021 #ifndef _HREFID_H 00022 #define _HREFID_H 00023 00024 //@START_USER1 00029 /* -------------------------------------------------------------- 00030 Copyright (C) 2001 LifeLine Networks BV <soap2corba@lifeline.nl> 00031 00032 This program is free software; you can redistribute it and/or 00033 modify it under the terms of the GNU General Public License 00034 as published by the Free Software Foundation; either 00035 version 2 of the License, or (at your option) any later 00036 version. 00037 00038 This program is distributed in the hope that it will be useful, 00039 but WITHOUT ANY WARRANTY; without even the implied warranty of 00040 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00041 GNU General Public License for more details. 00042 00043 You should have received a copy of the GNU General Public License 00044 along with this program; if not, write to the Free Software 00045 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00046 -------------------------------------------------------------- */ 00047 //@END_USER1 00048 00049 00050 class HrefId 00051 { 00052 // RELATION_AVLTREE_OWNED_PASSIVE(HrefIdMap, HrefIdMap, HrefId, HrefId) 00053 00054 public: 00055 HrefIdMap * _refHrefIdMap; 00056 HrefId * _parentHrefIdMap; 00057 HrefId * _leftHrefIdMap; 00058 HrefId * _rightHrefIdMap; 00059 int _balHrefIdMap; 00060 00061 public: 00062 HrefIdMap* GetHrefIdMap() const { return _refHrefIdMap; }; 00063 00064 //@START_USER2 00065 //@END_USER2 00066 00067 // Members 00068 private: 00069 00070 protected: 00071 00072 public: 00073 CString m_id; 00074 DOM_Node m_node; 00075 00076 // Methods 00077 private: 00078 void ConstructorInclude(HrefIdMap* pHrefIdMap); 00079 void DestructorInclude(); 00080 00081 protected: 00082 00083 public: 00084 HrefId(HrefIdMap* pHrefIdMap, DOMString& rString, DOM_Node& rNode); 00085 virtual ~HrefId(); 00086 }; 00087 00088 #endif 00089 00090 00091 #ifdef CB_INLINES 00092 #ifndef _HREFID_H_INLINES 00093 #define _HREFID_H_INLINES 00094 00095 //@START_USER3 00096 //@END_USER3 00097 00098 #endif 00099 #endif 00100