SelConf Class Reference
#include <SelConf.h>
List of all members.
Public Types |
enum | { IDD = IDD_DIALOG1
} |
Public Member Functions |
| SelConf (unsigned int configs, CWnd *pParent=NULL) |
| ~SelConf () |
int | addEntry (const CString &role, char kind, int clique, bool in, const CString &repr, const void *ptr) |
bool | getEntry (int row, CString &role, bool &in, CString &repr, const void *&ptr) |
void | addConfigs (std::vector< std::string > &configs) |
int | findAmongConfigs (std::string &config_name) |
void | getDescsAncs (bool which, DWORD_PTR changed, std::vector< int > &res) |
bool | addPossibleAncestors (CStringList &list, int changed) |
Static Public Member Functions |
static bool | getEntries (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort, entry &e, entry &f) |
static int CALLBACK | MyNameCompare (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort) |
static int CALLBACK | MyKindCompare (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort) |
static int CALLBACK | MyExtdCompare (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort) |
static int CALLBACK | MyReprCompare (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort) |
Public Attributes |
CComboBox | m_config |
std::string | m_currSelConfigStr |
Static Public Attributes |
static int | m_sortOrder = 1 |
Protected Member Functions |
virtual void | DoDataExchange (CDataExchange *pDX) |
void | selectAll (bool pVal) |
void | fillUpTable () |
void | getDataFromTable () |
void | saveUserPref (bool check) |
void | refreshTable () |
virtual BOOL | OnInitDialog () |
virtual void | OnOK () |
afx_msg void | OnEditupdateCombo1 () |
afx_msg void | OnCloseupCombo1 () |
afx_msg void | OnBnClickedDeselectallbtn () |
afx_msg void | OnBnClickedSelectallbtn () |
Protected Attributes |
const int | m_numberOfConfigs |
CEntryList | m_entries |
CTable | m_table |
std::vector< std::string > | m_configStrings |
Static Protected Attributes |
static int | m_lastId = 0 |
Detailed Description
Definition at line 32 of file SelConf.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
SelConf::SelConf |
( |
unsigned int |
configs, |
|
|
CWnd * |
pParent = NULL | |
|
) |
| | |
Member Function Documentation
void SelConf::addConfigs |
( |
std::vector< std::string > & |
configs |
) |
|
int SelConf::addEntry |
( |
const CString & |
role, |
|
|
char |
kind, |
|
|
int |
clique, |
|
|
bool |
in, |
|
|
const CString & |
repr, |
|
|
const void * |
ptr | |
|
) |
| | |
bool SelConf::addPossibleAncestors |
( |
CStringList & |
list, |
|
|
int |
changed | |
|
) |
| | |
void SelConf::DoDataExchange |
( |
CDataExchange * |
pDX |
) |
[protected, virtual] |
void SelConf::fillUpTable |
( |
|
) |
[protected] |
int SelConf::findAmongConfigs |
( |
std::string & |
config_name |
) |
|
void SelConf::getDataFromTable |
( |
|
) |
[protected] |
void SelConf::getDescsAncs |
( |
bool |
which, |
|
|
DWORD_PTR |
changed, |
|
|
std::vector< int > & |
res | |
|
) |
| | |
bool SelConf::getEntries |
( |
LPARAM |
lParam1, |
|
|
LPARAM |
lParam2, |
|
|
LPARAM |
lParamSort, |
|
|
entry & |
e, |
|
|
entry & |
f | |
|
) |
| | [static] |
bool SelConf::getEntry |
( |
int |
row, |
|
|
CString & |
role, |
|
|
bool & |
in, |
|
|
CString & |
repr, |
|
|
const void *& |
ptr | |
|
) |
| | |
int CALLBACK SelConf::MyExtdCompare |
( |
LPARAM |
lParam1, |
|
|
LPARAM |
lParam2, |
|
|
LPARAM |
lParamSort | |
|
) |
| | [static] |
int CALLBACK SelConf::MyKindCompare |
( |
LPARAM |
lParam1, |
|
|
LPARAM |
lParam2, |
|
|
LPARAM |
lParamSort | |
|
) |
| | [static] |
int CALLBACK SelConf::MyNameCompare |
( |
LPARAM |
lParam1, |
|
|
LPARAM |
lParam2, |
|
|
LPARAM |
lParamSort | |
|
) |
| | [static] |
int CALLBACK SelConf::MyReprCompare |
( |
LPARAM |
lParam1, |
|
|
LPARAM |
lParam2, |
|
|
LPARAM |
lParamSort | |
|
) |
| | [static] |
void SelConf::OnBnClickedDeselectallbtn |
( |
|
) |
[protected] |
void SelConf::OnBnClickedSelectallbtn |
( |
|
) |
[protected] |
void SelConf::OnCloseupCombo1 |
( |
|
) |
[protected] |
void SelConf::OnEditupdateCombo1 |
( |
|
) |
[protected] |
BOOL SelConf::OnInitDialog |
( |
|
) |
[protected, virtual] |
void SelConf::OnOK |
( |
|
) |
[protected, virtual] |
void SelConf::refreshTable |
( |
|
) |
[protected] |
void SelConf::saveUserPref |
( |
bool |
check |
) |
[protected] |
void SelConf::selectAll |
( |
bool |
pVal |
) |
[protected] |
Member Data Documentation
The documentation for this class was generated from the following files: