WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
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.

◆ init()

int MapFileHeader::init ( )

Initializes the object

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

Referenced by WXP::MapFile::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().

◆ 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

int WXP::MapFileHeader::index

◆ label

char WXP::MapFileHeader::label[50]

Label for segment

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

◆ maxlat

float WXP::MapFileHeader::maxlat

◆ maxlon

float WXP::MapFileHeader::maxlon

◆ minlat

float WXP::MapFileHeader::minlat

◆ minlon

float WXP::MapFileHeader::minlon

◆ num

int WXP::MapFileHeader::num

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