Changeset 71 in dev for BasicCompiler_Common/ParamImpl.cpp
- Timestamp:
- Mar 15, 2007, 5:00:34 AM (18 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/ParamImpl.cpp
r70 r71 7 7 #endif 8 8 9 CParameter::CParameter(const char *buffer){9 ParamImpl::ParamImpl(const char *buffer){ 10 10 /////////////////////////// 11 11 // パラメータ文字列を整理 … … 61 61 ReturnTypeInfo.u.lpIndex=-1; 62 62 } 63 CParameter::CParameter(const PARAMETER_INFO *pParamInfo,const int ParmNum){63 ParamImpl::ParamImpl(const PARAMETER_INFO *pParamInfo,const int ParmNum){ 64 64 int i; 65 65 for(i=0;i<ParmNum;i++){ … … 73 73 ReturnTypeInfo.u.lpIndex=-1; 74 74 } 75 CParameter::~CParameter(){75 ParamImpl::~ParamImpl(){ 76 76 int i2; 77 77 … … 84 84 } 85 85 86 void CParameter::SetReturnType(TYPEINFO *pTypeInfo){86 void ParamImpl::SetReturnType(TYPEINFO *pTypeInfo){ 87 87 ReturnTypeInfo=*pTypeInfo; 88 88 } 89 89 90 BOOL CParameter::_overload_check(PARAMETER_INFO *ppi,int pi_num,TYPEINFO *pReturnTypeInfo,int overload_level){90 BOOL ParamImpl::_overload_check(PARAMETER_INFO *ppi,int pi_num,TYPEINFO *pReturnTypeInfo,int overload_level){ 91 91 //パラメータを識別してオーバーロードを解決 92 92 … … 143 143 } 144 144 145 SUBINFO * CParameter::OverloadSolutionWithReturnType( const char *name, std::vector<SUBINFO *> &subs ){145 SUBINFO *ParamImpl::OverloadSolutionWithReturnType( const char *name, std::vector<SUBINFO *> &subs ){ 146 146 int sw=0; 147 147 SUBINFO *psi; … … 178 178 return psi; 179 179 } 180 SUBINFO * CParameter::OverloadSolution( const char *name, std::vector<SUBINFO *> &subs ){180 SUBINFO *ParamImpl::OverloadSolution( const char *name, std::vector<SUBINFO *> &subs ){ 181 181 int sw=0; 182 182 SUBINFO *psi; … … 226 226 } 227 227 228 BOOL CParameter::ErrorCheck(const char *FuncName,PARAMETER_INFO *ppi,int pi_num,int SecondParmNum){228 BOOL ParamImpl::ErrorCheck(const char *FuncName,PARAMETER_INFO *ppi,int pi_num,int SecondParmNum){ 229 229 if(ParmsNum>pi_num){ 230 230 if(ppi[pi_num-1].type!=DEF_ELLIPSE){ … … 259 259 } 260 260 261 void CParameter::MacroParameterSupport(PARAMETER_INFO *ppi){261 void ParamImpl::MacroParameterSupport(PARAMETER_INFO *ppi){ 262 262 int i; 263 263 for(i=0;i<ParmsNum;i++){
Note:
See TracChangeset
for help on using the changeset viewer.