kstars
#include <nomadbinfile2mysql.h>
Public Member Functions | |
NOMADStarDataWriter (FILE *f, int HTMLevel, MYSQL *link, char *_db_tbl) | |
~NOMADStarDataWriter () | |
bool | write () |
Static Public Member Functions | |
static void | bswap_stardata (DeepStarData *stardata) |
static void | calculatePMCoords (double startRA, double startDec, double dRA, double dDec, double *endRA, double *endDec, float years) |
Detailed Description
Writes NOMAD star data.
- Note
- This is ugly code, not part of the main KStars program
Definition at line 52 of file nomadbinfile2mysql.h.
Constructor & Destructor Documentation
NOMADStarDataWriter::NOMADStarDataWriter | ( | FILE * | f, |
int | HTMLevel, | ||
MYSQL * | link, | ||
char * | _db_tbl | ||
) |
Constructor.
Sets up the HTMesh, initializes various things.
Definition at line 38 of file nomadbinfile2mysql.cpp.
NOMADStarDataWriter::~NOMADStarDataWriter | ( | ) |
Member Function Documentation
|
static |
Byteswaps the DeepStarData structure.
Definition at line 51 of file nomadbinfile2mysql.cpp.
|
static |
Computes the (unprecessed) coordinates of a star after accounting for proper motion.
Calculate the final destination RA and Dec of a star with the given initial RA, Dec and proper motion rates after 'years' number of years.
Definition at line 80 of file nomadbinfile2mysql.cpp.
bool NOMADStarDataWriter::write | ( | ) |
Writes the star data into the DB by calling multiple functions.
- Returns
- Whether the write was successful
Definition at line 363 of file nomadbinfile2mysql.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.