WXP C++ Library Version 6.74.9
|
This struct stores map segment header information. More...
#include "../include/MapFileHeader.h"
Public Member Functions | |
int | setNum (int val) |
int | getNum () |
int | setMinLat (float val) |
float | getMinLat () |
int | setMaxLat (float val) |
float | getMaxLat () |
int | setMinLon (float val) |
float | getMinLon () |
int | setMaxLon (float val) |
float | getMaxLon () |
int | setIndex (int val) |
int | getIndex () |
int | setLabel (const char *lab) |
bool | hasLabel () |
const char * | getLabel () |
int | init () |
int | print () |
Public Attributes | |
int | num |
float | minlat |
float | maxlat |
float | minlon |
float | maxlon |
int | index |
char | label [50] |
Friends | |
class | MapFile |
This struct stores map segment header information.
|
inline |
Get the database index
References index.
|
inline |
Get the maximum latitude of segment
References maxlat.
|
inline |
Get the maximum longitude of segment
References maxlon.
|
inline |
Get the minimum latitude of segment
References minlat.
|
inline |
Get the minimum longitude of segment
References minlon.
|
inline |
Get the number of data points
References num.
int MapFileHeader::init | ( | ) |
Initializes the object
References index, label, maxlat, maxlon, minlat, minlon, WXP::Const::MISS, and num.
Referenced by WXP::MapFile::readHeader().
int MapFileHeader::print | ( | ) |
|
inline |
Set the database index
References index.
|
inline |
Get the segment label
References WXP::StrLib::copy(), and label.
Referenced by WXP::MapFile::readHeader().
|
inline |
Set the maximum latitude of segment
References maxlat.
|
inline |
Set the maximum longitude of segment
References maxlon.
|
inline |
Set the minimum latitude of segment
References minlat.
|
inline |
Set the minimum longitude of segment
References minlon.
|
inline |
Set the number of data points
References num.
int WXP::MapFileHeader::index |
Index for database
Referenced by WXP::MapFile::checkType(), WXP::MapPlot::draw(), getIndex(), init(), print(), WXP::MapFile::readHeader(), setIndex(), and WXP::MapFile::writeHeader().
char WXP::MapFileHeader::label[50] |
Label for segment
Referenced by init(), print(), and setLabel().
float WXP::MapFileHeader::maxlat |
The maximum latitude in segment
Referenced by WXP::MapFile::checkType(), WXP::MapPlot::draw(), getMaxLat(), init(), print(), WXP::MapFile::readHeader(), setMaxLat(), and WXP::MapFile::writeHeader().
float WXP::MapFileHeader::maxlon |
The maximum longitude in segment
Referenced by WXP::MapFile::checkType(), WXP::MapPlot::draw(), getMaxLon(), init(), print(), WXP::MapFile::readHeader(), setMaxLon(), and WXP::MapFile::writeHeader().
float WXP::MapFileHeader::minlat |
The minimum latitude in segment
Referenced by WXP::MapFile::checkType(), WXP::MapPlot::draw(), getMinLat(), init(), print(), WXP::MapFile::readHeader(), setMinLat(), and WXP::MapFile::writeHeader().
float WXP::MapFileHeader::minlon |
The minimum longitude in segment
Referenced by WXP::MapFile::checkType(), WXP::MapPlot::draw(), getMinLon(), init(), print(), WXP::MapFile::readHeader(), setMinLon(), and WXP::MapFile::writeHeader().
int WXP::MapFileHeader::num |
The number of points in each segment
Referenced by WXP::MapFile::checkType(), WXP::MapPlot::draw(), getNum(), init(), print(), WXP::MapFile::readHeader(), setNum(), and WXP::MapFile::writeHeader().