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

CSchema Class Reference

#include <Schema.h>

List of all members.

Public Types

enum  { stFile, stFolder }
enum  { saDefault, saAdvanced, saSystem, saMax }

Public Member Functions

 CSchema ()
virtual ~CSchema ()
POSITION GetMemberIterator () const
CSchemaMemberGetNextMember (POSITION &pos) const
CSchemaMemberGetMember (LPCTSTR pszName) const
int GetMemberCount () const
CString GetFirstMemberName () const
void Clear ()
BOOL Load (LPCTSTR pszName)
CSchemaChildGetContained (LPCTSTR pszURI) const
CString GetContainedURI (int nType) const
CXMLElementInstantiate (BOOL bNamespace=FALSE) const
BOOL Validate (CXMLElement *pXML, BOOL bFix)
CString GetIndexedWords (CXMLElement *pXML) const
void ResolveTokens (CString &str, CXMLElement *pXML) const
BOOL Equals (CSchema *pSchema) const
BOOL CheckURI (LPCTSTR pszURI) const
BOOL FilterType (LPCTSTR pszFile, BOOL bDefault=FALSE) const

Public Attributes

int m_nType
CString m_sTitle
CString m_sURI
CString m_sPlural
CString m_sSingular
int m_nAvailability
BOOL m_bPrivate
CString m_sDonkeyType
CPtrList m_pMembers
CStringList m_pExtends
CPtrList m_pContains
CString m_sDefaultColumns
CString m_sTypeFilter
CPtrList m_pBitziMap
CString m_sBitziTest
CString m_sLibraryView
CString m_sHeaderTitle
CString m_sHeaderSubtitle
CString m_sTileLine1
CString m_sTileLine2
CString m_sIcon
int m_nIcon16
int m_nIcon32
int m_nIcon48

Static Public Attributes

static LPCTSTR uriApplication = _T("http://www.shareaza.com/schemas/application.xsd")
static LPCTSTR uriAudio = _T("http://www.limewire.com/schemas/audio.xsd")
static LPCTSTR uriBook = _T("http://www.limewire.com/schemas/book.xsd")
static LPCTSTR uriImage = _T("http://www.shareaza.com/schemas/image.xsd")
static LPCTSTR uriVideo = _T("http://www.limewire.com/schemas/video.xsd")
static LPCTSTR uriROM = _T("http://www.shareaza.com/schemas/rom.xsd")
static LPCTSTR uriDocument = _T("http://www.shareaza.com/schemas/wordProcessing.xsd")
static LPCTSTR uriSpreadsheet = _T("http://www.shareaza.com/schemas/spreadsheet.xsd")
static LPCTSTR uriPresentation = _T("http://www.shareaza.com/schemas/presentation.xsd")
static LPCTSTR uriLibrary = _T("http://www.shareaza.com/schemas/libraryRoot.xsd")
static LPCTSTR uriFolder = _T("http://www.shareaza.com/schemas/folder.xsd")
static LPCTSTR uriCollectionsFolder = _T("http://www.shareaza.com/schemas/collectionsFolder.xsd")
static LPCTSTR uriFavouritesFolder = _T("http://www.shareaza.com/schemas/favouritesFolder.xsd")
static LPCTSTR uriSearchFolder = _T("http://www.shareaza.com/schemas/searchFolder.xsd")
static LPCTSTR uriAllFiles = _T("http://www.shareaza.com/schemas/allFiles.xsd")
static LPCTSTR uriApplicationRoot = _T("http://www.shareaza.com/schemas/applicationRoot.xsd")
static LPCTSTR uriApplicationAll = _T("http://www.shareaza.com/schemas/applicationAll.xsd")
static LPCTSTR uriBookRoot = _T("http://www.shareaza.com/schemas/bookRoot.xsd")
static LPCTSTR uriBookAll = _T("http://www.shareaza.com/schemas/bookAll.xsd")
static LPCTSTR uriImageRoot = _T("http://www.shareaza.com/schemas/imageRoot.xsd")
static LPCTSTR uriImageAll = _T("http://www.shareaza.com/schemas/imageAll.xsd")
static LPCTSTR uriImageAlbum = _T("http://www.shareaza.com/schemas/imageAlbum.xsd")
static LPCTSTR uriMusicRoot = _T("http://www.shareaza.com/schemas/musicRoot.xsd")
static LPCTSTR uriMusicAll = _T("http://www.shareaza.com/schemas/musicAll.xsd")
static LPCTSTR uriMusicAlbumCollection = _T("http://www.shareaza.com/schemas/musicAlbumCollection.xsd")
static LPCTSTR uriMusicArtistCollection = _T("http://www.shareaza.com/schemas/musicArtistCollection.xsd")
static LPCTSTR uriMusicGenreCollection = _T("http://www.shareaza.com/schemas/musicGenreCollection.xsd")
static LPCTSTR uriMusicAlbum = _T("http://www.shareaza.com/schemas/musicAlbum.xsd")
static LPCTSTR uriMusicArtist = _T("http://www.shareaza.com/schemas/musicArtist.xsd")
static LPCTSTR uriMusicGenre = _T("http://www.shareaza.com/schemas/musicGenre.xsd")
static LPCTSTR uriVideoRoot = _T("http://www.shareaza.com/schemas/videoRoot.xsd")
static LPCTSTR uriVideoAll = _T("http://www.shareaza.com/schemas/videoAll.xsd")
static LPCTSTR uriVideoSeriesCollection = _T("http://www.shareaza.com/schemas/videoSeriesCollection.xsd")
static LPCTSTR uriVideoSeries = _T("http://www.shareaza.com/schemas/videoSeries.xsd")
static LPCTSTR uriVideoFilmCollection = _T("http://www.shareaza.com/schemas/videoFilmCollection.xsd")
static LPCTSTR uriVideoFilm = _T("http://www.shareaza.com/schemas/videoFilm.xsd")
static LPCTSTR uriVideoMusicCollection = _T("http://www.shareaza.com/schemas/videoMusicCollection.xsd")
static LPCTSTR uriDocumentRoot = _T("http://www.shareaza.com/schemas/documentRoot.xsd")
static LPCTSTR uriDocumentAll = _T("http://www.shareaza.com/schemas/documentAll.xsd")

