GME  13
Public Member Functions | Public Attributes | Static Public Attributes
CPreference Class Reference

#include <Preference.h>

List of all members.

Public Member Functions

void WriteItemToMga (CListItem ListItem, const CMgaFCOPtrList &MgaFCOPtrList, bool bIsForKind)
void IssuePossiblePathConversion (CListItem ListItem, const CMgaFCOPtrList &MgaFCOPtrList, CObjectInspectorCtrl *pParent)
void CreateListItem (CArray< CListItem, CListItem & > &ListItems, TableRowType, const CString &strValue, bool bSameValueForAll, bool bIsDefault, bool bIsMultiple, const CComPtr< IMgaFCO > &ccpMgaFCO, POSITION nKey)
void GetDefaultValue (CString strCurrPath, objtype_enum oeType, CString &strDefValue)
int FindRegPathInSetTable (const CString &strPath)
int FindRegPathInProxyTable (const CString &strPath)
int FindRegPathInModelTable (const CString &strPath)
int FindRegPathInAtomTable (const CString &strPath)
int FindRegPathInConnectionTable (const CString &strPath)
void SetupPreferences (BYTE cFlags)
void CreateList (const CMgaFCOPtrList &MgaFCOPtrList)
void Write2Mga (const CString &strValue, const CComPtr< IMgaFCO > &ccpMgaFCO, const CListItem &ListItem, const CString &strRegPath, bool bIsForKind)
 CPreference ()
virtual ~CPreference ()

Public Attributes

CArray< CListItem, CListItem & > m_ListItemArray
CStringList m_strRegPathList

Static Public Attributes

static TCHAR * m_szLineStyleList [] = {_T("butt"), _T("arrow"), _T("diamond"), _T("apex"), _T("bullet"), _T("empty diamond"), _T("empty apex"), _T("empty bullet"), _T("left half arrow"), _T("right half arrow") }
static TCHAR * m_szLineTypeList [] = {_T("solid"), _T("dash")}
static TCHAR * m_szBooleanList [] = {_T("true"), _T("false")}

Detailed Description

Definition at line 24 of file Preference.h.


Constructor & Destructor Documentation

Definition at line 201 of file Preference.cpp.

Definition at line 219 of file Preference.cpp.


Member Function Documentation

void CPreference::CreateList ( const CMgaFCOPtrList MgaFCOPtrList)

Definition at line 436 of file Preference.cpp.

void CPreference::CreateListItem ( CArray< CListItem, CListItem & > &  ListItems,
TableRowType  pTableRow,
const CString &  strValue,
bool  bSameValueForAll,
bool  bIsDefault,
bool  bIsMultiple,
const CComPtr< IMgaFCO > &  ccpMgaFCO,
POSITION  nKey 
)

Definition at line 728 of file Preference.cpp.

int CPreference::FindRegPathInAtomTable ( const CString &  strPath)

Definition at line 376 of file Preference.cpp.

int CPreference::FindRegPathInConnectionTable ( const CString &  strPath)

Definition at line 361 of file Preference.cpp.

int CPreference::FindRegPathInModelTable ( const CString &  strPath)

Definition at line 391 of file Preference.cpp.

int CPreference::FindRegPathInProxyTable ( const CString &  strPath)

Definition at line 406 of file Preference.cpp.

int CPreference::FindRegPathInSetTable ( const CString &  strPath)

Definition at line 420 of file Preference.cpp.

void CPreference::GetDefaultValue ( CString  strCurrPath,
objtype_enum  oeType,
CString &  strDefValue 
)

Definition at line 677 of file Preference.cpp.

void CPreference::IssuePossiblePathConversion ( CListItem  ListItem,
const CMgaFCOPtrList MgaFCOPtrList,
CObjectInspectorCtrl pParent 
)

Definition at line 1177 of file Preference.cpp.

void CPreference::SetupPreferences ( BYTE  cFlags)

Definition at line 228 of file Preference.cpp.

void CPreference::Write2Mga ( const CString &  strValue,
const CComPtr< IMgaFCO > &  ccpMgaFCO,
const CListItem ListItem,
const CString &  strRegPath,
bool  bIsForKind 
)

Definition at line 1065 of file Preference.cpp.

void CPreference::WriteItemToMga ( CListItem  ListItem,
const CMgaFCOPtrList MgaFCOPtrList,
bool  bIsForKind 
)

Definition at line 1156 of file Preference.cpp.


Member Data Documentation

Definition at line 51 of file Preference.h.

Definition at line 55 of file Preference.h.

TCHAR * CPreference::m_szBooleanList = {_T("true"), _T("false")} [static]

Definition at line 49 of file Preference.h.

TCHAR * CPreference::m_szLineStyleList = {_T("butt"), _T("arrow"), _T("diamond"), _T("apex"), _T("bullet"), _T("empty diamond"), _T("empty apex"), _T("empty bullet"), _T("left half arrow"), _T("right half arrow") } [static]

Definition at line 47 of file Preference.h.

TCHAR * CPreference::m_szLineTypeList = {_T("solid"), _T("dash")} [static]

Definition at line 48 of file Preference.h.


The documentation for this class was generated from the following files: