CMProfile Class Reference

#include <MProfile.h>

List of all members.

Public Member Functions

 CMProfile (char *iniFileName=NULL, BOOL flushOnWrite=FALSE, BOOL macwriteDOS=FALSE)
 ~CMProfile ()
DWORD GetProfileString (LPCTSTR psec, LPCTSTR pkey, LPCTSTR pdef, LPTSTR buf, DWORD bufsize)
UINT GetProfileInt (LPCTSTR psec, LPCTSTR pkey, UINT nDefault)
BOOL WriteProfileString (LPCTSTR psec, LPCTSTR pkey, LPCTSTR buf)
BOOL WriteProfileInt (LPCTSTR psec, LPCTSTR pkey, UINT val)
BOOL ProfileFlush (void)
char * GetIniPath (const char *fname)

Protected Member Functions

void ProfileRead (void)
BOOL ProfileWrite (void)
void SetFileAttrib (char *fname)
void trim (CString &cs)
void qTrim (CString &cs)
void quote (CString &cs)

Protected Attributes

BOOL m_Dirty
BOOL m_flushOnWrite
BOOL m_macwriteDOS
CMapStringToPtr * m_profList
CString m_iniFileName


Detailed Description

Definition at line 21 of file MProfile.h.


Constructor & Destructor Documentation

CMProfile::CMProfile char *  iniFileName = NULL,
BOOL  flushOnWrite = FALSE,
BOOL  macwriteDOS = FALSE
 

CMProfile::~CMProfile  ) 
 


Member Function Documentation

char* CMProfile::GetIniPath const char *  fname  ) 
 

UINT CMProfile::GetProfileInt LPCTSTR  psec,
LPCTSTR  pkey,
UINT  nDefault
 

DWORD CMProfile::GetProfileString LPCTSTR  psec,
LPCTSTR  pkey,
LPCTSTR  pdef,
LPTSTR  buf,
DWORD  bufsize
 

BOOL CMProfile::ProfileFlush void   ) 
 

void CMProfile::ProfileRead void   )  [protected]
 

BOOL CMProfile::ProfileWrite void   )  [protected]
 

void CMProfile::qTrim CString &  cs  )  [protected]
 

void CMProfile::quote CString &  cs  )  [protected]
 

void CMProfile::SetFileAttrib char *  fname  )  [protected]
 

void CMProfile::trim CString &  cs  )  [protected]
 

BOOL CMProfile::WriteProfileInt LPCTSTR  psec,
LPCTSTR  pkey,
UINT  val
 

BOOL CMProfile::WriteProfileString LPCTSTR  psec,
LPCTSTR  pkey,
LPCTSTR  buf
 


Member Data Documentation

BOOL CMProfile::m_Dirty [protected]
 

Definition at line 48 of file MProfile.h.

BOOL CMProfile::m_flushOnWrite [protected]
 

Definition at line 49 of file MProfile.h.

CString CMProfile::m_iniFileName [protected]
 

Definition at line 52 of file MProfile.h.

BOOL CMProfile::m_macwriteDOS [protected]
 

Definition at line 50 of file MProfile.h.

CMapStringToPtr* CMProfile::m_profList [protected]
 

Definition at line 51 of file MProfile.h.


The documentation for this class was generated from the following file:
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:46:51 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001