Protected Member Functions

BOOL LoadSchema (LPCTSTR pszFile)
BOOL LoadPrimary (CXMLElement *pRoot, CXMLElement *pType)
CXMLElementGetType (CXMLElement *pRoot, LPCTSTR pszName)
BOOL LoadDescriptor (LPCTSTR pszFile)
void LoadDescriptorTitles (CXMLElement *pElement)
void LoadDescriptorIcons (CXMLElement *pElement)
void LoadDescriptorMembers (CXMLElement *pElement)
void LoadDescriptorTypeFilter (CXMLElement *pElement)
void LoadDescriptorExtends (CXMLElement *pElement)
void LoadDescriptorContains (CXMLElement *pElement)
void LoadDescriptorBitziImport (CXMLElement *pElement)
void LoadDescriptorHeaderContent (CXMLElement *pElement)
void LoadDescriptorViewContent (CXMLElement *pElement)
BOOL LoadIcon ()

Friends

class CSchemaMember


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
stFile 
stFolder 

Definition at line 71 of file Schema.h.

anonymous enum
 

Enumeration values:
saDefault 
saAdvanced 
saSystem 
saMax 

Definition at line 72 of file Schema.h.


Constructor & Destructor Documentation

CSchema::CSchema  ) 
 

Definition at line 42 of file Schema.cpp.

References m_bPrivate, m_nAvailability, m_nIcon16, m_nIcon32, m_nIcon48, m_nType, m_sDonkeyType, saDefault, and stFile.

CSchema::~CSchema  )  [virtual]
 

Definition at line 51 of file Schema.cpp.

References Clear().


Member Function Documentation

BOOL CSchema::CheckURI LPCTSTR  pszURI  )  const [inline]
 

Definition at line 121 of file Schema.h.

References m_pExtends, and m_sURI.

Referenced by CMatchFile::Added(), CMatchList::AddHits(), CAlbumFolder::GetFolderByURI(), CLibraryFile::IsSchemaURI(), CMatchTipCtrl::LoadFromHit(), CQuerySearch::MatchMetadata(), CSchemaCombo::Select(), and CSearchDetailPanel::Update().

void CSchema::Clear  ) 
 

Definition at line 101 of file Schema.cpp.

References GetMemberIterator(), GetNextMember(), m_pBitziMap, m_pContains, and m_pMembers.

Referenced by ~CSchema().

BOOL CSchema::Equals CSchema pSchema  )  const [inline]
 

Definition at line 107 of file Schema.h.

References m_pExtends, and m_sURI.

Referenced by CLibraryDetailView::CacheItem(), CFileMetadataPage::OnInitDialog(), CLibraryThumbView::Update(), CLibraryDetailView::Update(), and CLibraryAlbumView::Update().

BOOL CSchema::FilterType LPCTSTR  pszFile,
BOOL  bDefault = FALSE
const [inline]
 

Definition at line 135 of file Schema.h.

References m_sTypeFilter, and NULL.

Referenced by CMatchList::AddHits(), CLibraryThumbView::Update(), CLibraryDetailView::Update(), and CLibraryAlbumView::Update().

CSchemaChild * CSchema::GetContained LPCTSTR  pszURI  )  const
 

