OpenCPN Partial API docs
TCDataFactory Class Referenceabstract
Inheritance diagram for TCDataFactory:
TCDS_Ascii_Harmonic TCDS_Binary_Harmonic

Public Member Functions

virtual TC_Error_Code LoadData (const wxString &data_file_path)=0
 
virtual int GetMaxIndex (void)=0
 
virtual IDX_entryGetIndexEntry (int n_index)=0
 

Static Public Member Functions

static int findunit (const char *unit)
 

Public Attributes

wxString source_ident
 

Static Public Attributes

static const unit known_units [NUMUNITS]
 

Detailed Description

Definition at line 55 of file TCDataFactory.h.

Member Data Documentation

◆ known_units

const unit TCDataFactory::known_units
static
Initial value:
= {
{"feet", "ft", LENGTH, 0.3048},
{"meters", "m", LENGTH, 1.0},
{"knots", "kt", VELOCITY, 1.0},
{"knots^2", "kt^2", BOGUS, 1.0},
}

Definition at line 66 of file TCDataFactory.h.


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