userlibandfileserver/fileserver/sfat32/inc/sl_std.inl
branchRCL_3
changeset 42 a179b74831c9
parent 22 2f92ad2dc5db
child 43 c1f20ce4abcf
equal deleted inserted replaced
41:0ffb4e86fcc9 42:a179b74831c9
   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 
   648 /**
   658 /**
   649 @return Maximal number of addresable FAT entries. This value is taken from the owning mount
   659 @return Maximal number of addresable FAT entries. This value is taken from the owning mount
   650 */
   660 */
   651 inline TUint32 CFatTable::MaxEntries() const
   661 inline TUint32 CFatTable::MaxEntries() const
   652     {
   662     {
   653         ASSERT(iMaxEntries > 0);
   663     ASSERT(iMaxEntries > 0);
   654         return iMaxEntries;
   664     return iMaxEntries;
   655     }
   665     }
   656 
   666 
   657 
   667 
   658 // class TDriveInterface
   668 // class TDriveInterface
   659 TBool TDriveInterface::NotifyUser() const
   669 TBool TDriveInterface::NotifyUser() const