Definition at line 641 of file Schema.cpp.

References m_pContains, CSchemaChild::m_sURI, and NULL.

Referenced by CAlbumFolder::MetaFromFile(), CAlbumFolder::MetaToFiles(), and CAlbumFolder::MountCollection().

CString CSchema::GetContainedURI int  nType  )  const
 

Definition at line 651 of file Schema.cpp.

References CSchemaChild::m_nType, m_pContains, and CSchemaChild::m_sURI.

Referenced by CAlbumFolder::AddFolder(), CBrowseFrameCtrl::OnTreeSelection(), and CLibraryDetailView::Update().

CString CSchema::GetFirstMemberName  )  const
 

Definition at line 86 of file Schema.cpp.

References m_pMembers, and CSchemaMember::m_sName.

Referenced by CBrowseTreeItem::AddXML(), CLocalSearch::AlbumToPacket(), and CLibraryHeaderPanel::Update().

CString CSchema::GetIndexedWords CXMLElement pXML  )  const
 

Definition at line 720 of file Schema.cpp.

References GetMemberIterator(), GetNextMember(), CSchemaMember::GetValueFrom(), CSchemaMember::m_bIndexed, and NULL.

Referenced by CLibraryFile::GetMetadataWords(), CQuerySearch::ToEDPacket(), CQuerySearch::ToG1Packet(), and CSearchWnd::UpdateMessages().

CSchemaMember * CSchema::GetMember LPCTSTR  pszName  )  const
 

Definition at line 69 of file Schema.cpp.

References GetMemberIterator(), GetNextMember(), CSchemaMember::m_sName, and NULL.

Referenced by CLibraryFolders::GetAlbumTarget(), LoadDescriptorMembers(), and ResolveTokens().

int CSchema::GetMemberCount  )  const
 

Definition at line 81 of file Schema.cpp.

References m_pMembers.

Referenced by CLibraryFolders::GetAlbumTarget().

POSITION CSchema::GetMemberIterator  )  const
 

Definition at line 59 of file Schema.cpp.

References m_pMembers.

Referenced by CQuerySearch::BuildWordList(), Clear(), CSchemaCtrl::Disable(), CSchemaCtrl::Enable(), CLibraryFolders::GetAlbumTarget(), GetIndexedWords(), GetMember(), CSchemaColumnsDlg::LoadColumns(), LoadDescriptorMembers(), CQuerySearch::MatchMetadata(), CFileMetadataPage::OnInitDialog(), CSchemaColumnsDlg::OnSelChangeSchemas(), CSchemaCtrl::SetSchema(), CSchemaColumnsDlg::ToggleColumnHelper(), CSchemaCtrl::UpdateData(), and Validate().

CSchemaMember * CSchema::GetNextMember POSITION &  pos  )  const
 

Definition at line 64 of file Schema.cpp.

References m_pMembers.

Referenced by CQuerySearch::BuildWordList(), Clear(), CLibraryFolders::GetAlbumTarget(), GetIndexedWords(), GetMember(), CSchemaColumnsDlg::LoadColumns(), LoadDescriptorMembers(), CQuerySearch::MatchMetadata(), CFileMetadataPage::OnInitDialog(), CSchemaColumnsDlg::OnSelChangeSchemas(), CSchemaCtrl::SetSchema(), CSchemaColumnsDlg::ToggleColumnHelper(), CSchemaCtrl::UpdateData(), and Validate().

CXMLElement * CSchema::GetType CXMLElement pRoot,
LPCTSTR  pszName
[protected]
 

Definition at line 288 of file Schema.cpp.

References CXMLElement::GetAttributeValue(), CXMLNode::GetName(), and NULL.

Referenced by CSchemaMember::LoadSchema(), and LoadSchema().

CXMLElement * CSchema::Instantiate BOOL  bNamespace = FALSE  )  const
 

Definition at line 667 of file Schema.cpp.

References CXMLElement::AddAttribute(), m_sPlural, m_sURI, NULL, and CXMLAttribute::schemaName.

Referenced by CLocalSearch::AddMetadata(), CLocalSearch::AlbumToPacket(), CAlbumFolder::MetaToFiles(), CFileMetadataPage::OnInitDialog(), CNewSearchDlg::OnOK(), CDecodeMetadataDlg::OnOK(), CQuerySearch::ReadG2Packet(), CLibraryFrame::RunLocalSearch(), CRelatedSearch::RunSearchForAlbum(), CRelatedSearch::RunSearchForArtist(), CRelatedSearch::RunSearchForSeries(), CLibraryFile::SaveMetadata(), and CLibraryBuilder::SubmitMetadata().

BOOL CSchema::Load LPCTSTR  pszName  ) 
 

