[svn-r21014] Purpose:

HDFFV-5878 - GMQS: h5dump - incorrect output format for array type with multiple elements in an index

Description:
    Fixed h5dump to display the first line of each element into correct 
    position for multiple dimention array type.
    Before this fix, the first line of each element in array were displayed 
    after the last line of previous element without moving to the next 
    line (+indentation)

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE)
This commit is contained in:
Jonathan Kim
2011-06-21 13:24:35 -05:00
parent 82a2e4ebca
commit 83b77cb4eb
7 changed files with 134 additions and 47 deletions

View File

@@ -9,17 +9,20 @@ GROUP "/" {
20, 21, 22,
30, 31, 32,
40, 41, 42,
50, 51, 52 ], [ 100, 101, 102,
50, 51, 52 ],
[ 100, 101, 102,
110, 111, 112,
120, 121, 122,
130, 131, 132,
140, 141, 142,
150, 151, 152 ], [ 200, 201, 202,
150, 151, 152 ],
[ 200, 201, 202,
210, 211, 212,
220, 221, 222,
230, 231, 232,
240, 241, 242,
250, 251, 252 ], [ 300, 301, 302,
250, 251, 252 ],
[ 300, 301, 302,
310, 311, 312,
320, 321, 322,
330, 331, 332,
@@ -30,17 +33,20 @@ GROUP "/" {
1020, 1021, 1022,
1030, 1031, 1032,
1040, 1041, 1042,
1050, 1051, 1052 ], [ 1100, 1101, 1102,
1050, 1051, 1052 ],
[ 1100, 1101, 1102,
1110, 1111, 1112,
1120, 1121, 1122,
1130, 1131, 1132,
1140, 1141, 1142,
1150, 1151, 1152 ], [ 1200, 1201, 1202,
1150, 1151, 1152 ],
[ 1200, 1201, 1202,
1210, 1211, 1212,
1220, 1221, 1222,
1230, 1231, 1232,
1240, 1241, 1242,
1250, 1251, 1252 ], [ 1300, 1301, 1302,
1250, 1251, 1252 ],
[ 1300, 1301, 1302,
1310, 1311, 1312,
1320, 1321, 1322,
1330, 1331, 1332,
@@ -51,17 +57,20 @@ GROUP "/" {
2020, 2021, 2022,
2030, 2031, 2032,
2040, 2041, 2042,
2050, 2051, 2052 ], [ 2100, 2101, 2102,
2050, 2051, 2052 ],
[ 2100, 2101, 2102,
2110, 2111, 2112,
2120, 2121, 2122,
2130, 2131, 2132,
2140, 2141, 2142,
2150, 2151, 2152 ], [ 2200, 2201, 2202,
2150, 2151, 2152 ],
[ 2200, 2201, 2202,
2210, 2211, 2212,
2220, 2221, 2222,
2230, 2231, 2232,
2240, 2241, 2242,
2250, 2251, 2252 ], [ 2300, 2301, 2302,
2250, 2251, 2252 ],
[ 2300, 2301, 2302,
2310, 2311, 2312,
2320, 2321, 2322,
2330, 2331, 2332,
@@ -72,17 +81,20 @@ GROUP "/" {
3020, 3021, 3022,
3030, 3031, 3032,
3040, 3041, 3042,
3050, 3051, 3052 ], [ 3100, 3101, 3102,
3050, 3051, 3052 ],
[ 3100, 3101, 3102,
3110, 3111, 3112,
3120, 3121, 3122,
3130, 3131, 3132,
3140, 3141, 3142,
3150, 3151, 3152 ], [ 3200, 3201, 3202,
3150, 3151, 3152 ],
[ 3200, 3201, 3202,
3210, 3211, 3212,
3220, 3221, 3222,
3230, 3231, 3232,
3240, 3241, 3242,
3250, 3251, 3252 ], [ 3300, 3301, 3302,
3250, 3251, 3252 ],
[ 3300, 3301, 3302,
3310, 3311, 3312,
3320, 3321, 3322,
3330, 3331, 3332,