"memoryReport"

Creates a memory report file that shows what is in the memory.

Synopsis

void memoryReport(string strFile);

Parameters

Parameter Description
strFile The name of the memory report file that should be created.

Description

Creates a memory report file that shows what is in the memory..

Example

Creates a memory report"MemReport";.

main()
{
  GisViewer_ewo1.memoryReport("D:/MemReport");
}

The content of the file:

Widget 128

Drawing buffer 1538964 bytes

Map 296 bytes

Layer COUNTRY size 352

Shape base info : 9800 ( 175 * 56)

Shape database info : 23983

- PolyPolygon 00165 0005280 bytes

- PolyPolyline 00010 0000320 bytes

- Polygon 00269 0006456 bytes

- Polyline 00010 0000480 bytes

- Coordinate 31510 1008320 bytes

- Point 00000 0000000 bytes

- TOTAL 1054639 bytes ( 1.0 MB )

Layer lakes size 352

Shape base info : 1848 ( 33 * 56)

Shape database info : 2354

- PolyPolygon 00033 0001056 bytes

- PolyPolyline 00000 0000000 bytes

- Polygon 00037 0000888 bytes

- Polyline 00000 0000000 bytes

- Coordinate 01249 0039968 bytes

- Point 00000 0000000 bytes

- TOTAL 46114 bytes ( 0.0 MB )

Layer rivers size 352

Shape base info : 5488 ( 98 * 56)

Shape database info : 3790

- PolyPolygon 00000 0000000 bytes

- PolyPolyline 00098 0003136 bytes

- Polygon 00000 0000000 bytes

- Polyline 00177 0008496 bytes

- Coordinate 03965 0126880 bytes

- Point 00000 0000000 bytes

- TOTAL 147790 bytes ( 0.1 MB )

Layer cities size 352

Shape base info : 33936 ( 606 * 56)

Shape database info : 49278

- PolyPolygon 00000 0000000 bytes

- PolyPolyline 00000 0000000 bytes

- Polygon 00000 0000000 bytes

- Polyline 00000 0000000 bytes

- Coordinate 00000 0000000 bytes

- Point 00606 0029088 bytes

- TOTAL 112302 bytes ( 0.1 MB )

etc...

Assignment

GIS Viewer