Definition at line 126 of file Schema.cpp.

References CCoolInterface::IsNewWindows(), LoadDescriptor(), LoadIcon(), LoadSchema(), m_nType, m_sDonkeyType, m_sIcon, m_sSingular, m_sTitle, m_sURI, stFile, uriApplication, uriAudio, uriBook, uriDocument, uriImage, uriPresentation, uriSpreadsheet, and uriVideo.

Referenced by CSchemaCache::Load().

BOOL CSchema::LoadDescriptor LPCTSTR  pszFile  )  [protected]
 

Definition at line 315 of file Schema.cpp.

References CXMLElement::FromFile(), CXMLElement::GetAttribute(), CXMLElement::GetAttributeValue(), CXMLElement::GetElementIterator(), CXMLElement::GetNextElement(), CXMLNode::IsNamed(), LoadDescriptorBitziImport(), LoadDescriptorContains(), LoadDescriptorExtends(), LoadDescriptorHeaderContent(), LoadDescriptorIcons(), LoadDescriptorMembers(), LoadDescriptorTitles(), LoadDescriptorTypeFilter(), LoadDescriptorViewContent(), m_bPrivate, m_nAvailability, m_nType, m_sURI, NULL, saAdvanced, saDefault, saSystem, stFile, and stFolder.

Referenced by Load().

void CSchema::LoadDescriptorBitziImport CXMLElement pElement  )  [protected]
 

Definition at line 522 of file Schema.cpp.

References CXMLElement::GetAttributeValue(), CXMLElement::GetElementIterator(), CXMLNode::GetName(), CXMLElement::GetNextElement(), CSchemaBitzi::Load(), m_pBitziMap, m_sBitziTest, and NULL.

Referenced by LoadDescriptor().

void CSchema::LoadDescriptorContains CXMLElement pElement  )  [protected]
 

Definition at line 481 of file Schema.cpp.

References CXMLNode::IsNamed(), CSchemaChild::Load(), and m_pContains.

Referenced by LoadDescriptor().

void CSchema::LoadDescriptorExtends CXMLElement pElement  )  [protected]
 

Definition at line 467 of file Schema.cpp.

References CXMLElement::GetAttributeValue(), CXMLElement::GetElementIterator(), CXMLElement::GetNextElement(), CXMLNode::IsNamed(), and m_pExtends.

Referenced by LoadDescriptor().

void CSchema::LoadDescriptorHeaderContent CXMLElement pElement  )  [protected]
 

Definition at line 539 of file Schema.cpp.

References CSettings::General, CXMLElement::GetAttributeValue(), CXMLNode::GetValue(), CXMLNode::IsNamed(), CSettings::sGeneral::Language, m_sHeaderSubtitle, m_sHeaderTitle, and Settings.

Referenced by LoadDescriptor().

void CSchema::LoadDescriptorIcons CXMLElement pElement  )  [protected]
 

Definition at line 424 of file Schema.cpp.

References CXMLElement::GetAttributeValue(), CXMLElement::GetElementIterator(), CXMLElement::GetNextElement(), CXMLNode::IsNamed(), and m_sIcon.

Referenced by LoadDescriptor().

void CSchema::LoadDescriptorMembers CXMLElement pElement  )  [protected]
 

Definition at line 439 of file Schema.cpp.

References CXMLElement::GetAttributeValue(), CXMLElement::GetElementIterator(), GetMember(), GetMemberIterator(), CXMLElement::GetNextElement(), GetNextMember(), and CXMLNode::IsNamed().

Referenced by LoadDescriptor().

void CSchema::LoadDescriptorTitles CXMLElement pElement  )  [protected]
 

Definition at line 402 of file Schema.cpp.

References CSettings::General, CXMLElement::GetAttributeValue(), CXMLElement::GetElementIterator(), CXMLElement::GetNextElement(), CXMLNode::GetValue(), CXMLNode::IsNamed(), CSettings::sGeneral::Language, m_sTitle, and Settings.

Referenced by LoadDescriptor().

void CSchema::LoadDescriptorTypeFilter CXMLElement pElement  )  [protected]
 

Definition at line 503 of file Schema.cpp.

References CXMLElement::GetAttributeValue(), CXMLNode::GetName(), and m_sTypeFilter.

Referenced by LoadDescriptor().

void CSchema::LoadDescriptorViewContent CXMLElement pElement  )  [protected]
 

Definition at line 561 of file Schema.cpp.

References CSettings::General, CXMLElement::GetAttributeValue(), CXMLElement::GetElementIterator(), CXMLElement::GetNextElement(), CXMLNode::GetValue(), CXMLNode::IsNamed(), CSettings::sGeneral::Language, m_sLibraryView, m_sTileLine1, m_sTileLine2, and Settings.

