WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
WXP::MapFileHeader Struct Reference

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

Detailed Description

This struct stores map segment header information.

Author
Dan Vietor

Member Function Documentation

◆ getIndex()

int WXP::MapFileHeader::getIndex ( )
inline

Get the database index

References index.

◆ getMaxLat()

float WXP::MapFileHeader::getMaxLat ( )
inline

Get the maximum latitude of segment

References maxlat.

◆ getMaxLon()

float WXP::MapFileHeader::getMaxLon ( )
inline

Get the maximum longitude of segment

References maxlon.

◆ getMinLat()

float WXP::MapFileHeader::getMinLat ( )
inline

Get the minimum latitude of segment

References minlat.

◆ getMinLon()

float WXP::MapFileHeader::getMinLon ( )
inline

Get the minimum longitude of segment

References minlon.

◆ getNum()

int WXP::MapFileHeader::getNum ( )
inline

Get the number of data points

References num.

Referenced by WXP::MapPlot::draw(), and WXP::MapFile::readHeader().

◆ init()

int MapFileHeader::init ( )

Initializes the object

References index, label, maxlat, maxlon, minlat, minlon, WXP::Const::MISS, and num.

Referenced by WXP::MapFile::readHeader(), and WXP::MapWxpFile::readHeader().

◆ print()

int MapFileHeader::print ( )

Prints object parameters

References index, label, maxlat, maxlon, minlat, minlon, and num.

◆ setIndex()

int WXP::MapFileHeader::setIndex ( int val)
inline

Set the database index

References index.

◆ setLabel()

int WXP::MapFileHeader::setLabel ( const char * lab)
inline

Get the segment label

References WXP::StrLib::copy(), and label.

Referenced by WXP::MapFile::readHeader(), and WXP::MapWxpFile::readHeader().

◆ setMaxLat()

int WXP::MapFileHeader::setMaxLat ( float val)
inline

Set the maximum latitude of segment

References maxlat.

◆ setMaxLon()

int WXP::MapFileHeader::setMaxLon ( float val)
inline

Set the maximum longitude of segment

References maxlon.

◆ setMinLat()

int WXP::MapFileHeader::setMinLat ( float val)
inline

Set the minimum latitude of segment

References minlat.

◆ setMinLon()

int WXP::MapFileHeader::setMinLon ( float val)
inline

Set the minimum longitude of segment

References minlon.

◆ setNum()

int WXP::MapFileHeader::setNum ( int val)
inline

Set the number of data points

References num.

Member Data Documentation

◆ index

◆ label

char WXP::MapFileHeader::label[50]

Label for segment

Referenced by init(), print(), and setLabel().

◆ maxlat

◆ maxlon

◆ minlat

◆ minlon

◆ num


The documentation for this struct was generated from the following files: