00001 // /******************************************************************************\ 00002 // * 00003 // * File: ParamValue.h 00004 // * Creation date: May 17, 2001 11:37 00005 // * Author: ClassBuilder 00006 // * XXXX 00007 // * Purpose: Declaration of class 'SCParamValue' 00008 // * 00009 // * Modifications: @INSERT_MODIFICATIONS(* ) 00010 // * June 19, 2001 16:42 WERS 00011 // * Added member 'm_convInfo' 00012 // * Added member 'm_convId' 00013 // * Updated member 'm_dyn' 00014 // * June 15, 2001 14:39 WERS 00015 // * Updated interface of method 'SCParamValue' 00016 // * June 12, 2001 13:35 WERS 00017 // * Added method 'GetDynAnyPtr' 00018 // * Updated member 'm_dyn' 00019 // * June 12, 2001 13:32 WERS 00020 // * Updated member 'm_dyn' 00021 // * June 08, 2001 09:36 WERS 00022 // * Deleted method 'SCParamValue' 00023 // * Added method 'SCParamValue' 00024 // * Updated member 'm_prmKind' 00025 // * Updated member 'm_prmName' 00026 // * Updated member 'm_dyn' 00027 // * June 08, 2001 09:06 WERS 00028 // * Deleted member 'm_pMethParam' 00029 // * Added method 'SCParamValue' 00030 // * Added member 'm_prmKind' 00031 // * Added member 'm_prmName' 00032 // * June 06, 2001 16:15 WERS 00033 // * Deleted method 'CopyDynAny' 00034 // * Deleted method 'SCParamValue' 00035 // * Added method 'SCParamValue' 00036 // * Added member 'm_pMethParam' 00037 // * June 06, 2001 16:04 WERS 00038 // * Added method 'CopyDynAny' 00039 // * May 18, 2001 10:41 WERS 00040 // * Updated interface of method 'ConstructorInclude' 00041 // * Updated interface of method 'SCParamValue' 00042 // * Updated relation 'ParamList(SCParamList) <>-->> ParamValue(SCParamValue)' 00043 // * Updated relation 'ParamValue(SCParamValue) <>-->> FieldValue(SCFieldValue)' 00044 // * Updated member 'm_dyn' 00045 // * May 17, 2001 11:37 WERS 00046 // * Added method 'DestructorInclude' 00047 // * Added method 'ConstructorInclude' 00048 // * Added method '~SCParamValue' 00049 // * Added method 'SCParamValue' 00050 // * Added relation 'ParamList(SCParamList) <>-->> ParamValue(SCParamValue)' 00051 // * Added relation 'ParamValue(SCParamValue) <>-->> FieldValue(SCFieldValue)' 00052 // * Added member 'm_dyn' 00053 // * 00054 // * 00055 // \******************************************************************************/ 00056 #ifndef _PARAMVALUE_H 00057 #define _PARAMVALUE_H 00058 00059 //@START_USER1 00064 /* -------------------------------------------------------------- 00065 Copyright (C) 2001 LifeLine Networks BV <soap2corba@lifeline.nl> 00066 00067 This program is free software; you can redistribute it and/or 00068 modify it under the terms of the GNU General Public License 00069 as published by the Free Software Foundation; either 00070 version 2 of the License, or (at your option) any later 00071 version. 00072 00073 This program is distributed in the hope that it will be useful, 00074 but WITHOUT ANY WARRANTY; without even the implied warranty of 00075 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00076 GNU General Public License for more details. 00077 00078 You should have received a copy of the GNU General Public License 00079 along with this program; if not, write to the Free Software 00080 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00081 -------------------------------------------------------------- */ 00082 //@END_USER1 00083 00084 00088 class SCParamValue 00089 { 00090 // RELATION_MULTI_OWNED_PASSIVE(SCParamList, ParamList, SCParamValue, ParamValue) 00091 00092 public: 00093 SCParamList * _refParamList; 00094 SCParamValue * _prevParamList; 00095 SCParamValue * _nextParamList; 00096 00097 public: 00098 SCParamList* GetParamList() const { return _refParamList; }; 00099 00100 //@START_USER2 00101 //@END_USER2 00102 00103 // Members 00104 private: 00105 DynamicAny::DynAny_var m_dyn; 00106 00107 protected: 00108 00109 public: 00110 CString m_prmName; 00111 InOutExcept m_prmKind; 00112 int m_convId; 00113 CString m_convInfo; 00114 00115 // Methods 00116 private: 00117 void ConstructorInclude(SCParamList* pParamList); 00118 void DestructorInclude(); 00119 00120 protected: 00121 00122 public: 00123 SCParamValue(SCParamList* pParamList, DynamicAny::DynAnyFactory_ptr dynFact, 00124 SCMethParam* pMP); 00125 virtual ~SCParamValue(); 00126 DynamicAny::DynAny_ptr GetDynAnyPtr(); 00127 }; 00128 00129 #endif 00130 00131 00132 #ifdef CB_INLINES 00133 #ifndef _PARAMVALUE_H_INLINES 00134 #define _PARAMVALUE_H_INLINES 00135 00139 inline DynamicAny::DynAny_ptr SCParamValue::GetDynAnyPtr() 00140 {//@CODE_2220 00141 return m_dyn; 00142 }//@CODE_2220 00143 00144 00145 00146 //@START_USER3 00147 //@END_USER3 00148 00149 #endif 00150 #endif 00151