Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

HipparcosStar Class Reference

Collaboration diagram for HipparcosStar:

Collaboration graph
List of all members.

Public Member Functions

 HipparcosStar ()
void write (ostream &)

Public Attributes

float appMag
float ascension
uint32 CCDMIdentifier
float declination
uint32 HDCatalogNumber
uint32 HIPCatalogNumber
uint8 nComponents
float parallax
uint8 parallaxError
uint8 starsWithCCDM
StellarClass stellarClass

Constructor & Destructor Documentation

HipparcosStar::HipparcosStar  ) 
 

Definition at line 55 of file buildstardb.cpp.

References NullCatalogNumber, and NullCCDMIdentifier.

00055                              :
00056     HIPCatalogNumber(NullCatalogNumber),
00057     HDCatalogNumber(NullCatalogNumber),
00058     ascension(0.0f),
00059     declination(0.0f),
00060     parallax(0.0f),
00061     appMag(0.0f),
00062     CCDMIdentifier(NullCCDMIdentifier),
00063     starsWithCCDM(0),
00064     nComponents(1),
00065     parallaxError(0)
00066 {
00067 }


Member Function Documentation

void HipparcosStar::write ostream &   ) 
 

Definition at line 74 of file buildstardb.cpp.

References appMag, ascension, binwrite(), declination, HDCatalogNumber, HIPCatalogNumber, NullCatalogNumber, parallax, parallaxError, and stellarClass.

Referenced by main().

00075 {
00076 #if 0
00077     if (HDCatalogNumber != NullCatalogNumber)
00078         binwrite(out, HDCatalogNumber);
00079     else
00080         binwrite(out, HIPCatalogNumber | 0x10000000);
00081 #endif
00082     binwrite(out, HIPCatalogNumber);
00083     binwrite(out, HDCatalogNumber);
00084     binwrite(out, ascension);
00085     binwrite(out, declination);
00086     binwrite(out, parallax);
00087     binwrite(out, (short) (appMag * 256));
00088     binwrite(out, stellarClass);
00089     binwrite(out, parallaxError);
00090 }


Member Data Documentation

float HipparcosStar::appMag
 

Definition at line 46 of file buildstardb.cpp.

Referenced by CreateCompanionList(), ReadStarRecord(), TheSun(), and write().

float HipparcosStar::ascension
 

Definition at line 43 of file buildstardb.cpp.

Referenced by CreateCompanionList(), ReadStarRecord(), TheSun(), and write().

uint32 HipparcosStar::CCDMIdentifier
 

Definition at line 49 of file buildstardb.cpp.

Referenced by CreateCompanionList(), and ReadStarRecord().

float HipparcosStar::declination
 

Definition at line 44 of file buildstardb.cpp.

Referenced by CreateCompanionList(), ReadStarRecord(), TheSun(), and write().

uint32 HipparcosStar::HDCatalogNumber
 

Definition at line 42 of file buildstardb.cpp.

Referenced by ConstrainComponentParallaxes(), CreateCompanionList(), ReadStarRecord(), ShowStarsWithComponents(), TheSun(), and write().

uint32 HipparcosStar::HIPCatalogNumber
 

Definition at line 41 of file buildstardb.cpp.

Referenced by ConstrainComponentParallaxes(), CreateCompanionList(), findStar(), ReadStarRecord(), ShowStarsWithComponents(), TheSun(), and write().

uint8 HipparcosStar::nComponents
 

Definition at line 51 of file buildstardb.cpp.

Referenced by ReadStarRecord(), and ShowStarsWithComponents().

float HipparcosStar::parallax
 

Definition at line 45 of file buildstardb.cpp.

Referenced by ConstrainComponentParallaxes(), CreateCompanionList(), ReadStarRecord(), TheSun(), and write().

uint8 HipparcosStar::parallaxError
 

Definition at line 52 of file buildstardb.cpp.

Referenced by CreateCompanionList(), ReadStarRecord(), and write().

uint8 HipparcosStar::starsWithCCDM
 

Definition at line 50 of file buildstardb.cpp.

Referenced by ReadStarRecord().

StellarClass HipparcosStar::stellarClass
 

Definition at line 47 of file buildstardb.cpp.

Referenced by CorrectErrors(), CreateCompanionList(), ReadStarRecord(), TheSun(), and write().


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 22:33:22 2006 for Celestia by  doxygen 1.4.1