cmdresultsmap.h

来自「Vc.Net入门与提高源码」· C头文件 代码 · 共 28 行

H
28
字号
// File: CmdResultsMap.h
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Classes Reference and related electronic
// documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft C++ Libraries products.

#pragma once
#include "stdafx.h"
#include "CmdResult.h"
#include "Trace.h"

// CmdResultsMap is a light wrapper around CAtlMap.  We use this class to store CmdResult
// objects by key.  The key used is the results attribute value specified in the {{Execute}}
// tag.
class CmdResultsMap : public CAtlMap<CStringA, CmdResult, CStringElementTraits<CStringA> >
{
public:
	CmdResultsMap();
	virtual ~CmdResultsMap();
	
	CmdResultsMap& operator=(const CmdResultsMap& c);	

	void Merge(CmdResultsMap& mapToMerge);
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?