CAlbumFolder Class Reference

#include <AlbumFolder.h>

Inheritance diagram for CAlbumFolder:

Inheritance graph
[legend]
Collaboration diagram for CAlbumFolder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CAlbumFolder (CAlbumFolder *pParent=NULL, LPCTSTR pszSchemaURI=NULL, LPCTSTR pszName=NULL, BOOL bAutoDelete=FALSE)
virtual ~CAlbumFolder ()
CAlbumFolderAddFolder (LPCTSTR pszSchemaURI=NULL, LPCTSTR pszName=NULL, BOOL bAutoDelete=FALSE)
POSITION GetFolderIterator () const
CAlbumFolderGetNextFolder (POSITION &pos) const
CAlbumFolderGetFolder (LPCTSTR pszName) const
CAlbumFolderGetFolderByURI (LPCTSTR pszURI) const
INT_PTR GetFolderCount () const
BOOL CheckFolder (CAlbumFolder *pFolder, BOOL bRecursive=FALSE) const
CAlbumFolderGetTarget (CSchemaMember *pMember, LPCTSTR pszValue) const
CAlbumFolderFindCollection (const Hashes::Sha1Hash &oSHA1)
CAlbumFolderFindFolder (const Hashes::Guid &oGUID)
void AddFile (CLibraryFile *pFile)
POSITION GetFileIterator () const
CLibraryFileGetNextFile (POSITION &pos) const
INT_PTR GetFileCount () const
int GetSharedCount () const
void RemoveFile (CLibraryFile *pFile)
CAlbumFolderFindFile (CLibraryFile *pFile)
int GetFileList (CLibraryList *pList, BOOL bRecursive) const
void Delete (BOOL bIfEmpty=FALSE)
BOOL SetMetadata (CXMLElement *pXML)
BOOL MetaFromFile (CLibraryFile *pFile)
BOOL MetaToFiles (BOOL bAggressive=FALSE)
BOOL OrganiseFile (CLibraryFile *pFile)
BOOL MountCollection (const Hashes::Sha1Hash &oSHA1, CCollectionFile *pCollection, BOOL bForce=FALSE)
CCollectionFileGetCollection ()
CString GetBestView () const
void Serialize (CArchive &ar, int nVersion)
bool operator== (const CAlbumFolder &val) const
void RenewGUID ()
void SetCollection (const Hashes::Sha1Hash &oSHA1, CCollectionFile *pCollection)
bool OnFolderDelete (CAlbumFolder *pFolder)
void OnFileDelete (CLibraryFile *pFile, BOOL bDeleteGhost=FALSE)
void Clear ()

Public Attributes

CAlbumFolderm_pParent
CList< CAlbumFolder * > m_pFolders
CList< CLibraryFile * > m_pFiles
CString m_sSchemaURI
CSchemam_pSchema
CXMLElementm_pXML
Hashes::Sha1Hash m_oCollSHA1
CString m_sName
BOOL m_bExpanded
BOOL m_bAutoDelete
CString m_sBestView
DWORD m_nUpdateCookie
DWORD m_nSelectCookie
DWORD m_nListCookie
CCollectionFilem_pCollection
Hashes::Guid m_oGUID

Friends

class CLibrary
class CLibraryFolders
class CLibraryFrame
class CLibraryTreeView

Constructor & Destructor Documentation

CAlbumFolder::CAlbumFolder ( CAlbumFolder pParent = NULL,
LPCTSTR  pszSchemaURI = NULL,
LPCTSTR  pszName = NULL,
BOOL  bAutoDelete = FALSE 
)

CAlbumFolder::~CAlbumFolder (  )  [virtual]


Member Function Documentation

CAlbumFolder * CAlbumFolder::AddFolder ( LPCTSTR  pszSchemaURI = NULL,
LPCTSTR  pszName = NULL,
BOOL  bAutoDelete = FALSE 
)

POSITION CAlbumFolder::GetFolderIterator (  )  const

CAlbumFolder * CAlbumFolder::GetNextFolder ( POSITION &  pos  )  const

CAlbumFolder * CAlbumFolder::GetFolder ( LPCTSTR  pszName  )  const