Referenced by LoadDescriptor().

BOOL CSchema::LoadIcon  )  [protected]
 

Definition at line 588 of file Schema.cpp.

References CShellIcons::Add(), CreateMirroredIcon(), CShareazaApp::m_bRTL, m_nIcon16, m_nIcon32, m_nIcon48, m_sIcon, NULL, ShellIcons, and theApp.

Referenced by Load().

BOOL CSchema::LoadPrimary CXMLElement pRoot,
CXMLElement pType
[protected]
 

Definition at line 252 of file Schema.cpp.

References CSchemaMember, CXMLElement::GetElementIterator(), CXMLNode::GetName(), CXMLElement::GetNextElement(), CXMLNode::IsNamed(), CSchemaMember::LoadSchema(), and m_pMembers.

Referenced by LoadSchema().

BOOL CSchema::LoadSchema LPCTSTR  pszFile  )  [protected]
 

Definition at line 205 of file Schema.cpp.

References CXMLElement::FromFile(), CXMLElement::GetAttributeValue(), CXMLElement::GetElementCount(), CXMLElement::GetFirstElement(), GetType(), CXMLNode::IsNamed(), LoadPrimary(), m_sPlural, m_sSingular, m_sURI, and NULL.

Referenced by Load().

void CSchema::ResolveTokens CString &  str,
CXMLElement pXML
const
 

Definition at line 748 of file Schema.cpp.

References GetMember(), and NULL.

Referenced by CLibraryTileItem::Update(), and CLibraryHeaderPanel::Update().

BOOL CSchema::Validate CXMLElement pXML,
BOOL  bFix
 

Definition at line 678 of file Schema.cpp.

References CXMLElement::GetAttributeValue(), CXMLElement::GetFirstElement(), GetMemberIterator(), GetNextMember(), CSchemaMember::GetValueFrom(), CXMLNode::IsNamed(), CSchemaMember::m_bNumeric, CSchemaMember::m_nMaxLength, CSchemaMember::m_nMaxOccurs, m_sPlural, m_sSingular, m_sURI, NULL, CXMLAttribute::schemaName, and CSchemaMember::SetValueTo().

Referenced by CLibraryFile::LoadMetadata(), CLibraryFile::SetMetadata(), and CLibraryBuilder::SubmitMetadata().


Friends And Related Function Documentation

friend class CSchemaMember [friend]
 

Definition at line 195 of file Schema.h.

Referenced by LoadPrimary().


Member Data Documentation

BOOL CSchema::m_bPrivate
 

Definition at line 50 of file Schema.h.

Referenced by CLocalSearch::AlbumToPacket(), CSchema(), LoadDescriptor(), and CRemote::PageSearch().

int CSchema::m_nAvailability
 

Definition at line 49 of file Schema.h.

Referenced by CSchema(), CSchemaCombo::Load(), and LoadDescriptor().

int CSchema::m_nIcon16
 

Definition at line 67 of file Schema.h.

Referenced by CBrowseTreeItem::AddXML(), CSchema(), CSchemaCombo::DrawItem(), CLibraryView::GetHeaderContent(), LoadIcon(), CDownloadGroupDlg::OnInitDialog(), CSearchPanel::OnSchemaChange(), and CLibraryTreeView::Update().

int CSchema::m_nIcon32
 

Definition at line 68 of file Schema.h.

Referenced by CSchema(), LoadIcon(), CAlbumTipCtrl::OnPrepare(), CLibraryTileItem::Update(), and CLibraryHeaderPanel::Update().

int CSchema::m_nIcon48
 

Definition at line 69 of file Schema.h.

Referenced by CSchema(), LoadIcon(), CAlbumTipCtrl::OnPrepare(), CLibraryTileItem::Update(), and CLibraryHeaderPanel::Update().

int CSchema::m_nType
 

Definition at line 44 of file Schema.h.

Referenced by CSchema(), Load(), CSchemaCombo::Load(), LoadDescriptor(), CFileMetadataPage::OnInitDialog(), and CRemote::PageSearch().

CPtrList CSchema::m_pBitziMap
 

Definition at line 58 of file Schema.h.

Referenced by Clear(), and LoadDescriptorBitziImport().

CPtrList CSchema::m_pContains
 

Definition at line 55 of file Schema.h.

Referenced by Clear(), GetContained(), GetContainedURI(), and LoadDescriptorContains().

CStringList CSchema::m_pExtends
 

Definition at line 54 of file Schema.h.

Referenced by CheckURI(), Equals(), and LoadDescriptorExtends().

CPtrList CSchema::m_pMembers
 

Definition at line 53 of file Schema.h.

Referenced by Clear(), GetFirstMemberName(), GetMemberCount(), GetMemberIterator(), GetNextMember(), and LoadPrimary().

