GME
13
|
00001 // Property.h: interface for the CProperty class. 00002 // 00004 00005 #if !defined(AFX_PROPERTY_H__A99D2F88_1048_42DA_9C89_314D35AE86DF__INCLUDED_) 00006 #define AFX_PROPERTY_H__A99D2F88_1048_42DA_9C89_314D35AE86DF__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 class CProperty 00013 { 00014 bool m_bIsAllFCO; 00015 bool m_bIsAllMARS; 00016 bool m_bIsAllConnection; 00017 bool m_bIsAllFolder; 00018 00019 00020 void CreateGeneralList(const CMgaFCOPtrList& MgaFCOPtrList,const CMgaFolderPtrList& MgaFolderPtrList,CArray<CListItem,CListItem&> &ListItemArray); 00021 00022 void GetGeneralProperties(const CComPtr<IMgaObject>& ccpMgaObject, 00023 CString &strType, CString &strKindName, 00024 CString &strMetaID, CString &strObjectID, 00025 CString &strRelID, CString &strGUID, bool &bIsTypeDirty, 00026 bool &bIsKindNameDirty, bool bIsMultiple, 00027 bool bIsFirst); 00028 00029 void CreateFCOList(const CMgaFCOPtrList& MgaFCOPtrList,CArray<CListItem,CListItem&> &ListItemArray); 00030 00031 void CreateMarsList(const CMgaFCOPtrList& MgaFCOPtrList,CArray<CListItem,CListItem&> &ListItemArray); 00032 void CreateConnectionList(const CMgaFCOPtrList& MgaFCOPtrList,CArray<CListItem,CListItem&> &ListItemArray); 00033 void CreateFolderList(const CMgaFolderPtrList& MgaFolderPtrList,CArray<CListItem,CListItem&> &ListItemArray); 00034 00035 00036 00037 public: 00038 CProperty(); 00039 virtual ~CProperty(); 00040 void CreateList(const CMgaFCOPtrList& MgaFCOPtrList,const CMgaFolderPtrList& MgaFolderPtrList,CArray<CListItem,CListItem&> &ListItemArray); 00041 }; 00042 00043 #endif // !defined(AFX_PROPERTY_H__A99D2F88_1048_42DA_9C89_314D35AE86DF__INCLUDED_)