CAlbumFolder * CAlbumFolder::GetFolderByURI ( LPCTSTR  pszURI  )  const

INT_PTR CAlbumFolder::GetFolderCount (  )  const [inline]

BOOL CAlbumFolder::CheckFolder ( CAlbumFolder pFolder,
BOOL  bRecursive = FALSE 
) const

CAlbumFolder * CAlbumFolder::GetTarget ( CSchemaMember pMember,
LPCTSTR  pszValue 
) const

CAlbumFolder * CAlbumFolder::FindCollection ( const Hashes::Sha1Hash oSHA1  ) 

CAlbumFolder * CAlbumFolder::FindFolder ( const Hashes::Guid oGUID  ) 

void CAlbumFolder::AddFile ( CLibraryFile pFile  ) 

POSITION CAlbumFolder::GetFileIterator (  )  const

CLibraryFile * CAlbumFolder::GetNextFile ( POSITION &  pos  )  const

INT_PTR CAlbumFolder::GetFileCount (  )  const [inline]

int CAlbumFolder::GetSharedCount (  )  const

void CAlbumFolder::RemoveFile ( CLibraryFile pFile  ) 

CAlbumFolder * CAlbumFolder::FindFile ( CLibraryFile pFile  ) 

int CAlbumFolder::GetFileList ( CLibraryList pList,
BOOL  bRecursive 
) const

void CAlbumFolder::Delete ( BOOL  bIfEmpty = FALSE  ) 

BOOL CAlbumFolder::SetMetadata ( CXMLElement pXML  ) 

BOOL CAlbumFolder::MetaFromFile ( CLibraryFile pFile  ) 

BOOL CAlbumFolder::MetaToFiles ( BOOL  bAggressive = FALSE  ) 

BOOL CAlbumFolder::OrganiseFile ( CLibraryFile pFile  ) 

BOOL CAlbumFolder::MountCollection ( const Hashes::Sha1Hash oSHA1,
CCollectionFile pCollection,
BOOL  bForce = FALSE 
)

CCollectionFile * CAlbumFolder::GetCollection (  ) 

CString CAlbumFolder::GetBestView (  )  const

void CAlbumFolder::Serialize ( CArchive &  ar,
int  nVersion 
)

bool CAlbumFolder::operator== ( const CAlbumFolder val  )  const

void CAlbumFolder::RenewGUID (  ) 

void CAlbumFolder::SetCollection ( const Hashes::Sha1Hash oSHA1,
CCollectionFile pCollection 
)

bool CAlbumFolder::OnFolderDelete ( CAlbumFolder pFolder  ) 

void CAlbumFolder::OnFileDelete ( CLibraryFile pFile,
BOOL  bDeleteGhost = FALSE 
)

void CAlbumFolder::Clear (  ) 


Friends And Related Function Documentation

friend class CLibrary [friend]

friend class CLibraryFolders [friend]

friend class CLibraryFrame [friend]

friend class CLibraryTreeView [friend]


Member Data Documentation

CAlbumFolder* CAlbumFolder::m_pParent

CList< CAlbumFolder* > CAlbumFolder::m_pFolders

CList< CLibraryFile* > CAlbumFolder::m_pFiles

CString CAlbumFolder::m_sSchemaURI

CSchema* CAlbumFolder::m_pSchema

CXMLElement* CAlbumFolder::m_pXML

Hashes::Sha1Hash CAlbumFolder::m_oCollSHA1

CString CAlbumFolder::m_sName

BOOL CAlbumFolder::m_bExpanded

BOOL CAlbumFolder::m_bAutoDelete

CString CAlbumFolder::m_sBestView

DWORD CAlbumFolder::m_nUpdateCookie

DWORD CAlbumFolder::m_nSelectCookie

DWORD CAlbumFolder::m_nListCookie

CCollectionFile* CAlbumFolder::m_pCollection

Hashes::Guid CAlbumFolder::m_oGUID


The documentation for this class was generated from the following files:
Generated on Wed Aug 8 03:46:11 2007 for Shareaza by  doxygen 1.5.2