SelConf Class Reference

#include <SelConf.h>

Collaboration diagram for SelConf:
Collaboration graph
[legend]

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::stringm_configStrings

Static Protected Attributes

static int m_lastId = 0

Detailed Description

Definition at line 32 of file SelConf.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
IDD 

Definition at line 41 of file SelConf.h.


Constructor & Destructor Documentation

SelConf::SelConf ( unsigned int  configs,
CWnd *  pParent = NULL 
)

Definition at line 21 of file SelConf.cpp.

SelConf::~SelConf (  ) 

Definition at line 30 of file SelConf.cpp.


Member Function Documentation

void SelConf::addConfigs ( std::vector< std::string > &  configs  ) 

Definition at line 60 of file SelConf.cpp.

int SelConf::addEntry ( const CString &  role,
char  kind,
int  clique,
bool  in,
const CString &  repr,
const void *  ptr 
)

Definition at line 77 of file SelConf.cpp.

bool SelConf::addPossibleAncestors ( CStringList &  list,
int  changed 
)

Definition at line 277 of file SelConf.cpp.

void SelConf::DoDataExchange ( CDataExchange *  pDX  )  [protected, virtual]

Definition at line 39 of file SelConf.cpp.

void SelConf::fillUpTable (  )  [protected]

Definition at line 257 of file SelConf.cpp.

int SelConf::findAmongConfigs ( std::string config_name  ) 

Definition at line 66 of file SelConf.cpp.

void SelConf::getDataFromTable (  )  [protected]

Definition at line 266 of file SelConf.cpp.

void SelConf::getDescsAncs ( bool  which,
DWORD_PTR  changed,
std::vector< int > &  res 
)

Definition at line 332 of file SelConf.cpp.

bool SelConf::getEntries ( LPARAM  lParam1,
LPARAM  lParam2,
LPARAM  lParamSort,
entry e,
entry f 
) [static]

Definition at line 383 of file SelConf.cpp.

bool SelConf::getEntry ( int  row,
CString &  role,
bool &  in,
CString &  repr,
const void *&  ptr 
)

Definition at line 92 of file SelConf.cpp.

int CALLBACK SelConf::MyExtdCompare ( LPARAM  lParam1,
LPARAM  lParam2,
LPARAM  lParamSort 
) [static]

Definition at line 414 of file SelConf.cpp.

int CALLBACK SelConf::MyKindCompare ( LPARAM  lParam1,
LPARAM  lParam2,
LPARAM  lParamSort 
) [static]

Definition at line 400 of file SelConf.cpp.

int CALLBACK SelConf::MyNameCompare ( LPARAM  lParam1,
LPARAM  lParam2,
LPARAM  lParamSort 
) [static]

Definition at line 392 of file SelConf.cpp.

int CALLBACK SelConf::MyReprCompare ( LPARAM  lParam1,
LPARAM  lParam2,
LPARAM  lParamSort 
) [static]

Definition at line 423 of file SelConf.cpp.

void SelConf::OnBnClickedDeselectallbtn (  )  [protected]

Definition at line 445 of file SelConf.cpp.

void SelConf::OnBnClickedSelectallbtn (  )  [protected]

Definition at line 450 of file SelConf.cpp.

void SelConf::OnCloseupCombo1 (  )  [protected]

Definition at line 167 of file SelConf.cpp.

void SelConf::OnEditupdateCombo1 (  )  [protected]

Definition at line 185 of file SelConf.cpp.

BOOL SelConf::OnInitDialog (  )  [protected, virtual]

Definition at line 111 of file SelConf.cpp.

void SelConf::OnOK (  )  [protected, virtual]

Definition at line 144 of file SelConf.cpp.

void SelConf::refreshTable (  )  [protected]

Definition at line 194 of file SelConf.cpp.

void SelConf::saveUserPref ( bool  check  )  [protected]

Definition at line 227 of file SelConf.cpp.

void SelConf::selectAll ( bool  pVal  )  [protected]

Definition at line 432 of file SelConf.cpp.


Member Data Documentation

CComboBox SelConf::m_config

Definition at line 42 of file SelConf.h.

std::vector< std::string > SelConf::m_configStrings [protected]

Definition at line 86 of file SelConf.h.

Definition at line 61 of file SelConf.h.

Definition at line 76 of file SelConf.h.

int SelConf::m_lastId = 0 [static, protected]

Definition at line 75 of file SelConf.h.

const int SelConf::m_numberOfConfigs [protected]

Definition at line 74 of file SelConf.h.

int SelConf::m_sortOrder = 1 [static]

Definition at line 66 of file SelConf.h.

CTable SelConf::m_table [protected]

Definition at line 81 of file SelConf.h.


The documentation for this class was generated from the following files:
Generated on Thu May 30 15:54:31 2013 for GME by  doxygen 1.6.3