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

CResultFilters Class Reference

#include <ResultFilters.h>

List of all members.

Public Member Functions

 CResultFilters (void)
 ~CResultFilters (void)
void Serialize (CArchive &ar)
void Add (CFilterOptions *pOptions)
void Remove (DWORD index)
void Load ()
void Save ()
int Search (const CString &strName)

Public Attributes

DWORD m_nFilters
CFilterOptions ** m_pFilters
DWORD m_nDefault


Constructor & Destructor Documentation

CResultFilters::CResultFilters void   ) 
 

Definition at line 36 of file ResultFilters.cpp.

References m_nDefault, m_nFilters, m_pFilters, NONE, and NULL.

CResultFilters::~CResultFilters void   ) 
 

Definition at line 43 of file ResultFilters.cpp.

References m_nFilters, and m_pFilters.


Member Function Documentation

void CResultFilters::Add CFilterOptions pOptions  ) 
 

Definition at line 94 of file ResultFilters.cpp.

References m_nFilters, and m_pFilters.

Referenced by CFilterSearchDlg::OnBnClickedSaveFilter().

void CResultFilters::Load  ) 
 

Definition at line 135 of file ResultFilters.cpp.

References CSettings::General, m_nFilters, m_pFilters, Serialize(), Settings, and CSettings::sGeneral::UserPath.

Referenced by CMatchList::CMatchList(), and CFilterSearchDlg::OnInitDialog().

void CResultFilters::Remove DWORD  index  ) 
 

Definition at line 120 of file ResultFilters.cpp.

References m_nDefault, m_nFilters, m_pFilters, and NONE.

Referenced by CFilterSearchDlg::OnBnClickedDeleteFilter().

void CResultFilters::Save  ) 
 

Definition at line 161 of file ResultFilters.cpp.

References CSettings::General, Serialize(), Settings, and CSettings::sGeneral::UserPath.

Referenced by CFilterSearchDlg::OnBnClickedDeleteFilter(), CFilterSearchDlg::OnBnClickedSaveFilter(), and CFilterSearchDlg::OnBnClickedSetDefaultFilter().

int CResultFilters::Search const CString &  strName  ) 
 

Definition at line 108 of file ResultFilters.cpp.

References m_nFilters, m_pFilters, CFilterOptions::m_sName, and NONE.

Referenced by CFilterSearchDlg::OnBnClickedSaveFilter().

void CResultFilters::Serialize CArchive &  ar  ) 
 

Definition at line 56 of file ResultFilters.cpp.

References m_nDefault, m_nFilters, m_pFilters, and CFilterOptions::Serialize().

Referenced by Load(), and Save().


Member Data Documentation

DWORD CResultFilters::m_nDefault
 

Definition at line 65 of file ResultFilters.h.

Referenced by CMatchList::CMatchList(), CResultFilters(), CFilterSearchDlg::OnBnClickedSetDefaultFilter(), CFilterSearchDlg::OnCbnSelChangeFilters(), Remove(), Serialize(), CFilterSearchDlg::UpdateFields(), and CFilterSearchDlg::UpdateList().

DWORD CResultFilters::m_nFilters
 

Definition at line 63 of file ResultFilters.h.

Referenced by Add(), CMatchList::CMatchList(), CResultFilters(), Load(), CFilterSearchDlg::OnBnClickedDeleteFilter(), CFilterSearchDlg::OnBnClickedSaveFilter(), Remove(), Search(), Serialize(), CFilterSearchDlg::UpdateList(), and ~CResultFilters().

CFilterOptions** CResultFilters::m_pFilters
 

Definition at line 64 of file ResultFilters.h.

Referenced by Add(), CMatchList::CMatchList(), CResultFilters(), Load(), CFilterSearchDlg::OnBnClickedSaveFilter(), CFilterSearchDlg::OnCbnSelChangeFilters(), Remove(), Search(), Serialize(), CFilterSearchDlg::UpdateList(), and ~CResultFilters().


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