CString CSchema::m_sBitziTest
 

Definition at line 59 of file Schema.h.

Referenced by CBitziDownloader::DecodeResponse(), and LoadDescriptorBitziImport().

CString CSchema::m_sDefaultColumns
 

Definition at line 56 of file Schema.h.

Referenced by CSchemaColumnsDlg::LoadColumns(), CSchemaMember::LoadDisplay(), and CSchemaColumnsDlg::OnSelChangeSchemas().

CString CSchema::m_sDonkeyType
 

Definition at line 51 of file Schema.h.

Referenced by CSchema(), Load(), CEDNeighbour::SendSharedFiles(), and CQuerySearch::ToEDPacket().

CString CSchema::m_sHeaderSubtitle
 

Definition at line 62 of file Schema.h.

Referenced by LoadDescriptorHeaderContent(), and CLibraryHeaderPanel::Update().

CString CSchema::m_sHeaderTitle
 

Definition at line 61 of file Schema.h.

Referenced by LoadDescriptorHeaderContent(), and CLibraryHeaderPanel::Update().

CString CSchema::m_sIcon
 

Definition at line 66 of file Schema.h.

Referenced by Load(), LoadDescriptorIcons(), and LoadIcon().

CString CSchema::m_sLibraryView
 

Definition at line 60 of file Schema.h.

Referenced by CAlbumFolder::GetBestView(), and LoadDescriptorViewContent().

CString CSchema::m_sPlural
 

Definition at line 47 of file Schema.h.

Referenced by Instantiate(), LoadSchema(), and Validate().

CString CSchema::m_sSingular
 

Definition at line 48 of file Schema.h.

Referenced by CLocalSearch::AlbumToPacket(), CLibraryDetailView::CacheItem(), CRelatedSearch::CRelatedSearch(), CSchemaCache::Load(), Load(), CSchemaColumnsDlg::LoadColumns(), CMatchCtrl::LoadColumnState(), LoadSchema(), CAlbumFolder::MetaFromFile(), CLibraryDetailView::OnDestroy(), CFileMetadataPage::OnInitDialog(), CNewSearchDlg::OnOK(), CSchemaColumnsDlg::OnSelChangeSchemas(), CRelatedSearch::RunSearchForAlbum(), CRelatedSearch::RunSearchForArtist(), CRelatedSearch::RunSearchForSeries(), CMatchCtrl::SaveColumnState(), CLibraryDetailView::SetViewSchema(), CSchemaCtrl::UpdateData(), and Validate().

CString CSchema::m_sTileLine1
 

Definition at line 63 of file Schema.h.

Referenced by LoadDescriptorViewContent(), and CLibraryTileItem::Update().

CString CSchema::m_sTileLine2
 

Definition at line 64 of file Schema.h.

Referenced by LoadDescriptorViewContent(), and CLibraryTileItem::Update().

CString CSchema::m_sTitle
 

Definition at line 45 of file Schema.h.

Referenced by CSchemaCombo::DrawItem(), Load(), CSchemaCombo::Load(), LoadDescriptorTitles(), CAlbumTipCtrl::OnPrepare(), CSearchPanel::OnSchemaChange(), CRemote::PageSearch(), CLibraryFrame::RunLocalSearch(), and CSearchWnd::UpdateMessages().

CString CSchema::m_sTypeFilter
 

Definition at line 57 of file Schema.h.

Referenced by FilterType(), and LoadDescriptorTypeFilter().

CString CSchema::m_sURI
 

Definition at line 46 of file Schema.h.

Referenced by CheckURI(), CCollectionExportDlg::CreateXML(), CSchemaCombo::DrawItem(), Equals(), Instantiate(), CSchemaCache::Load(), Load(), CSchemaCombo::Load(), LoadDescriptor(), LoadSchema(), CAlbumFolder::MetaToFiles(), CSearchWnd::OnDestroy(), CHitMonitorWnd::OnDestroy(), CBrowseHostWnd::OnDestroy(), CFileMetadataPage::OnInitDialog(), CSchemaColumnsDlg::OnInitDialog(), CDownloadGroupDlg::OnInitDialog(), CLibraryDetailView::OnLibraryColumns(), CNewSearchDlg::OnOK(), CDownloadGroupDlg::OnOK(), CHomeSearchCtrl::OnSearchCreate(), CBrowseFrameCtrl::OnTreeSelection(), CRemote::PageNewSearch(), CRemote::PageSearch(), CLibraryDictionary::ProcessFile(), CLibraryDictionary::Search(), CSearchWnd::Serialize(), CLibraryFile::Serialize(), CQuerySearch::Serialize(), CFilePropertiesDlg::Update(), CLibraryDetailView::Update(), and Validate().

