diff -r f6d3d9676ee4 -r d63d727ee0a6 userlibandfileserver/fileserver/sfat/sl_leafdir_cache.inl --- a/userlibandfileserver/fileserver/sfat/sl_leafdir_cache.inl Tue Dec 08 08:11:42 2009 +0100 +++ b/userlibandfileserver/fileserver/sfat/sl_leafdir_cache.inl Mon Jan 04 12:25:19 2010 +0100 @@ -15,139 +15,148 @@ // // +//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +//!! +//!! WARNING!! DO NOT edit this file !! '\sfat' component is obsolete and is not being used. '\sfat32'replaces it +//!! +//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + + /** @file @internalTechnology Overloaded == operator - @param aDirPos the position to compare - @return EFalse if aDirPos matches self, else + @param aDirPos the position to compare + @return EFalse if aDirPos matches self, else ETrue */ TBool TLeafDirData::operator==(const TLeafDirData &aDirPos) const - { - return (aDirPos.iClusterNum == iClusterNum); - } + { + return (aDirPos.iClusterNum == iClusterNum); + } /** Overloaded != operator -@param aDirPos the position to compare -@return EFlase if aDirPos matches self, else - ETrue +@param aDirPos the position to compare +@return EFlase if aDirPos matches self, else + ETrue */ TBool TLeafDirData::operator!=(const TLeafDirData &aDirPos) const - { - return (aDirPos.iClusterNum != iClusterNum); - } + { + return (aDirPos.iClusterNum != iClusterNum); + } /** 'Get' function to retrieve the 'parent' node -@return the parent node +@return the parent node */ CLeafDirTreeNode* CLeafDirTreeNode::Parent() - { - return iParent; - } + { + return iParent; + } /** Set Parent node -@param the parent node to be set +@param the parent node to be set */ void CLeafDirTreeNode::SetParent(CLeafDirTreeNode* aNode) - { - iParent = aNode; - } + { + iParent = aNode; + } /** 'Get' function to retrieve children nodes -@return the children nodes +@return the children nodes */ RPointerArray& CLeafDirTreeNode::Children() - { - return iChildren; - } + { + return iChildren; + } /** 'Get' function to retrieve dir location store by this node -@return the location of the directory +@return the location of the directory */ TUint32 CLeafDirTreeNode::StartClusterNum() const - { - return iLeafDirData.iClusterNum; - } + { + return iLeafDirData.iClusterNum; + } const TLeafDirData& CLeafDirTreeNode::LeafDirData() const - { - return iLeafDirData; - } + { + return iLeafDirData; + } /** Set position of the direcotry this node represents. -@param aDirPos the position to be set +@param aDirPos the position to be set */ void CLeafDirTreeNode::SetLeafDirData(const TLeafDirData& aLeafDirData) - { - iLeafDirData = aLeafDirData; - } + { + iLeafDirData = aLeafDirData; + } /** 'Get' function to retrieve dir path store by this node -@return the path of the directory +@return the path of the directory */ const TDesC& CLeafDirTreeNode::Path() const - { - return iPath; - } + { + return iPath; + } /** Test if self is ERoot type -@return ETrue if self is ERoot - EFalse if self is of other types +@return ETrue if self is ERoot + EFalse if self is of other types */ TBool CLeafDirTreeNode::IsRoot() const - { - return (iNodeType == ERoot); - } + { + return (iNodeType == ERoot); + } /** Test if self is ELeaf type -@return ETrue if self is ELeaf - EFalse if self is of other types +@return ETrue if self is ELeaf + EFalse if self is of other types */ TBool CLeafDirTreeNode::IsLeaf() - { - return (iNodeType == ELeaf); - } + { + return (iNodeType == ELeaf); + } /** Test if self is ELeafIntermediary type -@return ETrue if self is ELeafIntermediary - EFalse if self is of other types +@return ETrue if self is ELeafIntermediary + EFalse if self is of other types */ TBool CLeafDirTreeNode::IsLeafIntermediary() - { - return (iNodeType == ELeafIntermediary); - } + { + return (iNodeType == ELeafIntermediary); + } /** Test if self is EPureIntermediary type -@return ETrue if self is EPureIntermediary - EFalse if self is of other types +@return ETrue if self is EPureIntermediary + EFalse if self is of other types */ TBool CLeafDirTreeNode::IsPureIntermediary() - { - return (iNodeType == EPureIntermediary); - } + { + return (iNodeType == EPureIntermediary); + }