WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
WXP::KmlData Struct Reference

This struct stores KML data. More...

#include "../include/KmlData.h"

Public Types

enum  Type { UNK , LINE , PLACE }
 

Public Member Functions

int init ()
 
int print ()
 
int printData ()
 
int getType ()
 
int setType (int rtype)
 
const char * getName ()
 
int setName (const char *rname)
 
int clearPoints ()
 
int addPoint (EarthPoint &ept)
 
int getNum ()
 
EarthPoint getPoint (int ind)
 
EarthRange getRange ()
 

Public Attributes

int type
 
char name [100]
 
EarthPoints epts
 

Friends

class KmlFile
 

Detailed Description

This struct stores KML data.

Author
Dan Vietor

Member Function Documentation

◆ getName()

const char * WXP::KmlData::getName ( )
inline

Get the name associated with the object

References name.

Referenced by WXP::MapFile::readHeader().

◆ getType()

int WXP::KmlData::getType ( )
inline

Get the type of object

References type.

◆ init()

int KmlData::init ( )

Initializes the object

References WXP::EarthPoints::clear(), name, and type.

Referenced by WXP::KmlFile::read().

◆ print()

int KmlData::print ( )

Prints object parameters

References name, and type.

Member Data Documentation

◆ name

char WXP::KmlData::name[100]

The minimum latitude in segment

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

◆ type

int WXP::KmlData::type

The number of points in each segment

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


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