userlibandfileserver/fileserver/sfat32/inc/sl_std.inl
changeset 254 1560c419b176
parent 176 af6ec97d9189
child 269 d57b86b1867a
equal deleted inserted replaced
253:d37db4dcc88d 254:1560c419b176
   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     {