Develop and Download Open Source Software

Browse CVS Repository

Contents of /hos/tools/cvssync/AssociationVector.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Sat Jul 27 04:48:31 2002 UTC (21 years, 8 months ago) by ryuz
Branch: MAIN
CVS Tags: ver_0_04, HEAD
Changes since 1.1: +4 -4 lines
File MIME type: text/x-chdr
change copyright

1 // ---------------------------------------------------------------------------
2 // 連想文字列配列クラス
3 //
4 // Copyright (C) 2002 by Project HOS
5 // ---------------------------------------------------------------------------
6
7
8 #ifndef __AssociationVector_h__
9 #define __AssociationVector_h__
10
11
12 #include "StringVector.h"
13
14
15 // 文字列配列データ
16 struct AscVectData
17 {
18 LPTSTR lpszIndex; // インデックス文字列
19 CStringVector StrVect; // 文字列配列
20 AscVectData* pNext; // 次の要素
21 };
22
23
24 // 文字列配列クラス
25 class CAssociationVector
26 {
27 public:
28 CAssociationVector(); // コンストラクタ
29 ~CAssociationVector(); // デストラクタ
30
31 void Add(LPCTSTR lpszIndex, LPCTSTR lpszString); // 文字列の追加
32 CStringVector* Get(LPCTSTR lpszIndex); // 文字列配列の取得
33
34 protected:
35 AscVectData* m_pList; // 文字列配列データのリスト
36 };
37
38
39 #endif // __AssociationVector_h__
40
41
42 // ---------------------------------------------------------------------------
43 // Copyright (C) 2002 by Project HOS
44 // ---------------------------------------------------------------------------

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26