userlibandfileserver/fileserver/sfat32/inc/sl_std.inl
branchRCL_3
changeset 294 039a3e647356
parent 257 3e88ff8f41d5
equal deleted inserted replaced
268:345b1ca54e88 294:039a3e647356
   643     ASSERT((TUint32)aCluster <= iFatEocCode+7);
   643     ASSERT((TUint32)aCluster <= iFatEocCode+7);
   644 	return EFalse;
   644 	return EFalse;
   645     }
   645     }
   646 
   646 
   647 
   647 
   648 //-----------------------------------------------------------------------------
       
   649 /**
       
   650     @return ETrue if the cluster number aClusterNo is valid, i.e. belongs to the FAT table
       
   651 */
       
   652 inline TBool CFatTable::ClusterNumberValid(TUint32 aClusterNo) const 
       
   653     {
       
   654     return (aClusterNo >= KFatFirstSearchCluster) && (aClusterNo < iMaxEntries); 
       
   655     }
       
   656 
       
   657 
       
   658 /**
   648 /**
   659 @return Maximal number of addresable FAT entries. This value is taken from the owning mount
   649 @return Maximal number of addresable FAT entries. This value is taken from the owning mount
   660 */
   650 */
   661 inline TUint32 CFatTable::MaxEntries() const
   651 inline TUint32 CFatTable::MaxEntries() const
   662     {
   652     {
   663     ASSERT(iMaxEntries > 0);
   653         ASSERT(iMaxEntries > 0);
   664     return iMaxEntries;
   654         return iMaxEntries;
   665     }
   655     }
   666 
   656 
   667 
   657 
   668 // class TDriveInterface
   658 // class TDriveInterface
   669 TBool TDriveInterface::NotifyUser() const
   659 TBool TDriveInterface::NotifyUser() const