LPCTSTR CSchema::uriAllFiles = _T("http://www.shareaza.com/schemas/allFiles.xsd") [static]
 

Definition at line 806 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriApplication = _T("http://www.shareaza.com/schemas/application.xsd") [static]
 

Definition at line 790 of file Schema.cpp.

Referenced by Load(), CAlbumFolder::OrganiseFile(), CQueryHit::ReadEDPacket(), and CLibraryBuilderInternals::ReadVersion().

LPCTSTR CSchema::uriApplicationAll = _T("http://www.shareaza.com/schemas/applicationAll.xsd") [static]
 

Definition at line 809 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriApplicationRoot = _T("http://www.shareaza.com/schemas/applicationRoot.xsd") [static]
 

Definition at line 808 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriAudio = _T("http://www.limewire.com/schemas/audio.xsd") [static]
 

Definition at line 791 of file Schema.cpp.

Referenced by CDownloadWithFile::AppendMetadata(), CQueryHit::AutoDetectAudio(), Load(), CAlbumFolder::OrganiseFile(), CLibraryBuilderInternals::ReadAPE(), CLibraryBuilderInternals::ReadASF(), CQueryHit::ReadEDPacket(), CLibraryBuilderInternals::ReadID3v1(), CLibraryBuilderInternals::ReadID3v2(), CLibraryBuilderInternals::ReadMP3Frames(), CLibraryBuilderInternals::ReadOGG(), CRelatedSearch::RunSearchForAlbum(), CRelatedSearch::RunSearchForArtist(), CEDNeighbour::SendSharedFiles(), CLibraryFile::Serialize(), CSettings::Setup(), and CLibraryAlbumTrack::Update().

LPCTSTR CSchema::uriBook = _T("http://www.limewire.com/schemas/book.xsd") [static]
 

Definition at line 792 of file Schema.cpp.

Referenced by Load(), CAlbumFolder::OrganiseFile(), CLibraryBuilderInternals::ReadCHM(), CQueryHit::ReadEDPacket(), and CLibraryBuilderInternals::ReadPDF().

LPCTSTR CSchema::uriBookAll = _T("http://www.shareaza.com/schemas/bookAll.xsd") [static]
 

Definition at line 812 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriBookRoot = _T("http://www.shareaza.com/schemas/bookRoot.xsd") [static]
 

Definition at line 811 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriCollectionsFolder = _T("http://www.shareaza.com/schemas/collectionsFolder.xsd") [static]
 

Definition at line 803 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::MountCollection().

LPCTSTR CSchema::uriDocument = _T("http://www.shareaza.com/schemas/wordProcessing.xsd") [static]
 

Definition at line 796 of file Schema.cpp.

Referenced by Load(), CAlbumFolder::OrganiseFile(), CLibraryBuilderInternals::ReadCHM(), and CLibraryBuilderInternals::ReadPDF().

LPCTSTR CSchema::uriDocumentAll = _T("http://www.shareaza.com/schemas/documentAll.xsd") [static]
 

Definition at line 836 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriDocumentRoot = _T("http://www.shareaza.com/schemas/documentRoot.xsd") [static]
 

Definition at line 835 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriFavouritesFolder = _T("http://www.shareaza.com/schemas/favouritesFolder.xsd") [static]
 

Definition at line 804 of file Schema.cpp.

Referenced by CBrowseTreeItem::AddXML(), CLibraryFolders::CreateAlbumTree(), and CFilesProfilePage::OnInitDialog().

LPCTSTR CSchema::uriFolder = _T("http://www.shareaza.com/schemas/folder.xsd") [static]
 

Definition at line 802 of file Schema.cpp.

Referenced by CAlbumFolder::AddFolder().

LPCTSTR CSchema::uriImage = _T("http://www.shareaza.com/schemas/image.xsd") [static]
 

Definition at line 793 of file Schema.cpp.

Referenced by Load(), CAlbumFolder::OrganiseFile(), CLibraryBuilderInternals::ReadBMP(), CQueryHit::ReadEDPacket(), CLibraryBuilderInternals::ReadGIF(), CLibraryBuilderInternals::ReadJPEG(), and CLibraryBuilderInternals::ReadPNG().

LPCTSTR CSchema::uriImageAlbum = _T("http://www.shareaza.com/schemas/imageAlbum.xsd") [static]
 

Definition at line 816 of file Schema.cpp.

LPCTSTR CSchema::uriImageAll = _T("http://www.shareaza.com/schemas/imageAll.xsd") [static]
 

Definition at line 815 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriImageRoot = _T("http://www.shareaza.com/schemas/imageRoot.xsd") [static]
 

Definition at line 814 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriLibrary = _T("http://www.shareaza.com/schemas/libraryRoot.xsd") [static]
 

