Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CSchemaCache Class Reference

#include <SchemaCache.h>

List of all members.

Public Member Functions

 CSchemaCache ()
virtual ~CSchemaCache ()
BOOL Load ()
void Clear ()
POSITION GetIterator () const
CSchemaGetNext (POSITION &pos) const
CSchemaGet (LPCTSTR pszURI) const
CSchemaGuess (LPCTSTR pszName) const

Protected Attributes

CMapStringToPtr m_pURIs
CMapStringToPtr m_pNames


Constructor & Destructor Documentation

CSchemaCache::CSchemaCache  ) 
 

Definition at line 40 of file SchemaCache.cpp.

CSchemaCache::~CSchemaCache  )  [virtual]
 

Definition at line 44 of file SchemaCache.cpp.

References Clear().


Member Function Documentation

void CSchemaCache::Clear  ) 
 

Definition at line 99 of file SchemaCache.cpp.

References GetIterator(), GetNext(), m_pNames, and m_pURIs.

Referenced by Load(), and ~CSchemaCache().

CSchema* CSchemaCache::Get LPCTSTR  pszURI  )  const [inline]
 

Definition at line 62 of file SchemaCache.h.

References m_pURIs, and NULL.

Referenced by CDownloadWithSources::AddSourceHit(), CBrowseTreeItem::AddXML(), CAlbumFolder::CAlbumFolder(), CCollectionFile::CloneMetadata(), CRelatedSearch::CRelatedSearch(), CHomeSearchCtrl::FillHistory(), CLibraryFolders::GetAlbumTarget(), CLibraryHomeView::GetHeaderContent(), CMatchTipCtrl::LoadFromFile(), CMatchTipCtrl::LoadFromHit(), CLibraryFile::LoadMetadata(), CQuerySearch::MatchMetadataShallow(), CSearchWnd::OnCreate(), CHitMonitorWnd::OnCreate(), CBrowseHostWnd::OnCreate(), CLibraryDetailView::OnCreate(), CBrowseHeaderCtrl::OnCreate(), CGeneralSettingsPage::OnInitDialog(), CBrowseFrameCtrl::OnTreeSelection(), CRemote::PageNewSearch(), CQuerySearch::ReadG1Packet(), CQuerySearch::ReadG2Packet(), CRelatedSearch::RunSearchForAlbum(), CRelatedSearch::RunSearchForArtist(), CRelatedSearch::RunSearchForSeries(), CSearchWnd::Serialize(), CLibraryFile::Serialize(), CQuerySearch::Serialize(), CAlbumFolder::Serialize(), CLibraryFile::SetMetadata(), CAlbumFolder::SetMetadata(), CDownloadGroup::SetSchema(), CLibraryBuilder::SubmitMetadata(), CSearchDetailPanel::Update(), CLibraryThumbView::Update(), CLibraryDetailView::Update(), and CLibraryAlbumView::Update().

POSITION CSchemaCache::GetIterator  )  const [inline]
 

Definition at line 49 of file SchemaCache.h.

References m_pURIs.

Referenced by Clear(), CBitziDownloader::DecodeResponse(), CSchemaCombo::Load(), CDownloadGroupDlg::OnInitDialog(), and CRemote::PageSearch().

CSchema* CSchemaCache::GetNext POSITION &  pos  )  const [inline]
 

Definition at line 54 of file SchemaCache.h.

References m_pURIs, and NULL.

Referenced by Clear(), CBitziDownloader::DecodeResponse(), CSchemaCombo::Load(), CDownloadGroupDlg::OnInitDialog(), and CRemote::PageSearch().

CSchema* CSchemaCache::Guess LPCTSTR  pszName  )  const [inline]
 

Definition at line 72 of file SchemaCache.h.

References m_pNames, and NULL.

Referenced by CQuerySearch::ReadG2Packet(), and CQueryHit::ReadG2Packet().

int CSchemaCache::Load  ) 
 

Definition at line 52 of file SchemaCache.cpp.

References Clear(), CSettings::General, CSchema::Load(), m_pNames, m_pURIs, CSchema::m_sSingular, CSchema::m_sURI, CSettings::sGeneral::Path, and Settings.

Referenced by CShareazaApp::InitInstance().


Member Data Documentation

CMapStringToPtr CSchemaCache::m_pNames [protected]
 

Definition at line 40 of file SchemaCache.h.

Referenced by Clear(), Guess(), and Load().

CMapStringToPtr CSchemaCache::m_pURIs [protected]
 

Definition at line 39 of file SchemaCache.h.

Referenced by Clear(), Get(), GetIterator(), GetNext(), and Load().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:11 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2