|
|
1.1 root 1: echo "Building all collection shapes"
2:
3: copy afxcoll.hTT newcoll.h
4:
5: REM ////////////////////////////////////////////////////////////////////////
6: REM -- Arrays
7:
8: templdef "CArray<BYTE,BYTE,1,0> CByteArray" array.ctt temp.h array_b.cpp
9: copy newcoll.h+temp.h newcoll.h
10:
11: templdef "CArray<WORD,WORD,1,0> CWordArray" array.ctt temp.h array_w.cpp
12: copy newcoll.h+temp.h newcoll.h
13:
14: templdef "CArray<DWORD,DWORD,1,0> CDWordArray" array.ctt temp.h array_d.cpp
15: copy newcoll.h+temp.h newcoll.h
16:
17: templdef "CArray<void*,void*,0,0> CPtrArray" array.ctt temp.h array_p.cpp
18: copy newcoll.h+temp.h newcoll.h
19:
20: templdef "CArray<CObject*,CObject*,1,0> CObArray" array.ctt temp.h array_o.cpp
21: copy newcoll.h+temp.h newcoll.h
22:
23: REM -- String Arrays require special support
24: templdef "CArray<CString,const char*,1,1> CStringArray" array.ctt temp.h array_s.cpp
25: copy newcoll.h+temp.h newcoll.h
26:
27: REM ////////////////////////////////////////////////////////////////////////
28: REM -- Lists
29: templdef "CList<void*,void*,0,0> CPtrList" list.ctt temp.h list_p.cpp
30: copy newcoll.h+temp.h newcoll.h
31:
32: templdef "CList<CObject*,CObject*,1,0> CObList" list.ctt temp.h list_o.cpp
33: copy newcoll.h+temp.h newcoll.h
34:
35: REM -- String Lists require special support
36: templdef "CList<CString,const char*,1,1> CStringList" list.ctt temp.h list_s.cpp
37: copy newcoll.h+temp.h newcoll.h
38:
39: REM ////////////////////////////////////////////////////////////////////////
40: REM -- Maps
41:
42: templdef "CMap<WORD,WORD,void*,void*,0,0> CMapWordToPtr" map.ctt temp.h map_wp.cpp
43: copy newcoll.h+temp.h newcoll.h
44:
45: templdef "CMap<void*,void*,WORD,WORD,0,0> CMapPtrToWord" map.ctt temp.h map_pw.cpp
46: copy newcoll.h+temp.h newcoll.h
47:
48: templdef "CMap<void*,void*,void*,void*,0,0> CMapPtrToPtr" map.ctt temp.h map_pp.cpp
49: copy newcoll.h+temp.h newcoll.h
50:
51: templdef "CMap<WORD,WORD,CObject*,CObject*,1,0> CMapWordToOb" map.ctt temp.h map_wo.cpp
52: copy newcoll.h+temp.h newcoll.h
53:
54: REM ////////////////////////////////////////////////////////////////////////
55: REM -- Maps from Strings
56: templdef "CMapStringTo<void*,void*,0,0> CMapStringToPtr" map_s.ctt temp.h map_sp.cpp
57: copy newcoll.h+temp.h newcoll.h
58:
59: templdef "CMapStringTo<CObject*,CObject*,1,0> CMapStringToOb" map_s.ctt temp.h map_so.cpp
60: copy newcoll.h+temp.h newcoll.h
61:
62: templdef "CMapStringTo<CString,const char*,1,1> CMapStringToString" map_s.ctt temp.h map_ss.cpp
63: copy newcoll.h+temp.h newcoll.h
64:
65: REM ////////////////////////////////////////////////////////////////////////
66: REM - Wrap up/Clean up
67:
68: :skip_map
69:
70: erase temp.h
71: echo #undef THIS_FILE >> newcoll.h
72: echo #define THIS_FILE __FILE__ >> newcoll.h
73: echo #endif //!__AFXCOLL_H__ >> newcoll.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.