GME  13
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Friends
CItemData Class Reference

#include <ItemData.h>

List of all members.

Public Member Functions

void toString ()
bool toString (CString &) const
bool Validate ()
 CItemData ()
virtual ~CItemData ()
 CItemData (CItemData &srcItemData)
 CItemData (int i)
 CItemData (double d)
 CItemData (bool b)
 CItemData (COLORREF c)
 CItemData (UINT cmps)
 CItemData (CStringArray &strArr, BYTE cDispLineNum)
 CItemData (CString &str)
 CItemData (CStringArray &strArr, CStringArray &strArrNames, UINT nSelection)
 CItemData (CStringArray &strArr, UINT nSelection)
void SetIntValue (int i)
void SetDoubleValue (double d)
void SetBoolValue (bool b)
void SetColorValue (COLORREF c)
void SetCompassValue (UINT cmps)
void SetCompassExclValue (UINT cmps)
void SetStringValue (CStringArray &strArr, BYTE cDispLineNum)
void SetStringValue (CString str)
void SetListValue (CStringArray &strArr, CStringArray &strArrNames, UINT nSelection)
void SetListValue (CStringArray &strArr, UINT nSelection)
void operator= (const CItemData &srcItemData)

Static Public Member Functions

static void getRealFmtString ()

Public Attributes

itemdata_enum dataType
CStringArray stringVal
union {
   int   intVal
   double   doubleVal
   bool   boolVal
   COLORREF   colorVal
   UINT   compassVal
   int   listVal
   BYTE   cLineNum
}; 
CStringArray stringListNames

Static Public Attributes

static const TCHAR * m_defFMTSTR = _T("%.12g")
static CString m_fmtStr = _T("%.12g")

Friends

class CListItem
class CInPlaceManager
class CInspectorList

Detailed Description

Definition at line 31 of file ItemData.h.


Constructor & Destructor Documentation

Definition at line 123 of file ItemData.cpp.

CItemData::~CItemData ( ) [virtual]

Definition at line 128 of file ItemData.cpp.

CItemData::CItemData ( CItemData srcItemData)

Definition at line 133 of file ItemData.cpp.

CItemData::CItemData ( int  i) [inline]

Definition at line 54 of file ItemData.h.

CItemData::CItemData ( double  d) [inline]

Definition at line 55 of file ItemData.h.

CItemData::CItemData ( bool  b) [inline]

Definition at line 56 of file ItemData.h.

CItemData::CItemData ( COLORREF  c) [inline]

Definition at line 57 of file ItemData.h.

CItemData::CItemData ( UINT  cmps) [inline]

Definition at line 58 of file ItemData.h.

CItemData::CItemData ( CStringArray &  strArr,
BYTE  cDispLineNum 
) [inline]

Definition at line 59 of file ItemData.h.

CItemData::CItemData ( CString &  str) [inline]

Definition at line 60 of file ItemData.h.

CItemData::CItemData ( CStringArray &  strArr,
CStringArray &  strArrNames,
UINT  nSelection 
) [inline]

Definition at line 61 of file ItemData.h.

CItemData::CItemData ( CStringArray &  strArr,
UINT  nSelection 
) [inline]

Definition at line 62 of file ItemData.h.


Member Function Documentation

void CItemData::getRealFmtString ( ) [static]

Definition at line 45 of file ItemData.cpp.

void CItemData::operator= ( const CItemData srcItemData)

Definition at line 487 of file ItemData.cpp.

void CItemData::SetBoolValue ( bool  b)

Definition at line 303 of file ItemData.cpp.

void CItemData::SetColorValue ( COLORREF  c)

Definition at line 313 of file ItemData.cpp.

void CItemData::SetCompassExclValue ( UINT  cmps)

Definition at line 333 of file ItemData.cpp.

void CItemData::SetCompassValue ( UINT  cmps)

Definition at line 323 of file ItemData.cpp.

void CItemData::SetDoubleValue ( double  d)

Definition at line 293 of file ItemData.cpp.

Definition at line 284 of file ItemData.cpp.

void CItemData::SetListValue ( CStringArray &  strArr,
CStringArray &  strArrNames,
UINT  nSelection 
)

Definition at line 342 of file ItemData.cpp.

void CItemData::SetListValue ( CStringArray &  strArr,
UINT  nSelection 
)

Definition at line 353 of file ItemData.cpp.

void CItemData::SetStringValue ( CStringArray &  strArr,
BYTE  cDispLineNum 
)

Definition at line 365 of file ItemData.cpp.

void CItemData::SetStringValue ( CString  str)

Definition at line 373 of file ItemData.cpp.

Definition at line 507 of file ItemData.cpp.

bool CItemData::toString ( CString &  strString) const

Definition at line 391 of file ItemData.cpp.

Definition at line 138 of file ItemData.cpp.


Friends And Related Function Documentation

friend class CInPlaceManager [friend]

Definition at line 34 of file ItemData.h.

friend class CInspectorList [friend]

Definition at line 35 of file ItemData.h.

friend class CListItem [friend]

Definition at line 33 of file ItemData.h.


Member Data Documentation

union { ... }

Definition at line 88 of file ItemData.h.

Definition at line 92 of file ItemData.h.

Definition at line 89 of file ItemData.h.

Definition at line 90 of file ItemData.h.

Definition at line 79 of file ItemData.h.

Definition at line 87 of file ItemData.h.

Definition at line 86 of file ItemData.h.

Definition at line 91 of file ItemData.h.

const TCHAR * CItemData::m_defFMTSTR = _T("%.12g") [static]

Definition at line 38 of file ItemData.h.

CString CItemData::m_fmtStr = _T("%.12g") [static]

Definition at line 39 of file ItemData.h.

Definition at line 95 of file ItemData.h.

CStringArray CItemData::stringVal

Definition at line 81 of file ItemData.h.


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