![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
This class reads the table of contents of a CADRG file. More...
#include <ilviews/maps/format/cadrg/cadrgtoc.h>
Public Member Functions | |
| IlvCADRGTocReader (const char *fileName) | |
| Constructor. | |
| const IlvCADRGCoverage *const * | getCoverages (IlUShort &count) const |
| Returns the coverages of the CADRG database. | |
| IlvMapsError | getInitStatus () const |
| Returns the init status of the reader. | |
| const IlvCADRGFrame *const * | getLegendFrames (IlUShort &count) const |
Returns the list of the frames that are located in the LEGEND directory. | |
| const IlvCADRGFrame *const * | getOverviewFrames (IlUShort &count) const |
Returns the list of overview frames that are located in the CADRG main directory. | |
Static Public Member Functions | |
| static IlvMapsError | FormatError () |
| Returns the error code used if there is a format error. | |
This class reads the table of contents of a CADRG file.
Library: ilvmaps
The table of contents is usually located in a directory called CADRG/RPF and is named A.TOC. The table of contents of the CADRG product contains information about the CADRG coverages stored in the data base.
| IlvCADRGTocReader::IlvCADRGTocReader | ( | const char * | fileName | ) |
Constructor.
Initializes an instance of IlvCADRGTocReader and reads the table of contents.
| fileName | The name of the file containing the CADRG table of contents. |
| static IlvMapsError IlvCADRGTocReader::FormatError | ( | ) | [static] |
Returns the error code used if there is a format error.
getInitStatus() if there is a format error. | const IlvCADRGCoverage* const* IlvCADRGTocReader::getCoverages | ( | IlUShort & | count | ) | const |
Returns the coverages of the CADRG database.
| count | This parameter is set to the number of coverages declared in the table of contents file opened by the reader. |
IlvCADRGCoverage that should not be deleted nor modified. | IlvMapsError IlvCADRGTocReader::getInitStatus | ( | ) | const |
Returns the init status of the reader.
IlvMaps::NoError(). Otherwise, it can return one of the errors of the IlvMapInput class, or IlvCADRGTocReader::FormatError if the opened file is not a CADRG table of contents. | const IlvCADRGFrame* const* IlvCADRGTocReader::getLegendFrames | ( | IlUShort & | count | ) | const |
Returns the list of the frames that are located in the LEGEND directory.
| count | This parameter is set to the number of legend frames declared in the table of contents file opened by the reader. |
IlvCADRGFrame that should not be deleted nor modified. | const IlvCADRGFrame* const* IlvCADRGTocReader::getOverviewFrames | ( | IlUShort & | count | ) | const |
Returns the list of overview frames that are located in the CADRG main directory.
| count | This parameter is set to the number of overview frames declared in the table of contents file opened by the reader. |
IlvCADRGFrame that should not be deleted nor modified. © Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.