Lines Matching refs:rInst
112 void RscMgr::Destroy( const RSCINST & rInst ){ in Destroy() argument
115 RscClass::Destroy( rInst ); in Destroy()
117 pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size()); in Destroy()
130 void RscMgr::SetToDefault( const RSCINST & rInst ) in SetToDefault() argument
134 pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size()); in SetToDefault()
137 RscClass::SetToDefault( rInst ); in SetToDefault()
149 sal_Bool RscMgr::IsDefault( const RSCINST & rInst ){ in IsDefault() argument
152 pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size()); in IsDefault()
156 return( RscClass::IsDefault( rInst ) ); in IsDefault()
168 sal_Bool RscMgr::IsValueDefault( const RSCINST & rInst, CLASS_DATA pDef ){ in IsValueDefault() argument
172 if( !RscClass::IsValueDefault( rInst, pDef ) ) in IsValueDefault()
176 pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size()); in IsValueDefault()
197 void RscMgr::WriteSrcHeader( const RSCINST & rInst, FILE * fOutput, in WriteSrcHeader() argument
204 pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size()); in WriteSrcHeader()
207 pHS->getString( rInst.pClass->GetId() ).getStr(), in WriteSrcHeader()
218 rInst.pClass->WriteSrc( rInst, fOutput, pTC, nTab +1, pVarName ); in WriteSrcHeader()
220 RscClass::WriteSrc( rInst, fOutput, pTC, nTab +1, pVarName); in WriteSrcHeader()
251 ERRTYPE RscMgr::WriteRcHeader( const RSCINST & rInst, RscWriteRc & rMem, in WriteRcHeader() argument
259 pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size()); in WriteRcHeader()
268 pObjNode = rInst.pClass->GetRefClass()-> in WriteRcHeader()
272 ByteString aMsg( pHS->getString( rInst.pClass->GetId() ).getStr() ); in WriteRcHeader()
276 pTC->pEH->Error( aError, rInst.pClass, rId, aMsg.GetBuffer() ); in WriteRcHeader()
285 RscTop * pTmpRefClass = rInst.pClass->GetRefClass(); in WriteRcHeader()
287 aRefI = RSCINST( rInst.pClass, pObjNode->GetRscObj() ); in WriteRcHeader()
288 if( pTmpRefClass == rInst.pClass ) in WriteRcHeader()
295 RSCINST aRefInst = rInst.pClass->Create( NULL, aRefI ); in WriteRcHeader()
308 aError = rInst.pClass->WriteRc( rInst, rMem, pTC, nDeep, bExtra ); in WriteRcHeader()
310 aError = WriteInstRc( rInst, rMem, pTC, nDeep, bExtra ); in WriteRcHeader()
316 aError = RscTop::WriteRc( rInst, rMem, pTC, nDeep, bExtra ); in WriteRcHeader()
330 rMem.PutAt( nOldSize +4, (sal_uInt32)rInst.pClass->GetTypId() ); in WriteRcHeader()
402 ERRTYPE RscMgr::WriteHxxHeader( const RSCINST & rInst, FILE * fOutput, in WriteHxxHeader() argument
409 pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size()); in WriteHxxHeader()
413 pObjNode = rInst.pClass->GetObjNode( pClassData->aRefId ); in WriteHxxHeader()
416 ByteString aMsg( pHS->getString( rInst.pClass->GetId() ).getStr() ); in WriteHxxHeader()
420 pTC->pEH->Error( aError, rInst.pClass, rId, aMsg.GetBuffer() ); in WriteHxxHeader()
428 aRefI = RSCINST( rInst.pClass, pObjNode->GetRscObj() ); in WriteHxxHeader()
435 MakeName( pTC, rInst.pClass, in WriteHxxHeader()
438 pHS->getString( rInst.pClass->GetId() ).getStr() ); in WriteHxxHeader()
441 aError = RscClass::WriteHxx( rInst, fOutput, pTC, rId ); in WriteHxxHeader()
443 RSCINST aExtraInst = rInst.pClass->GetCopyVar( rInst, nRsc_EXTRADATA ); in WriteHxxHeader()
453 MakeName( pTC, rInst.pClass, in WriteHxxHeader()
455 (rInst.pClass->aCallParType).GetBuffer() ); in WriteHxxHeader()
471 ERRTYPE RscMgr::WriteHxx( const RSCINST & rInst, FILE * fOutput, in WriteHxx() argument
474 fprintf( fOutput, " %s", pHS->getString( rInst.pClass->GetId() ).getStr() ); in WriteHxx()
476 MakeName( pTC, rInst.pClass, rId.GetName() ).GetBuffer() ); in WriteHxx()
490 ERRTYPE RscMgr::WriteCxxHeader( const RSCINST & rInst, FILE * fOutput, in WriteCxxHeader() argument
497 pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size()); in WriteCxxHeader()
501 pObjNode = rInst.pClass->GetObjNode( pClassData->aRefId ); in WriteCxxHeader()
504 ByteString aMsg( pHS->getString( rInst.pClass->GetId() ).getStr() ); in WriteCxxHeader()
508 pTC->pEH->Error( aError, rInst.pClass, rId, aMsg.GetBuffer() ); in WriteCxxHeader()
516 aRefI = RSCINST( rInst.pClass, pObjNode->GetRscObj() ); in WriteCxxHeader()
523 MakeName( pTC, rInst.pClass, rId.GetName() ).GetBuffer(), in WriteCxxHeader()
524 MakeName( pTC, rInst.pClass, rId.GetName() ).GetBuffer() ); in WriteCxxHeader()
525 fprintf( fOutput, "%s", (rInst.pClass->aCallParType).GetBuffer() ); in WriteCxxHeader()
526 if( GetCount( rInst ) ) in WriteCxxHeader()
528 fprintf( fOutput, " )\n : %s", pHS->getString( rInst.pClass->GetId() ).getStr() ); in WriteCxxHeader()
529 fprintf( fOutput, "%s", (rInst.pClass->aCallPar1).GetBuffer() ); in WriteCxxHeader()
532 aError = RscClass::WriteCxx( rInst, fOutput, pTC, rId ); in WriteCxxHeader()
535 RSCINST aExtraInst = rInst.pClass->GetCopyVar( rInst, nRsc_EXTRADATA ); in WriteCxxHeader()
549 if( GetCount( rInst ) ) in WriteCxxHeader()
572 ERRTYPE RscMgr::WriteCxx( const RSCINST & rInst, FILE * fOutput, in WriteCxx() argument
576 MakeName( pTC, rInst.pClass, rId.GetName() ).GetBuffer() ); in WriteCxx()
577 fprintf( fOutput, "%s", (rInst.pClass->aCallPar2).GetBuffer() ); in WriteCxx()
592 sal_Bool RscMgr::IsConsistent( const RSCINST & rInst, RscInconsList * pList ) in IsConsistent() argument
597 bRet = RscClass::IsConsistent( rInst, pList ); in IsConsistent()
599 pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size()); in IsConsistent()
603 || IsToDeep( rInst ).IsError()) ) in IsConsistent()
624 ERRTYPE RscMgr::GetRef( const RSCINST & rInst, RscId * pRscId ){ in GetRef() argument
627 pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size()); in GetRef()
641 ERRTYPE RscMgr::IsToDeep( const RSCINST & rInst, sal_uInt32 nDeep ) in IsToDeep() argument
646 RSCINST aTmpI = rInst; in IsToDeep()
649 pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size()); in IsToDeep()
685 ERRTYPE RscMgr::SetRef( const RSCINST & rInst, const RscId & rRefId ) in SetRef() argument
690 RSCINST aTmpI = rInst; in SetRef()
699 pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size()); in SetRef()
705 aError = IsToDeep( rInst ); in SetRef()