userlibandfileserver/fileserver/sfat32/inc/sl_std.inl
changeset 266 0008ccd16016
parent 201 43365a9b78a3
child 281 13fbfa31d2ba
equal deleted inserted replaced
259:57b9594f5772 266:0008ccd16016
   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     {