sbFileSystemTreeState Class Reference

#include <sbFileSystemTreeState.h>

Inheritance diagram for sbFileSystemTreeState:
[legend]
Collaboration diagram for sbFileSystemTreeState:
[legend]

Public Member Functions

 sbFileSystemTreeState ()
 
virtual ~sbFileSystemTreeState ()
 
NS_DECL_ISUPPORTS nsresult SaveTreeState (sbFileSystemTree *aFileSystemTree, const nsID &aSessionID)
 
nsresult LoadTreeState (nsID &aSessionID, nsString &aSessionAbsolutePath, PRBool *aIsRecursiveWatch, sbFileSystemNode **aOutRootNode)
 

Static Public Member Functions

static nsresult DeleteSavedTreeState (const nsID &aSessionID)
 

Protected Member Functions

nsresult WriteNode (sbFileObjectOutputStream *aOutputStream, sbFileSystemNode *aOutNode)
 
nsresult ReadNode (sbFileObjectInputStream *aInputStream, sbFileSystemNode **aOutNode)
 
nsresult AssignRelationships (sbFileSystemNode *aChildNode, sbNodeIDMap &aParentGuidMap)
 
nsresult GetTreeNodeCount (sbFileSystemNode *aRootNode, PRUint32 *aNodeCount)
 

Static Protected Member Functions

static nsresult GetTreeSessionFile (const nsID &aSessionID, PRBool aShouldCreate, nsIFile **aOutFile)
 

Detailed Description

Definition at line 45 of file sbFileSystemTreeState.h.

Constructor & Destructor Documentation

sbFileSystemTreeState::sbFileSystemTreeState ( )

Definition at line 78 of file sbFileSystemTreeState.cpp.

sbFileSystemTreeState::~sbFileSystemTreeState ( )
virtual

Definition at line 82 of file sbFileSystemTreeState.cpp.

Member Function Documentation

nsresult sbFileSystemTreeState::AssignRelationships ( sbFileSystemNode aChildNode,
sbNodeIDMap aParentGuidMap 
)
protected

Definition at line 343 of file sbFileSystemTreeState.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult sbFileSystemTreeState::DeleteSavedTreeState ( const nsID &  aSessionID)
static

Definition at line 287 of file sbFileSystemTreeState.cpp.

Here is the call graph for this function:

nsresult sbFileSystemTreeState::GetTreeNodeCount ( sbFileSystemNode aRootNode,
PRUint32 *  aNodeCount 
)
protected

Definition at line 425 of file sbFileSystemTreeState.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult sbFileSystemTreeState::GetTreeSessionFile ( const nsID &  aSessionID,
PRBool  aShouldCreate,
nsIFile **  aOutFile 
)
staticprotected

Definition at line 368 of file sbFileSystemTreeState.cpp.

Here is the caller graph for this function:

nsresult sbFileSystemTreeState::LoadTreeState ( nsID &  aSessionID,
nsString &  aSessionAbsolutePath,
PRBool *  aIsRecursiveWatch,
sbFileSystemNode **  aOutRootNode 
)

Definition at line 193 of file sbFileSystemTreeState.cpp.

Here is the call graph for this function:

nsresult sbFileSystemTreeState::ReadNode ( sbFileObjectInputStream aInputStream,
sbFileSystemNode **  aOutNode 
)
protected

Definition at line 319 of file sbFileSystemTreeState.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult sbFileSystemTreeState::SaveTreeState ( sbFileSystemTree aFileSystemTree,
const nsID &  aSessionID 
)

Definition at line 87 of file sbFileSystemTreeState.cpp.

Here is the call graph for this function:

nsresult sbFileSystemTreeState::WriteNode ( sbFileObjectOutputStream aOutputStream,
sbFileSystemNode aOutNode 
)
protected

Definition at line 304 of file sbFileSystemTreeState.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: