Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

IniFile Class Reference

#include <IniFile.h>

List of all members.

Public Methods

 IniFile (CWnd *pParent=NULL)
void SetupData (int fileThres, int packSize)
void GetData (int &fileThres, int &packSize)

Protected Methods

virtual void DoDataExchange (CDataExchange *pDX)
afx_msg void OnChangeEditIniFilethres ()
afx_msg void OnChangeEditIniPacketsize ()
afx_msg void OnShowWindow (BOOL bShow, UINT nStatus)

Private Types

enum  { IDD = IDD_DIALOG_INI_FILE }

Private Attributes

int m_dFileThres
int m_dPackSize


Member Enumeration Documentation

anonymous enum [private]
 

Enumeration values:
IDD 

Definition at line 18 of file IniFile.h.

00018 { IDD = IDD_DIALOG_INI_FILE };


Constructor & Destructor Documentation

IniFile::IniFile CWnd *    pParent = NULL
 

Definition at line 18 of file IniFile.cpp.

References m_dFileThres, and m_dPackSize.

00019         : CDialog(IniFile::IDD, pParent)
00020 {
00021         //{{AFX_DATA_INIT(IniFile)
00022         m_dFileThres = 0;
00023         m_dPackSize = 0;
00024         //}}AFX_DATA_INIT
00025 }


Member Function Documentation

void IniFile::DoDataExchange CDataExchange *    pDX [protected, virtual]
 

Definition at line 28 of file IniFile.cpp.

00029 {
00030         CDialog::DoDataExchange(pDX);
00031         //{{AFX_DATA_MAP(IniFile)
00032         DDX_Text(pDX, IDC_EDIT_INI_FILETHRES, m_dFileThres);
00033         DDV_MinMaxInt(pDX, m_dFileThres, 0, 1000);
00034         DDX_Text(pDX, IDC_EDIT_INI_PACKETSIZE, m_dPackSize);
00035         DDV_MinMaxInt(pDX, m_dPackSize, 0, 1000);
00036         //}}AFX_DATA_MAP
00037 }

void IniFile::GetData int &    fileThres,
int &    packSize
[inline]
 

Definition at line 34 of file IniFile.h.

Referenced by CMy3dvisApp::OnFileIni().

00034                                                     { fileThres = m_dFileThres;
00035                                                                                                         packSize = m_dPackSize; };

void IniFile::OnChangeEditIniFilethres   [protected]
 

Definition at line 51 of file IniFile.cpp.

00052 {
00053         // TODO: If this is a RICHEDIT control, the control will not
00054         // send this notification unless you override the CDialog::OnInitDialog()
00055         // function and call CRichEditCtrl().SetEventMask()
00056         // with the ENM_CHANGE flag ORed into the mask.
00057         
00058         // TODO: Add your control notification handler code here
00059         UpdateData(TRUE);
00060 }

void IniFile::OnChangeEditIniPacketsize   [protected]
 

Definition at line 62 of file IniFile.cpp.

00063 {
00064         // TODO: If this is a RICHEDIT control, the control will not
00065         // send this notification unless you override the CDialog::OnInitDialog()
00066         // function and call CRichEditCtrl().SetEventMask()
00067         // with the ENM_CHANGE flag ORed into the mask.
00068         
00069         // TODO: Add your control notification handler code here
00070         UpdateData(TRUE);
00071 }

void IniFile::OnShowWindow BOOL    bShow,
UINT    nStatus
[protected]
 

Definition at line 73 of file IniFile.cpp.

00074 {
00075         CDialog::OnShowWindow(bShow, nStatus);
00076         
00077         // TODO: Add your message handler code here
00078         UpdateData(FALSE);
00079 }

void IniFile::SetupData int    fileThres,
int    packSize
[inline]
 

Definition at line 31 of file IniFile.h.

Referenced by CMy3dvisApp::OnFileIni().

00031                                                     { m_dFileThres = fileThres;
00032                                                                                                         m_dPackSize = packSize; };


Member Data Documentation

int IniFile::m_dFileThres [private]
 

Definition at line 19 of file IniFile.h.

Referenced by IniFile().

int IniFile::m_dPackSize [private]
 

Definition at line 20 of file IniFile.h.

Referenced by IniFile().


The documentation for this class was generated from the following files:
Generated on Thu Jan 30 21:35:44 2003 for 3DVis by doxygen1.3-rc2