Definition at line 800 of file Schema.cpp.

Referenced by CLibraryFolders::GetAlbumRoot(), CLibraryHomeView::GetHeaderContent(), and CBrowseHeaderCtrl::OnCreate().

LPCTSTR CSchema::uriMusicAlbum = _T("http://www.shareaza.com/schemas/musicAlbum.xsd") [static]
 

Definition at line 823 of file Schema.cpp.

Referenced by CDownloadGroups::CreateDefault(), CLibraryAlbumView::OnKeyDown(), CAlbumFolder::OrganiseFile(), CLibraryAlbumTrack::Paint(), CLibraryAlbumView::SortList(), and CLibraryAlbumView::Update().

LPCTSTR CSchema::uriMusicAlbumCollection = _T("http://www.shareaza.com/schemas/musicAlbumCollection.xsd") [static]
 

Definition at line 820 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriMusicAll = _T("http://www.shareaza.com/schemas/musicAll.xsd") [static]
 

Definition at line 819 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriMusicArtist = _T("http://www.shareaza.com/schemas/musicArtist.xsd") [static]
 

Definition at line 824 of file Schema.cpp.

Referenced by CLibraryAlbumView::OnKeyDown(), CAlbumFolder::OrganiseFile(), CLibraryAlbumTrack::Paint(), CLibraryAlbumView::SortList(), and CLibraryAlbumView::Update().

LPCTSTR CSchema::uriMusicArtistCollection = _T("http://www.shareaza.com/schemas/musicArtistCollection.xsd") [static]
 

Definition at line 821 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriMusicGenre = _T("http://www.shareaza.com/schemas/musicGenre.xsd") [static]
 

Definition at line 825 of file Schema.cpp.

Referenced by CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriMusicGenreCollection = _T("http://www.shareaza.com/schemas/musicGenreCollection.xsd") [static]
 

Definition at line 822 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriMusicRoot = _T("http://www.shareaza.com/schemas/musicRoot.xsd") [static]
 

Definition at line 818 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriPresentation = _T("http://www.shareaza.com/schemas/presentation.xsd") [static]
 

Definition at line 798 of file Schema.cpp.

Referenced by Load(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriROM = _T("http://www.shareaza.com/schemas/rom.xsd") [static]
 

Definition at line 795 of file Schema.cpp.

Referenced by CDownloadGroups::CreateDefault().

LPCTSTR CSchema::uriSearchFolder = _T("http://www.shareaza.com/schemas/searchFolder.xsd") [static]
 

Definition at line 805 of file Schema.cpp.

Referenced by CGeneralSettingsPage::OnInitDialog(), and CLibraryFrame::RunLocalSearch().

LPCTSTR CSchema::uriSpreadsheet = _T("http://www.shareaza.com/schemas/spreadsheet.xsd") [static]
 

Definition at line 797 of file Schema.cpp.

Referenced by Load(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriVideo = _T("http://www.limewire.com/schemas/video.xsd") [static]
 

Definition at line 794 of file Schema.cpp.

Referenced by CDownloadGroups::CreateDefault(), Load(), CAlbumFolder::OrganiseFile(), CLibraryBuilderInternals::ReadASF(), CLibraryBuilderInternals::ReadAVI(), CQueryHit::ReadEDPacket(), CLibraryBuilderInternals::ReadMPEG(), CRelatedSearch::RunSearchForSeries(), and CEDNeighbour::SendSharedFiles().

LPCTSTR CSchema::uriVideoAll = _T("http://www.shareaza.com/schemas/videoAll.xsd") [static]
 

Definition at line 828 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriVideoFilm = _T("http://www.shareaza.com/schemas/videoFilm.xsd") [static]
 

Definition at line 832 of file Schema.cpp.

Referenced by CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriVideoFilmCollection = _T("http://www.shareaza.com/schemas/videoFilmCollection.xsd") [static]
 

Definition at line 831 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriVideoMusicCollection = _T("http://www.shareaza.com/schemas/videoMusicCollection.xsd") [static]
 

Definition at line 833 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriVideoRoot = _T("http://www.shareaza.com/schemas/videoRoot.xsd") [static]
 

Definition at line 827 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriVideoSeries = _T("http://www.shareaza.com/schemas/videoSeries.xsd") [static]
 

Definition at line 830 of file Schema.cpp.

Referenced by CAlbumFolder::OrganiseFile().

LPCTSTR CSchema::uriVideoSeriesCollection = _T("http://www.shareaza.com/schemas/videoSeriesCollection.xsd") [static]
 

Definition at line 829 of file Schema.cpp.

Referenced by CLibraryFolders::CreateAlbumTree(), and CAlbumFolder::OrganiseFile().


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